I am trying to build a module for the Steam SDK. I am getting syntax errors when compiling the module I’ve created which just has a few basic functions so far so I can become familiar with the interrogate process. For example in the SDK one line it gets stuck on is:
const GID_t k_GIDNil = 0xffffffffffffffffull;
When compiling Panda I get the error:
[T8] Building Interrogate database built_spacebullet/pandac/input/libpandasteam.in
pandabullet.cxx
*** Error in /c/work/panda3d/thirdparty/win-libs-vc10/steam/include/steamtypes.h near line 98, column 1:
syntax error, unexpected IDENTIFIER, expecting ','
Error parsing file: 'p3steam_composite1.cxx'
The following command returned a non-zero value: built_spacebullet\bin\interrogate -srcdir panda/src/steam -Ipanda/src/steam -Dvolatile -Dmutable -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -longlong __int64 -D_X86_ -DWIN32_VC -DWIN32 -D_WIN32 -D_MSC_VER=1600 -D"_declspec(param)=" -D_near -D_far -D__near -D__far -D__stdcall -DNDEBUG -oc built_spacebullet/tmp/libpandasteam_igate.cxx -od built_spacebullet/pandac/input/libpandasteam.in -fnames -string -refcount -assert -python-native -Sbuilt_spacebullet/include/parser-inc -Ipanda/src/steam -Sbuilt_spacebullet/tmp -Sbuilt_spacebullet/include -SC:\work\panda3d\thirdparty\win-python/include -Sthirdparty/win-libs-vc10/eigen\include -Sthirdparty/win-libs-vc10/steam/include -Sthirdparty/win-libs-vc10/extras/include -DBUILDING_PANDASTEAM -module pandasteam -library libpandasteam config_steam.h p3steam_composite1.cxx pandaSteamUser.h
Any idea what might be going wrong?
I can’t redistribute the code, but there is a pretty similar version here:
https://github.com/ValveSoftware/source-sdk-2013/tree/master/sp/src/public/steam