View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001806 | Spring engine | Linux | public | 2010-01-27 16:27 | 2010-02-04 16:49 | ||||
Reporter | pepijn | ||||||||
Assigned To | Auswaschbar | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.81.1.2 | ||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0001806: Compiling on Mac breaks AI because of .so/.dylib mismatch | ||||||||
Description | I compiled Spring according to these instructions: http://springrts.com/wiki/Spring_on_MacOSX The game works, but the AI's don't. The compiler creates .so files, but the game searches for a .dylib file. Error message: Error while loading AI Interface Library from file "/usr/local/share/games/spring/AI/Interfaces/C/0.1/libAIInterface.dylib" | ||||||||
Additional Information | Mac OS X 10.6.2 XCode 3.2.1 gcc 4.2.1 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hoijui (reporter) 2010-02-01 00:28 |
please try if this fixed it: 1411f119d65f10900c3f859906f2c87cdc3d615b (current master) if no response for a month, we consider it fixed. |
pepijn (reporter) 2010-02-01 16:07 Last edited: 2010-02-01 16:45 |
I don't know if this is related to the fix, but I get 3 "implement this" warnings upon building. All three are in a else clause where seemingly the OSX part should be selected. /Users/pepijndevos/git/spring/rts/System/Platform/Misc.cpp:44:4: error: #error implement this /Users/pepijndevos/git/spring/rts/System/Platform/Misc.cpp:130:3: error: #error implement this /Users/pepijndevos/git/spring/rts/System/Platform/Misc.cpp:223:3: warning: #warning implement this (or use linux version) make[2]: *** [rts/CMakeFiles/spring.dir/System/Platform/Misc.cpp.o] Error 1 make[1]: *** [rts/CMakeFiles/spring.dir/all] Error 2 make: *** [all] Error 2 It seems they use MACOSX_BUNDLE rather then __APPLE__ in a few places. Searching for the first returns 2 files, the later 10. I read that CMake <= 2.4 does not support this directive. **warning** I know not the slightest bit of C Building works after replacing MACOSX_BUNDLE with __APPLE__, but I don't know how to install without ruining my 0.80 version. I removed the 0.80 version since I noticed 0.81 was released. Not fixed... they are still .so I suspect however that they are bundled as .so, not built. I remember finding a .so file in the spring dir... but I can't remember if that was before or after building. |
pepijn (reporter) 2010-02-04 14:41 |
Works now! How do I set the status of this report to something good? |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2010-01-27 16:27 | pepijn | New Issue | |
2010-02-01 00:28 | hoijui | Note Added: 0004580 | |
2010-02-01 00:28 | hoijui | Status | new => feedback |
2010-02-01 16:07 | pepijn | Note Added: 0004583 | |
2010-02-01 16:15 | pepijn | Note Edited: 0004583 | |
2010-02-01 16:17 | pepijn | Note Edited: 0004583 | |
2010-02-01 16:20 | pepijn | Note Edited: 0004583 | |
2010-02-01 16:45 | pepijn | Note Edited: 0004583 | |
2010-02-04 14:41 | pepijn | Note Added: 0004597 | |
2010-02-04 16:49 | Auswaschbar | Status | feedback => resolved |
2010-02-04 16:49 | Auswaschbar | Resolution | open => fixed |
2010-02-04 16:49 | Auswaschbar | Assigned To | => Auswaschbar |