SFML community forums
General => General discussions => Topic started by: lestroso on February 17, 2021, 09:48:16 pm
-
hi, I'm trying to compile without success the sfml library...I have tried with Xcode, Netbeans, Eclipse...but nothing works here on my Macmini M1 with Big Sur 11.2...Can Somebody help me?? please?? Best regards, Lestroso :-[ :-[ :-[
-
I'd suggest starting with describing what the issues are you're encountering, otherwise how else can anyone try an help you?
Keep in mind that the M1 chip and the ARM64 architecture is very new and not fully supported by SFML out of the box.
This means, that you'll have to build all of SFML's dependencies for ARM64 and as another user has pointed out (https://github.com/SFML/SFML/pull/1750), you need to make some slight modification to the CMake scripts.
If you build for x86_64 you may potentially still use the existing pre-built libs with the macOS emulator.
-
Here I include 2 screenshots. from xcode 12.4 thanks a lot....Lestroso :( :(
-
You need to build SFML from source and also all of SFML's dependencies from source.
-
IT's very hard... I don't know where I can start...Can you help me, please??? Best regards,
lestroso :-[
-
use homebrew to install sfml for m1 mac! brew version's sfml has already supported m1 big sur!
https://formulae.brew.sh/formula/sfml#default
-
Good news, I've just merged the dependency update PR (https://github.com/SFML/SFML/pull/1761), with that you should be able to use SFML on a device with an Apple M1 chip targeting arm64.
Additionally, a Mac Mini with an M1 chip has joined our CI fleet and is also publishing snapshot builds (https://artifacts.sfml-dev.org/by-branch/master/) for those who don't want to build from source.
-
I don't know where I can start...Can you help me, please??? Best regards, video streaming (https://get-mobdro.com/home/)
-
To start you best check out the "Getting Started" tutorial section (https://www.sfml-dev.org/tutorials/2.5/#getting-started).