SFML community forums

General => General discussions => Topic started by: Arti001 on January 12, 2023, 11:46:20 am

Title: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
Post by: Arti001 on January 12, 2023, 11:46:20 am
Hi I was posting an issue on github https://github.com/SFML/SFML/issues/2354 (https://github.com/SFML/SFML/issues/2354)but 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
Title: Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
Post by: eXpl0it3r 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.
Title: Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
Post by: Arti001 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
Title: Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
Post by: Arti001 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

Title: Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
Post by: eXpl0it3r on January 13, 2023, 09:14:17 am
So have you copied the libraries at the location it tries to find them?
Title: Re: Message from debugger: Terminated due to signal 6, Xcode, macbook m1
Post by: Arti001 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 :)!