Dear experts,

I've a problem with configuring, building and running a debug build of PLplot 
5.9.0 with a debug build of wxWidgets 2.8.0 under MINGW (using GCC 3.4.5).

My configuration and building steps are as follows (from the root dir of the 
PLplot distribution):

PATH=/c/Program\ Files/CMake/bin:$PATH
export PATH

$ mkdir gxxBuild-mingw-Debug
$ cd gxxBuild-mingw-Debug
cmake .. -G "MSYS Makefiles" -DBUILD_TEST=ON \
-DCMAKE_VERBOSE_MAKEFILE=ON -DDEFAULT_NO_BINDINGS=ON -DENABLE_cxx=ON \
-DENABLE_wxwidgets=ON -DwxWidgets_USE_DEBUG=ON -DCMAKE_BUILD_TYPE=Debug
make

"wxWidgets_USE_DEBUG" is described in the CMake manual. Everything seems to 
work fine. I can use MS Dependency Walker to check whether PLplot linked 
against the correct wxWidgets dlls, and it looks good, i.e. wx-config knows of 
both my release and my debug build of wxWidgets.

Then I wanted to test it:
I copy the *.fnt files to the respective example directory and let PATH 
additionally point to gxxBuild-mingw-Debug/dll (because I did not yet "make 
install" PLplot) and to the wxWidgets dlls. Then regardless of the example 
(e.g. c++/x10 or c++/wxPLplotDemo) very soon a crash occurs (Access Violation). 
I can simulate a run with MS Dependency Walker - there I see the crash happens 
in NTDLL soon after the dll the example depends on have been loaded. This crash 
also happens without -DENABLE_wxwidgets=ON, but with -DwxWidgets_USE_DEBUG=ON.

This does not happen iff I configure without -DwxWidgets_USE_DEBUG=ON.

Is there a cure to this problem?

Thanks in advance, cheers,
Philipp.

_______________________________________________________________________
Sensationsangebot verlängert: WEB.DE FreeDSL - Telefonanschluss + DSL
für nur 16,37 Euro/mtl.!* http://dsl.web.de/?ac=OM.AD.AD008K15039B7069a


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to