Compilation error: CallbackFunctionPointerBridge.h Error 1

Compilation error: CallbackFunctionPointerBridge.h Error 1

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
Dbuzz
Posts: 2
Joined: 10 Aug 2012, 23:33

Compilation error: CallbackFunctionPointerBridge.h Error 1

Post by Dbuzz »

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.
User avatar
jK
Spring Developer
Posts: 2299
Joined: 28 Jun 2007, 07:30

Re: Compilation error: CallbackFunctionPointerBridge.h Error

Post by jK »

Dbuzz wrote:Access is denied.
You need write access to the folder ...
Dbuzz
Posts: 2
Joined: 10 Aug 2012, 23:33

Re: Compilation error: CallbackFunctionPointerBridge.h Error

Post by Dbuzz »

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?
User avatar
hoijui
Former Engine Dev
Posts: 4344
Joined: 22 Sep 2007, 09:51

Re: Compilation error: CallbackFunctionPointerBridge.h Error

Post by hoijui »

it would be generated, but it fails to generate it, cause of Access is denied.

(AI/Interfaces/Java/src-generated/main/native/CallbackFunctionPointerBridge.h)
Post Reply

Return to “Engine”