I get the following after building using CMake and copying the frame works over to /Library/Frameworks.
I used CMake, only changing the defaults to use 10.7 instead of 10.6 and to get around which freetype I linked to. Otherwise it was whatever CMake wanted to use.
CMAKE_OSX_ARCHITECTURES i386;x86_64
Just ran make after that and then tried to do a simple test and got the following errors.
Any help would be much appreciated.
Undefined symbols for architecture x86_64:
"sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)", referenced from:
_main in main.o
"sf::Window::Window(sf::VideoMode, std::string const&, unsigned long, sf::ContextSettings const&)", referenced from:
_main in main.o
"sf::Window::~Window()", 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)
#include <iostream>
#include <SFML/Window.hpp>
int main (int argc, const char * argv[])
{
sf::Window(sf::VideoMode(800, 600, 32), "SFML OpenGL");
std::cout << "Hello, World!\n";
return 0;
}