Hi, I am very curious of this interesting project so I tried to compile it on my mac.
Unfortunately, I got an "Undefined symbols for architecture x86_64", specifically:
Linking CXX shared library libSystems.dylib
Undefined symbols for architecture x86_64:
"Rocket::Core::Dictionary::Set(Rocket::Core::StringBase<char> const&, Rocket::Core::Variant const&)", referenced from:
void Rocket::Core::Element::SetAttribute<char const*>(Rocket::Core::StringBase<char> const&, char const* const&) in GUIElement.cpp.o
"Rocket::Core::StringBase<char>::FormatString(unsigned int, char const*, ...)", referenced from:
bool Rocket::Core::Variant::GetInto<Rocket::Core::StringBase<char> >(Rocket::Core::StringBase<char>&) const in GUIElement.cpp.o
Rocket::Core::TypeConverterVectorString<Rocket::Core::Colour<unsigned char, 255>, unsigned char, 4>::Convert(Rocket::Core::Colour<unsigned char, 255> const&, Rocket::Core::StringBase<char>&) in GUIElement.cpp.o
Rocket::Core::TypeConverterVectorString<Rocket::Core::Colour<float, 1>, float, 4>::Convert(Rocket::Core::Colour<float, 1> const&, Rocket::Core::StringBase<char>&) in GUIElement.cpp.o
Rocket::Core::TypeConverterVectorString<Rocket::Core::Vector2<float>, float, 2>::Convert(Rocket::Core::Vector2<float> const&, Rocket::Core::StringBase<char>&) in GUIElement.cpp.o
"Rocket::Core::FontDatabase::LoadFontFace(Rocket::Core::StringBase<char> const&)", referenced from:
RocketLibSystem::LoadFonts(char const*) in RocketLibSystem.cpp.o
"Rocket::Core::FileInterface::OnReferenceDeactivate()", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
"Rocket::Core::FileInterface::Length(unsigned long)", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
"Rocket::Core::FileInterface::Release()", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
"Rocket::Core::FileInterface::FileInterface()", referenced from:
RocketLibSystemFileInterface::RocketLibSystemFileInterface(Rocket::Core::StringBase<char> const&) in RocketLibSystemFileInterface.cpp.o
RocketLibSystemFileInterface::RocketLibSystemFileInterface(Rocket::Core::StringBase<char> const&) in RocketLibSystemFileInterface.cpp.o
"Rocket::Core::FileInterface::~FileInterface()", referenced from:
RocketLibSystemFileInterface::~RocketLibSystemFileInterface() in RocketLibSystemFileInterface.cpp.o
RocketLibSystemFileInterface::~RocketLibSystemFileInterface() in RocketLibSystemFileInterface.cpp.o
RocketLibSystemFileInterface::~RocketLibSystemFileInterface() in RocketLibSystemFileInterface.cpp.o
"Rocket::Core::ElementDocument::Hide()", referenced from:
GUIDocument::Hide() in GUIDocument.cpp.o
non-virtual thunk to GUIDocument::Hide() in GUIDocument.cpp.o
GUISystem::LoadDocument(char const*, char const*) in GUISystem.cpp.o
"Rocket::Core::ElementDocument::Show(int)", referenced from:
GUIDocument::Show() in GUIDocument.cpp.o
non-virtual thunk to GUIDocument::Show() in GUIDocument.cpp.o
"Rocket::Core::RenderInterface::OnReferenceDeactivate()", referenced from:
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::RenderInterface::GetVerticalTexelOffset()", referenced from:
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::RenderInterface::GetHorizontalTexelOffset()", referenced from:
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::RenderInterface::Release()", referenced from:
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::RenderInterface::RenderInterface()", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RocketLibSystemRenderInterfaceOpenGL() in RocketLibSystemRenderInterfaceOpenGL.cpp.o
RocketLibSystemRenderInterfaceOpenGL::RocketLibSystemRenderInterfaceOpenGL() in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::RenderInterface::~RenderInterface()", referenced from:
RocketLibSystemRenderInterfaceOpenGL::~RocketLibSystemRenderInterfaceOpenGL() in RocketLibSystemRenderInterfaceOpenGL.cpp.o
RocketLibSystemRenderInterfaceOpenGL::~RocketLibSystemRenderInterfaceOpenGL() in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::SystemInterface::LogMessage(Rocket::Core::Log::Type, Rocket::Core::StringBase<char> const&)", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::TranslateString(Rocket::Core::StringBase<char>&, Rocket::Core::StringBase<char> const&)", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::ActivateKeyboard()", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::DeactivateKeyboard()", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::OnReferenceDeactivate()", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::Release()", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::JoinPath(Rocket::Core::StringBase<char>&, Rocket::Core::StringBase<char> const&, Rocket::Core::StringBase<char> const&)", referenced from:
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::SystemInterface::~SystemInterface()", referenced from:
RocketLibSystemSystemInterface::~RocketLibSystemSystemInterface() in RocketLibSystemSystemInterface.cpp.o
RocketLibSystemSystemInterface::~RocketLibSystemSystemInterface() in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::GetFileInterface()", referenced from:
RocketLibSystemRenderInterfaceOpenGL::LoadTexture(unsigned long&, Rocket::Core::Vector2<int>&, Rocket::Core::StringBase<char> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::SetFileInterface(Rocket::Core::FileInterface*)", referenced from:
RocketLibSystem::Initialise() in RocketLibSystemGLFW.cpp.o
"Rocket::Core::GetSystemInterface()", referenced from:
RocketLogSystem::Push() in RocketLogSystem.cpp.o
"Rocket::Core::ReferenceCountable::AddReference()", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::ReferenceCountable::RemoveReference()", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::ReferenceCountable::GetReferenceCount()", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::ReferenceCountable::OnReferenceActivate()", referenced from:
vtable for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
vtable for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
vtable for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"Rocket::Core::Log::Message(Rocket::Core::Log::Type, char const*, ...)", referenced from:
RocketLibSystemRenderInterfaceOpenGL::LoadTexture(unsigned long&, Rocket::Core::Vector2<int>&, Rocket::Core::StringBase<char> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"Rocket::Core::Context::GetDocument(Rocket::Core::StringBase<char> const&)", referenced from:
GUISystem::LoadDocument(char const*, char const*) in GUISystem.cpp.o
GUISystem::GetDocument(char const*) in GUISystem.cpp.o
"Rocket::Core::Context::LoadDocument(Rocket::Core::StringBase<char> const&)", referenced from:
GUISystem::LoadDocument(char const*, char const*) in GUISystem.cpp.o
"Rocket::Core::Context::ProcessKeyUp(Rocket::Core::Input::KeyIdentifier, int)", referenced from:
KeyCallback(int, int) in InputGLFW.cpp.o
"Rocket::Core::Context::ProcessKeyDown(Rocket::Core::Input::KeyIdentifier, int)", referenced from:
KeyCallback(int, int) in InputGLFW.cpp.o
"Rocket::Core::Context::UnloadDocument(Rocket::Core::ElementDocument*)", referenced from:
GUISystem::LoadDocument(char const*, char const*) in GUISystem.cpp.o
"Rocket::Core::Context::ProcessMouseMove(int, int, int)", referenced from:
MousePosCallback(int, int) in InputGLFW.cpp.o
"Rocket::Core::Context::ProcessTextInput(unsigned short)", referenced from:
CharCallback(int, int) in InputGLFW.cpp.o
KeyCallback(int, int) in InputGLFW.cpp.o
"Rocket::Core::Context::ProcessMouseWheel(int, int)", referenced from:
MouseWheelCallback(int) in InputGLFW.cpp.o
"Rocket::Core::Context::ProcessMouseButtonUp(int, int)", referenced from:
MouseButtonCallback(int, int) in InputGLFW.cpp.o
"Rocket::Core::Context::ProcessMouseButtonDown(int, int)", referenced from:
MouseButtonCallback(int, int) in InputGLFW.cpp.o
"Rocket::Core::Element::SetInnerRML(Rocket::Core::StringBase<char> const&)", referenced from:
GUIElement::SetInnerRML(char const*) in GUIElement.cpp.o
"Rocket::Core::Element::SetProperty(Rocket::Core::StringBase<char> const&, Rocket::Core::StringBase<char> const&)", referenced from:
GUIElement::SetProperty(char const*, char const*) in GUIElement.cpp.o
"Rocket::Core::Element::GetClientWidth()", referenced from:
GUIElement::GetClientWidth() const in GUIElement.cpp.o
non-virtual thunk to GUIElement::GetClientWidth() const in GUIElement.cpp.o
"Rocket::Core::Element::GetElementById(Rocket::Core::StringBase<char> const&)", referenced from:
GUIElement::GetElementById(char const*) in GUIElement.cpp.o
"Rocket::Core::Element::GetClientHeight()", referenced from:
GUIElement::GetClientHeight() const in GUIElement.cpp.o
non-virtual thunk to GUIElement::GetClientHeight() const in GUIElement.cpp.o
"Rocket::Core::Element::AddEventListener(Rocket::Core::StringBase<char> const&, Rocket::Core::EventListener*, bool)", referenced from:
GUIElement::AddEventListener(char const*, IGUIEventListener*) in GUIElement.cpp.o
"Rocket::Core::Element::RemoveEventListener(Rocket::Core::StringBase<char> const&, Rocket::Core::EventListener*, bool)", referenced from:
GUIElement::RemoveEventListener(char const*, IGUIEventListener*) in GUIElement.cpp.o
"Rocket::Core::Element::SetId(Rocket::Core::StringBase<char> const&)", referenced from:
GUISystem::LoadDocument(char const*, char const*) in GUISystem.cpp.o
"Rocket::Core::Factory::ClearStyleSheetCache()", referenced from:
GUISystem::ClearStyleSheetCache() in GUISystem.cpp.o
"Rocket::Core::Variant::Set(char const*)", referenced from:
void Rocket::Core::Element::SetAttribute<char const*>(Rocket::Core::StringBase<char> const&, char const* const&) in GUIElement.cpp.o
"Rocket::Core::Variant::~Variant()", referenced from:
void Rocket::Core::Element::SetAttribute<char const*>(Rocket::Core::StringBase<char> const&, char const* const&) in GUIElement.cpp.o
"Rocket::Debugger::GetLogElement()", referenced from:
GUISystem::GetLogElement() in GUISystem.cpp.o
"AURenMesh::LoadFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)", referenced from:
AssetSystem::CreateRenderableMeshFromFile(char const*) in AssetSystem.cpp.o
"AURenMesh::AURenMesh()", referenced from:
AssetSystem::CreateRenderableMeshFromFile(char const*) in AssetSystem.cpp.o
"Rocket::Core::Dictionary::Get(Rocket::Core::StringBase<char> const&) const", referenced from:
GUIEvent::GetParameter(char const*, char*, unsigned long) const in GUIElement.cpp.o
"Rocket::Core::Event::GetParameters() const", referenced from:
GUIEvent::GetParameter(char const*, char*, unsigned long) const in GUIElement.cpp.o
"Rocket::Core::Element::GetAttribute(Rocket::Core::StringBase<char> const&) const", referenced from:
GUIElement::GetAttribute(char const*, char*, unsigned long) const in GUIElement.cpp.o
"Rocket::Core::Element::GetId() const", referenced from:
GUIElement::GetId() const in GUIElement.cpp.o
non-virtual thunk to GUIElement::GetId() const in GUIElement.cpp.o
"AURenMesh::Render(AUColor const*) const", referenced from:
AURenderableMesh::Render() const in AssetSystem.cpp.o
"typeinfo for Rocket::Core::FileInterface", referenced from:
typeinfo for RocketLibSystemFileInterface in RocketLibSystemFileInterface.cpp.o
"typeinfo for Rocket::Core::RenderInterface", referenced from:
typeinfo for RocketLibSystemRenderInterfaceOpenGL in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"typeinfo for Rocket::Core::SystemInterface", referenced from:
typeinfo for RocketLibSystemSystemInterface in RocketLibSystemSystemInterface.cpp.o
"_glBindTexture", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
RocketLibSystemRenderInterfaceOpenGL::GenerateTexture(unsigned long&, unsigned char const*, Rocket::Core::Vector2<int> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glBlendFunc", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
"_glColorPointer", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glDeleteTextures", referenced from:
RocketLibSystemRenderInterfaceOpenGL::ReleaseTexture(unsigned long) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glDisable", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
RocketLibSystemRenderInterfaceOpenGL::EnableScissorRegion(bool) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glDisableClientState", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glDrawElements", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glEnable", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
RocketLibSystemRenderInterfaceOpenGL::EnableScissorRegion(bool) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glEnableClientState", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glGenTextures", referenced from:
RocketLibSystemRenderInterfaceOpenGL::GenerateTexture(unsigned long&, unsigned char const*, Rocket::Core::Vector2<int> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glGetIntegerv", referenced from:
RocketLibSystem::OpenWindow(char const*, bool) in RocketLibSystemGLFW.cpp.o
WindowResize(int, int) in RocketLibSystemGLFW.cpp.o
RocketLibSystemRenderInterfaceOpenGL::SetScissorRegion(int, int, int, int) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glLoadIdentity", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
"_glMatrixMode", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
"_glOrtho", referenced from:
RocketLibSystem::PreRenderRocketLib() in RocketLibSystemGLFW.cpp.o
"_glPopMatrix", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glPushMatrix", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glScissor", referenced from:
RocketLibSystemRenderInterfaceOpenGL::SetScissorRegion(int, int, int, int) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glTexCoordPointer", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glTexImage2D", referenced from:
RocketLibSystemRenderInterfaceOpenGL::GenerateTexture(unsigned long&, unsigned char const*, Rocket::Core::Vector2<int> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glTexParameteri", referenced from:
RocketLibSystemRenderInterfaceOpenGL::GenerateTexture(unsigned long&, unsigned char const*, Rocket::Core::Vector2<int> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glTranslatef", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glVertexPointer", referenced from:
RocketLibSystemRenderInterfaceOpenGL::RenderGeometry(Rocket::Core::Vertex*, int, int*, int, unsigned long, Rocket::Core::Vector2<float> const&) in RocketLibSystemRenderInterfaceOpenGL.cpp.o
"_glViewport", referenced from:
WindowResize(int, int) in RocketLibSystemGLFW.cpp.o
"_glfwCloseWindow", referenced from:
RocketLibSystem::CloseWindow() in RocketLibSystemGLFW.cpp.o
"_glfwGetKey", referenced from:
GetKeyModifierState() in InputGLFW.cpp.o
"_glfwGetTime", referenced from:
RocketLibSystem::GetElapsedTime() in RocketLibSystemGLFW.cpp.o
TimeSystem::StartSession() in TimeSystem.cpp.o
TimeSystem::GetRawTime() const in TimeSystem.cpp.o
TimeSystem::GetSessionTimeNow() const in TimeSystem.cpp.o
"_glfwGetWindowParam", referenced from:
RocketLibSystem::EventLoop(void (*)()) in RocketLibSystemGLFW.cpp.o
"_glfwInit", referenced from:
RocketLibSystem::Initialise() in RocketLibSystemGLFW.cpp.o
"_glfwOpenWindow", referenced from:
RocketLibSystem::OpenWindow(char const*, bool) in RocketLibSystemGLFW.cpp.o
"_glfwSetCharCallback", referenced from:
InputGLFW::Initialise() in InputGLFW.cpp.o
"_glfwSetKeyCallback", referenced from:
InputGLFW::Initialise() in InputGLFW.cpp.o
"_glfwSetMouseButtonCallback", referenced from:
InputGLFW::Initialise() in InputGLFW.cpp.o
"_glfwSetMousePosCallback", referenced from:
InputGLFW::Initialise() in InputGLFW.cpp.o
"_glfwSetMouseWheelCallback", referenced from:
InputGLFW::Initialise() in InputGLFW.cpp.o
"_glfwSetTime", referenced from:
RocketLibSystem::Initialise() in RocketLibSystemGLFW.cpp.o
"_glfwSetWindowSizeCallback", referenced from:
RocketLibSystem::OpenWindow(char const*, bool) in RocketLibSystemGLFW.cpp.o
"_glfwSetWindowTitle", referenced from:
RocketLibSystem::OpenWindow(char const*, bool) in RocketLibSystemGLFW.cpp.o
"_glfwSleep", referenced from:
RocketLibSystem::EventLoop(void (*)()) in RocketLibSystemGLFW.cpp.o
"_glfwSwapBuffers", referenced from:
RocketLibSystem::FlipBuffers() in RocketLibSystemGLFW.cpp.o
"_glfwTerminate", referenced from:
RocketLibSystem::Shutdown() in RocketLibSystemGLFW.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libSystems.dylib] Error 1
make[1]: *** [CMakeFiles/Systems.dir/all] Error 2
make: *** [all] Error 2
L