Hi Robert,
> 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% ^
^^ not needed since on one hand does cmake
recognize that you used the wxWidgets installer (registry) and you
also set the WXWIN environment variable.
>
> -DwxWidgets_LIB_DIR=%WXWIN%\lib\vc_lib ^
> -DwxWidgets_CONFIGURATION=mswd ^
> -DPLD_wxwidgets=ON ^
> -DCMAKE_VERBOSE_MAKEFILE=ON ^
^^ normally it's better to not use this function and
if you need a verbose output use "nmake VERBOSE=1" instead. So the
output of nmake is normally not cluttered and if you need additional
information use the VERBOSE=1 parameter.
>
> -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.
I can confirm this on Win32. This as nothing to do with static libs, I
made a lot of changes to the driver recently and didn't test it on all
platforms, I need to investigate this further, maybe tomorrow I'm able
to fix that.
>
>
> 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?
Thanks for the report,
Werner
--
Dr. Werner Smekal
Institut fuer Allgemeine Physik
Technische Universitaet Wien
Wiedner Hauptstr 8-10
A-1040 Wien
Austria
email: [EMAIL PROTECTED]
web: http://www.iap.tuwien.ac.at/~smekal
phone: +43-(0)1-58801-13463 (office), +43-(0)1-58801-13469 (laboratory)
fax: +43-(0)1-58801-13499
-------------------------------------------------------------------------
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-devel