Hi list,

(Hi Werner Smekal, I am CCing you as the maintainer of the PLplot
wxWidgets driver.)

I am using Windows XP, Visual Studio 2008 Express Edition and cmake-2.6.2.

I have built PLplot revision 8864 with the
following batch file in the PLPlot root folder:

========= begin ========
echo on
setlocal

call "%ProgramFiles%\Microsoft Visual Studio 9.0\Common7\Tools\vsvars32.bat"

rem Debug or Release:
set BUILD_TYPE=Debug

set BUILD_DIR=build-vc9-wx2.8.9-static-%BUILD_TYPE%

rmdir /S /Q %BUILD_DIR%
mkdir %BUILD_DIR%
cd %BUILD_DIR%

set WXWIN=L:\wxWidgets-2.8.9-vc9

cmake -G "NMake Makefiles" ^
      -DCMAKE_BUILD_TYPE=%BUILD_TYPE% ^
      -DCMAKE_INSTALL_PREFIX=install ^
      -DBUILD_SHARED_LIBS=OFF ^
      -DwxWidgets_ROOT_DIR=%WXWIN% ^
      -DwxWidgets_LIB_DIR=%WXWIN%\lib\vc_lib ^
      -DwxWidgets_CONFIGURATION=mswd ^
      -DPLD_wxwidgets=ON ^
      -DCMAKE_VERBOSE_MAKEFILE=ON ^
      -DBUILD_TEST=ON ^
      ..

nmake
nmake install
========= end ========


When I now start %BUILD_DIR%\examples\c++\wxPLplotDemo.exe, it does not
open its wxFrame. Debugging shows that MyApp::OnInit() is never called.
Process Explorer shows the application process with the event loop
thread, and I have to kill it there.

My WXWIN currently only contains the static libs, since they're what I
want to use.

Who has successfully built wxPLplotDemo.exe recently? Which cmake
options and which wxWidgets version did you use?


Best regards,
Robert Pollak


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Plplot-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to