Hi
I'm sorry, but I am still unable to build the PLplot wxPLplotDemo example.
I have built wxWidgets libraries for shared, unicode, release and I configure
CMake with:
C:\plplot-5.9.5\buildnmake>cmake -G "NMake Makefiles" -DBUILD_SHARED_LIBS=ON
-DCMAKE_BUILD_TYPE=Release
-DDEFAULT_NO_BINDINGS:BOOL=ON -DENABLE_cxx:BOOL=ON -DENABLE_wxwidgets:BOOL=ON
-DDEFAULT_NO_DEVICES:BOOL=ON
-DPLD_wxwidgets:BOOL=ON -DENABLE_DYNDRIVERS:BOOL=OFF -DBUILD_TEST=ON
-DCMAKE_INSTALL_PREFIX=install ..
wxPLplotDemo.cpp builds with warnings:
===================================================
C:\plplot-5.9.5\bindings\wxwidgets\wxPLplotwindow.h(36) : warning C4275: non
dll-interface class 'wxWindow' used as base
for dll-interface class 'wxPLplotwindow'
C:/wxWidgets-2.8.10/include\wx/msw/window.h(33) : see declaration of
'wxWindow'
C:\plplot-5.9.5\bindings\wxwidgets\wxPLplotwindow.h(35) : see
declaration of 'wxPLplotwindow'
C:\plplot-5.9.5\bindings\wxwidgets\wxPLplotwindow.h(66) : warning C4251:
'wxPLplotwindow::sm_eventTableEntries' : struct
'wxEventTableEntry' needs to have dll-interface to be used by clients of class
'wxPLplotwindow'
C:/wxWidgets-2.8.10/include\wx/event.h(2260) : see declaration of
'wxEventTableEntry'
C:\plplot-5.9.5\bindings\wxwidgets\wxPLplotwindow.h(66) : warning C4251:
'wxPLplotwindow::sm_eventHashTable' : class 'wx
EventHashTable' needs to have dll-interface to be used by clients of class
'wxPLplotwindow'
C:/wxWidgets-2.8.10/include\wx/event.h(2322) : see declaration of
'wxEventHashTable'
===================================================
but when I run wxPLplotDemo.exe I just get a window saying:
"wxPLplotDemo.exe has encountered a problem and needs to close. We are sorry
for the inconvenience."
What further confuses me is that:
http://www.miscdebris.net/plplot_wiki/index.php?title=WxWidgets
states:
"If you use plplot within your wxWidgets application you have already a
wxWidgets library ready for use - see
cmake-path\share\modules\FindwxWidgets.cmake for the options for your special
wxWidgets library."
I can't find FindwxWidgets.cmake
Under what circumstances does CMake build wxWidgets?
Finally, I would be grateful for clarification over support for static
libraries - please see my previous email.
Best regards
David
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify your report design, integration and deployment - and focus on
what you do best, core application coding. Discover what's new with
Crystal Reports now. http://p.sf.net/sfu/bobj-july
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general