Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Cannot compile SFML library for Arm64 MacMini Big Sur 11.2  (Read 140 times)

0 Members and 1 Guest are viewing this topic.

lestroso

  • Newbie
  • *
  • Posts: 9
    • View Profile
Cannot compile SFML library for Arm64 MacMini Big Sur 11.2
« 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 :-[ :-[ :-[

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9724
    • View Profile
    • development blog
    • Email
Re: Cannot compile SFML library for Arm64 MacMini Big Sur 11.2
« Reply #1 on: February 18, 2021, 12:42:14 am »
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, 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.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

lestroso

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Cannot compile SFML library for Arm64 MacMini Big Sur 11.2
« Reply #2 on: February 18, 2021, 05:28:32 pm »
Here I include 2 screenshots. from xcode 12.4 thanks a lot....Lestroso :( :(

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 9724
    • View Profile
    • development blog
    • Email
Re: Cannot compile SFML library for Arm64 MacMini Big Sur 11.2
« Reply #3 on: February 20, 2021, 07:47:36 pm »
You need to build SFML from source and also all of SFML's dependencies from source.
Official FAQ: https://www.sfml-dev.org/faq.php
Nightly Builds: https://www.nightlybuilds.ch/
——————————————————————
Dev Blog: https://dev.my-gate.net/
Thor: http://www.bromeon.ch/libraries/thor/

lestroso

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Cannot compile SFML library for Arm64 MacMini Big Sur 11.2
« Reply #4 on: February 20, 2021, 07:50:35 pm »
IT's very hard... I don't know where I can start...Can you help me, please??? Best regards,
lestroso :-[

 

anything