Hi,

I want to make PLplot working in wxWidgets based program in VS2010. And I
have built PLplot 5.9.9 successfully as follows:

 

1.       Open MS Visual Studio 2010 X86 tools command prompt

2.      d:

3.      mkdir build-plplot

4.      cd build-plplot
5.      set path=d:\build-plplot\dll;%path%
6.      set WXWIN=C:\ wxWidgets-2.9.3
7.      set WXWINDLL=%WXWIN%\lib\vc_dll 
8.      cmake d:\plplot -G "NMake Makefiles" -DwxWidgets_LIB_DIR=%WXWINDLL%
-DwxWidgets_CONFIGURATION=mswu -DwxWidgets_USE_UNICODE=ON
9.      nmake
10.  nmake install
 
Then I began to test the example named wxPLplotDemo in my visual studio
project, however, there is a debug error when I execute the project.
A wxWidgets debug alert window appeared with the following information.
..\..\src\msw\window.cpp(3734):assert “wclass” failed in
wxWindows::MSWCreate():failed to register windows class ?
Do you want to stop the program?
….
I have been puzzled for several days, so would you please help me with this
trouble? 
Many thanks!
 
YanChang.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to