I am trying to compile Panda using VS 2008 .NET and have fixed quite a few problems so far but I am now running in to one I can’t seem to figure out and that is when it gets to doing the interrogate for VRPN it fails for some reason. I just barely started messing with Panda so I am not very familiar with the build environment used for it yet so I was wondering if someone would be able to point me in the right direction on working around this specific problem. The following is the output from the nmake.
interrogate -od Opt3-Win32\libpvrpn.in -oc Opt3-Win32\libpvrpn_igate.cxx
-DCPPPARSER -D__STDC__=1 -D__cplusplus -longlong __int64 -D_X86_ -DWIN32_VC -D"_declspec(param)=" -D"__declspec(param)=" -D_near -D_far -D__near -D__far -D_WIN32 -D__stdcall -Dvolatile -Dmutable -S"C:\Panda3d\include\parser-inc" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\panda" -I"..\cull" -I"..\device" -I"..\dgraph" -I"..\display" -I"..\downloader" -I"..\event" -I"..\express" -I"..\gobj" -I"..\gsgbase" -I"..\lerp" -I"..\linmath" -I"..\mathutil" -I"..\nativenet" -I"..\net" -I"..\pandabase" -I"..\pgraph" -I"..\pipeline" -I"..\pnmimage" -I"..\pstatclient" -I"..\putil" -I"C:\Panda3d\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-python\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-libs-vc8\vrpn\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-libs-vc8\zlib\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-libs-vc8\nvidiacg\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-libs-vc8\fftw\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-python\include" -I"C:\Panda3D-1.5.2\source\panda3d-1.5.2\thirdparty\win-libs-vc8\openssl\include" -DFORCE_INLINING -fnames -string -refcount -assert -python-native -module "panda" -library "libpvrpn" config_vrpn.cxx config_vrpn.h vrpnClient.cxx vrpnAnalog.cxx vrpnAnalog.h vrpnAnalogDevice.cxx vrpnAnalogDevice.h vrpnButton.cxx vrpnButton.h vrpnButtonDevice.cxx vrpnButtonDevice.h vrpnClient.h vrpnDial.cxx vrpnDial.h vrpnDialDevice.cxx vrpnDialDevice.h vrpnTracker.cxx vrpnTracker.h vrpnTrackerDevice.cxx vrpnTrackerDevice.h vrpn_interface.h
*** Error in vrpnClient.h near line 90, column 22:
syntax error, unexpected '*', expecting '{' or ';' or ':' or '='
Error parsing file: 'config_vrpn.cxx'
NMAKE : fatal error U1077: 'c:\panda3d\bin\interrogate.EXE' : return code '0x1'
Stop.
NMAKE : fatal error U1077: 'cd' : return code '0x2'
Stop.
From this I checked the vrpnClient.h file and the code that it is complaining about is this.
vrpn_Connection *_connection;
I tried doing a forward declaration of this class and it got past this point. So it seems that it is not looking in any of the vrpn header files for some reason. What should I check to make sure that interrogate looks in these header files? Any help is appreciated. Thanks.