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 - wnperes

Pages: [1]
1
General / Setup - Xcode 13 - macOS Monterey
« 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?...

Pages: [1]
anything