CEGUI fails to compile on Mac OSX 10.4.7

Issue #119 resolved
Former user created an issue

Automatic migration. Original reporter: "morgul"

When attempting to compile cegui from a terminal in OSX 10.4.7 cegui fails on several targets. The errors are in fact very minor, and the attatched patch allows cegui to compile without errors or warnings. The same patch was tested on a fresh checkout of cegui for linux, and it also compiles and runs fine.

Reproducibility: always

Comments (3)

  1. Former user Account Deleted

    Original reporter: Alderan

    After the patch the library compiles fine but I still have problem with functions from macPlugins.cpp The app does some error when trying to execute my application. Looks like they are not linked to the library.

    dyld: lazy symbol binding failed: Symbol not found: ZN5CEGUI17mac_loadExeBundleEPKc Referenced from: /usr/local/lib/libCEGUIBase.1.dylib Expected in: flat namespace

    dyld: Symbol not found: ZN5CEGUI17mac_loadExeBundleEPKc Referenced from: /usr/local/lib/libCEGUIBase.1.dylib Expected in: flat namespace

    If I include macPlugins.cpp to my project (erasing the main function there) I got error like: Thread 0 Crashed: 0 com.apple.CoreFoundation 0x907e3cc8 _CFBundleGetLanguageSearchList + 24 1 com.apple.CoreFoundation 0x907e3bec CFBundleCopyResourceURL + 44 2 bjs 0x000aabac CEGUI::mac_loadExeBundle(char const*) + 1844 (macPlugins.cpp:79) 3 libCEGUIBase.1.dylib 0x052b6af8 CEGUI::DynamicModule::DynamicModule[in-charge](CEGUI::String const&) + 180 (CEGUIDynamicModule.cpp:82) 4 libCEGUIBase.1.dylib 0x052b8b58 CEGUI::FactoryModule::FactoryModule[in-charge](CEGUI::String const&) + 60 (CEGUIString.h:4802) 5 libCEGUIBase.1.dylib 0x052d1c60 CEGUI::Scheme::loadWindowRendererFactories() + 104 (CEGUIScheme.cpp:311) 6 libCEGUIBase.1.dylib 0x052d49e8 CEGUI::Scheme::loadResources() + 216 (CEGUIScheme.cpp:117) 7 libCEGUIBase.1.dylib 0x052d4f80 CEGUI::Scheme::Scheme[in-charge](CEGUI::String const&, CEGUI::String const&) + 1244 (CEGUIScheme.cpp:89) 8 libCEGUIBase.1.dylib 0x052d5f2c CEGUI::SchemeManager::loadScheme(CEGUI::String const&, CEGUI::String const&) + 248 (CEGUISchemeManager.cpp:75)

  2. Paul Turner

    Currently our primary Mac support is supposed to be via XCode - the projects are currently being updated by our Mac maintainer, I do not have an ETA on that though.

    For a terminal based build with ./configure && make, currently the macPlugins.cpp is not included in the list of files to be built (which is why you're seeing the error). There are also a couple of other potential gotchas relating to files that are only used on certain platforms.

  3. Paul Turner

    I'm resolving this since it is ancient and not really relevant :)

    Newer CEGUI versions definitely build on various OS X versions, 0.7 via Xcode and current development versions via various build systems (using cmake) so I'm additionally marking this as 'fixed'.

  4. Log in to comment