Skip to content

Does not compile on OSX with Base SDK 10.9 #47

@martinpfannemueller

Description

@martinpfannemueller

Using Xcode on Mac OSX 10.9 with base SDK 10.9 I get the following error. With base SDK 10.8 everything works.

Undefined symbols for architecture x86_64:
"sf::SoundBuffer::LoadFromFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
OT::SoundManager::load(OT::Path, sf::SoundBuffer&) in SoundManager.o
"sf::Font::LoadFromFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, unsigned int, sf::Unicode::Text const&)", referenced from:
OT::FontManager::load(OT::Path, sf::Font&) in FontManager.o
"sf::Image::LoadFromFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&)", referenced from:
OT::BitmapManager::load(OT::Path, sf::Image&) in BitmapManager.o
"sf::Window::Create(sf::VideoMode, std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&, unsigned long, sf::WindowSettings const&)", referenced from:
OT::Application::init() in Application.o
"Rocket::Core::Element::GetElementsByTagName(std::__1::vector<Rocket::Core::Element*, std::__1::allocatorRocket::Core::Element* >&, Rocket::Core::StringBase const&)", referenced from:
OT::ToolboxWindow::reload() in ToolboxWindow.o
"sf::SoundBuffer::SaveToFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) const", referenced from:
OT::SimTowerLoader::dump(OT::Path) in SimTowerLoader.o
"sf::Image::SaveToFile(std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) const", referenced from:
OT::SimTowerLoader::dump(OT::Path) in SimTowerLoader.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Metadata

Metadata

Assignees

Labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions