3
« on: January 11, 2022, 10:46:44 am »
Trying to setup on Xcode 13 M1 chip - macOS Monterey
Installed with Brew - added Library and Header directiory to project - Xcode finds the files and color codes objects etc.
When trying to compile a very simple statement as below:
-------------
#include <Graphics.hpp>
using namespace sf;
int main(int argc, const char * argv[]) {
RenderWindow window(sf::VideoMode(800, 600), "SFML window");
return 0;}
--------------
I get the following error message:
Undefined symbol: sf::RenderWindow::RenderWindow(sf::VideoMode, sf::String const&, unsigned int, sf::ContextSettings const&)
Undefined symbol: sf::RenderWindow::~RenderWindow()
Undefined symbol: sf::String::String(char const*, std::__1::locale const&)
Undefined symbol: sf::VideoMode::VideoMode(unsigned int, unsigned int, unsigned int)
I must be missing something very simple - any suggestions?...