Stefan Kummer - 2009-12-11

Hello,
I tried to build PlPlot 5.9.4 on WindowsXP with Visual Studio C++ 2008 (Express). I have installed wxWidgets 2.8 by wxPack. Cmake seems to work allright with the following options (according to the PlPlot-wiki):

cmake -G "NMake Makefiles" -DENABLE_DYNDRIVERS=OFF -DwxWidgets_ROOT_DIR=%WXWIN% -DwxWidgets_LIB_DIR=%WXWIN%\lib\vc_dll -DwxWidgets_CONFIGURATION=mswu -DwxWidgets_USE_UNICODE=ON -DCMAKE_INSTALL_PREFIX=install .. 
set PATH=C:\SourceCode\plplot-5.9.4\buildnmake\dll;%PATH%

But when I try to run nmake I get the following error-message:

Building CXX object src/CMakeFiles/plplotd.dir/__/drivers/wxwidgets.cpp.obj 
WXUSINGDLL 
c1xx : fatal error C1083: Datei (Quelle) kann nicht ge?ffnet werden: "WXUSINGDLL
": No such file or directory 
UNICODE 
c1xx : fatal error C1083: Datei (Quelle) kann nicht ge?ffnet werden: "UNICODE":
No such file or directory 
_UNICODE 
c1xx : fatal error C1083: Datei (Quelle) kann nicht ge?ffnet werden: "_UNICODE":
No such file or directory 
wxwidgets.cpp
Code wird generiert… 
NMAKE : fatal error U1077: "C:\PROGRA~1\MICROS~1.0\VC\bin\cl.exe": R?ckgabe-Code
"0x2"
Stop. 
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio 9.0\VC\BIN\nma
ke.exe"": R?ckgabe-Code "0x2" 
Stop. 
NMAKE : fatal error U1077: ""C:\Programme\Microsoft Visual Studio 9.0\VC\BIN\nmake.exe"": R?ckgabe-Code "0x2" 
Stop.

There seems to be a problem with the wxWidgets-driver. But what's wrong?

Regards
Stefan