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

Author Topic: Message from debugger: Terminated due to signal 6, Xcode, macbook m1  (Read 1592 times)

0 Members and 1 Guest are viewing this topic.

Arti001

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Hi I was posting an issue on github https://github.com/SFML/SFML/issues/2354but was sent here, so.
When I start my SFML app in Xcode on macbook m1 I have error "Message from debugger: Terminated due to signal 6" . Please watch the video, I show everything there

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
« Reply #1 on: January 12, 2023, 01:05:35 pm »
Did you look at the console content as suggested?

I saw a lot of error messages in there, about not being able to open/find certain files.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Arti001

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
« Reply #2 on: January 12, 2023, 03:50:05 pm »
 Here are the errors that were in the console

dyld[12117]: Library not loaded: @rpath/../Frameworks/freetype.framework/Versions/A/freetype
   Referenced from: <21A61469-D104-3D83-997C-ABADC2EA72B0> /Library/Frameworks/sfml-graphics.framework/Versions/2.5.1/sfml-graphics
   Reason: tried: '/Users/artur/Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/freetype.framework/Versions/A/freetype' (no such file), '/Users/artur/ Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/freetype.framework/Versions/A/freetype' (no such file ), '/Users/artur/Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/freetype.framework/Versions/ A/freetype' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/Users/artur /Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/Users/artur/Library/Developer/Xcode/DerivedData/ hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/freetype.framework/Versions/A/freetype' (no such file), '/Library/Frameworks/ freetype.framework/Versions/A/freetype' (no such file), '/System/Library/Frameworks/freetype.framework/Versions/A/freetype' (no such file, not in dyld cache)Library not loaded: @rpath /../Frameworks/vorbisenc.framework/Versions/A/vorbisenc
   Referenced from: <BB170772-DBCD-3A53-B13E-C1DD2A01FE14> /Library/Frameworks/sfml-audio.framework/Versions/2.5.1/sfml-audio
   Reason: tried: '/Users/artur/Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/Users/artur/ Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file ), '/Users/artur/Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/vorbisenc.framework/Versions/ A/vorbisenc' (no such file), '/System/Volumes/Preboot/Cryptexes/OS@rpath/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/Users/artur /Library/Developer/Xcode/DerivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/Users/artur/Library/Developer/Xcode/De rivedData/hhhhhhh-cmcgqfbikmypfxdtdorogofrhatc/Build/Products/Debug/hhhhhhh.app/Contents/MacOS/../Frameworks/../Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/Library/ Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file), '/System/Library/Frameworks/vorbisenc.framework/Versions/A/vorbisenc' (no such file, not in dyld cache)
Message from debugger: Terminated due to signal 6

Arti001

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
« Reply #3 on: January 12, 2023, 04:03:53 pm »
I understood that I lacked the freetype and vorbisenc library.
But I installed sfml according to the instructions

« Last Edit: January 13, 2023, 12:23:31 am by Arti001 »

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10801
    • View Profile
    • development blog
    • Email
Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
« Reply #4 on: January 13, 2023, 09:14:17 am »
So have you copied the libraries at the location it tries to find them?
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Arti001

  • Newbie
  • *
  • Posts: 4
    • View Profile
    • Email
Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
« Reply #5 on: January 13, 2023, 11:28:11 am »
I just realized that I installed some libraries incorrectly . Sorry to trouble you with such a stupid problem. Thank you for your help :)!