Hi All,
I've setup the environment as described in http://springrts.com/wiki/Building_Spri ... GW.2BCMake
and trying to compile springrts 89.0 via: mingw32-make install-spring.
I'm getting this error:
-----------------------------------------
C:\_projects\springrts\89.0\build2>
[ 0%] Built target sound
Configuring Version files ...
-- SPRING_ENGINE version fetched from VERSION file: 89.0
Spring engine version: 89.0 ()
[ 0%] Built target generateVersionFiles
[ 0%] Built target 7zip
[ 0%] Built target oscpack
[ 0%] Built target luasocket
[ 4%] Built target streflop
[ 6%] Built target lua
[ 8%] Built target minizip
[ 8%] Built target md5
[ 8%] Built target lobby
[ 19%] Built target assimp
[ 61%] Built target engine-default
[ 61%] Built target C-AIInterface
[ 63%] Java-AIInterface: Generating native callback wrapper sources
Access is denied.
mingw32-make[3]: *** [AI/Interfaces/Java/src-generated/main/native/CallbackFunctionPointerBridge.h] Error 1
mingw32-make[2]: *** [AI/Interfaces/Java/CMakeFiles/Java-AIInterface-native.dir/all] Error 2
mingw32-make[1]: *** [rts/builds/default/CMakeFiles/install-spring.dir/rule] Error 2
mingw32-make: *** [install-spring] Error 2
-----------------------------------------
I'm not sure where to get CallbackFunctionPointerBridge.h file which seems to be missing. OR did I miss something in the build instructions?
Thanks,
Dbuzz.
Compilation error: CallbackFunctionPointerBridge.h Error 1
Moderator: Moderators
Re: Compilation error: CallbackFunctionPointerBridge.h Error
You need write access to the folder ...Dbuzz wrote:Access is denied.
Re: Compilation error: CallbackFunctionPointerBridge.h Error
Thanks JK, but I don't think it's an issue, I use local administrative account on this XP laptop and have full access to any file. What I did notice is there are no file named CombinedCallbackBridge.h Is this file generated dynamically during build or it has to be presented in the source tree?
Re: Compilation error: CallbackFunctionPointerBridge.h Error
it would be generated, but it fails to generate it, cause of Access is denied.
(AI/Interfaces/Java/src-generated/main/native/CallbackFunctionPointerBridge.h)
(AI/Interfaces/Java/src-generated/main/native/CallbackFunctionPointerBridge.h)