Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - cubefest

Pages: [1]
1
General / Error on example build
« on: August 17, 2014, 09:26:30 pm »
I am trying to do the first build on mac osx mavericks with Xcode 5.1.1 but I keep on running into errors about this code that is supposed to just compile and work. I have looked around the internet and found the solution to my first problem which was a linker problem caused by needing to update the frameworks to be compatible with Xcode 5, but I am stuck with this most recent issue. I can't figure out what this error is from:

Undefined symbols for architecture x86_64:
  "sf::Font::loadFromFile(std::string const&)", referenced from:
      _main in main.o
  "sf::Image::loadFromFile(std::string const&)", referenced from:
      _main in main.o
  "sf::Music::openFromFile(std::string const&)", referenced from:
      _main in main.o
  "sf::String::String(char const*, std::locale const&)", referenced from:
      _main in main.o
  "sf::Texture::loadFromFile(std::string const&, sf::Rect<int> const&)", referenced from:
      _main in main.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Pages: [1]
anything