So first, macPlugins.h was not found:
Code: Select all
In file included from CEGUIDynamicModule.cpp:32:
../../cegui/include/CEGUIDynamicModule.h:127: error: 'CFBundleRef' does not name a type
CEGUIDynamicModule.cpp: In constructor 'CEGUI::DynamicModule::DynamicModule(const CEGUI::String&)':
CEGUIDynamicModule.cpp:63: error: 'd_handle' was not declared in this scope
CEGUIDynamicModule.cpp:110: error: 'd_handle' was not declared in this scope
CEGUIDynamicModule.cpp:110: error: 'mac_loadExeBundle' was not declared in this scope
CEGUIDynamicModule.cpp: In destructor 'CEGUI::DynamicModule::~DynamicModule()':
CEGUIDynamicModule.cpp:134: error: 'd_handle' was not declared in this scope
CEGUIDynamicModule.cpp:134: error: 'mac_unloadExeBundle' was not declared in this scope
CEGUIDynamicModule.cpp: In member function 'void* CEGUI::DynamicModule::getSymbolAddress(const CEGUI::String&) const':
CEGUIDynamicModule.cpp:146: error: 'd_handle' was not declared in this scope
CEGUIDynamicModule.cpp:146: error: 'mac_getBundleSym' was not declared in this scope
CEGUIDynamicModule.cpp: In member function 'CEGUI::String CEGUI::DynamicModule::getFailureString() const':
CEGUIDynamicModule.cpp:154: error: 'mac_errorBundle' was not declared in this scope
To fix this, I added an include path in the makefile:
Code: Select all
DEFAULT_INCLUDES = -I. -I$(top_builddir)/cegui/include -I$(top_builddir)/cegui/src/implementations/mac
I also had several CoreFoundation errors such as:
Code: Select all
error: 'CFBundleRef' does not name a type
Adding the following to cegui/include/config.h fixed all those:
Code: Select all
#include <CoreFoundation/CoreFoundation.h>
#include <Carbon/Carbon.h>