SFML community forums
Help => General => Topic started by: ZwodahS on December 17, 2013, 09:26:20 am
-
Hi , I am using SFML2.1. I usually use clang++ to compile my stuffs on my mac. I need to export it as a .app recently so I started using XCode to package the stuffs.
I followed the tutorial and also search the net for informations and managed to get the game running on my mac. However, when I export it out as a .app, it can run on my mac but not on my friend's mac. He got a EXC_BAD_ACCESS (SIGSEGV) when running the game. I am not sure what is the problem.
I also tried creating a basic app by using the default template. It didn't work too.
I think the problem is with the configuration of the build but I can't find any resources on how to fix this problem. I hope someone on the forum can advise me on how to fix this problem.
-
You need to find more details about the error. Try launching the app from the Terminal; maybe also look in the Console.
-
Have you add the frameworks or dylib to your app bundle?
yourgame.app/Contents/Frameworks/dylibs or frameworks
-
Assuming he did follow the tutorial correctly, those things are automatically copied when you compile a project generated with the SFML templates.