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.


Messages - TueJoshua

Pages: [1]
1
Thanks, that worked!

(technically, the dylibs (which I haven't installed) have different names, e.g. "libsfml-audio.dylib" - it's the framework file names you want (which are in fact "sfml-audio" etc.)

2
Tried adding "-framework SFML" to the parameter list, I get the exact same result

(If I try "-framework SFM", I get an additional warning that the .framework file is not found, so it does connect to the framework file...)

Any further suggestions?

3
UPDATE: I've realized that I put this thread in the "non-help" section by mistake.

If there's a way to move the thread or there's something else that should be done, please let me know :)

=============================

I'm trying to install for use with XCode command line C++ tools.

I've followed the guide at https://www.sfml-dev.org/tutorials/2.4/start-osx.php
- Copied frameworks, not dylibs
- Not copied the (optional) templates

I haven't been able to use the "Create your first SFML program" as I only have command line tools (and not the "whole" Xcode) installed.
I've tried compiling the "Pong" example included in the SFML download as well as my own code, simply trying to open a sf::RenderWindow (copied the statement from one of the examples).
Whatever I do, I always get the same "Undefined symbols for architecture x86_64" error message.
This includes trying to follow https://stackoverflow.com/questions/14228856/how-to-compile-c-with-c11-support-in-mac-terminal, which I tried as a result of the comment "If you downloaded the "Clang" version from the download page, you should select C++11 with Clang and libc++."

Any tips?

Verbose output when trying to compile (the example) Pong.cpp - see attached.

Pages: [1]