1
General / Re: Compiling SFML on Mac OS X - Help
« on: April 11, 2015, 07:16:23 pm »
Hi, thanks for your reply! However this adds to my confusion. I know most games use C++ for high performance and better stability, but how can something be good if cross compilation is not supported? I would rather not set up a virtual machine, as the performance is slow, it's a waste of time (especially downloading the iso file, it takes an HOUR), and it takes storage/memory off of my main hard drive. Also, I would prefer not to use Xcode, because it asks me to make some kind of specific application, such as a command-line tool, cocoa application, game, etc. which I dislike. In eclipse, however, it just lets me code the whole thing without limitations. Also, eclipse is more popular, and I don't know why it isn't documented in the SFML docs.
SFML stands for "Simple and Fast Multimedia Library". However, I strongly disagree on the "simple" part of it. I did want to make some cool 2D games in SFML, but now it's barely even possible to do so, especially supporting multiple operating systems. I did not just ask for explanations, I also asked for a guide, so a guide on how to do all of this through mac and eclipse would be wonderful. The fact that SFML uses "frameworks" makes it really hard to use, especially for having multiple users be able to use the SFML games you make. I don't want to have to make them install a bunch of framework files and put them somewhere, i want them to just be able to run the application. This is the same for Linux and Windows users, I was beginning to believe C++ was my favorite language, but now it's getting to be a real pain, and I'm starting to hate it in fact, because of it's low cross platform support.
I even know a game engine that's made in C++, and it easily supports the 3 operating systems. The way SFML works? It just makes it impossible to support multiple operating systems, and I hate that. Just why does is have to use frameworks? Why can't SFML be true to it's name and be "simple"?
Also, I'm asking for all the answers here, because this is related to SFML, maybe someone tells me how to build it on eclipse one way, and especially they will just tell me that it's already set up with the "make" command, and won't help me out. This is related to SFML because the command is altered with these framework files, etc.
Cross compilation is not the best solution? Ok then, I'll only make the game for Mac and then not get popular, users to hate me, etc. because they all use Windows or Linux.
A ton of games use C++, especially using SFML or OpenGL, and they are all cross-platform (just like League of Legends, their core game is made in C++, and even Clash of Clans, frameworks? On a mobile device?) Please help me out here. I want to be successful, and I might even leave SFML because of how it works, and it's poor cross-compilation support.
UPDATE: I got it working! Here's what I did:
I deleted Eclipse for C/C++ and I installed the newest version of Xcode. Once I did that, I followed the SFML documentation on installing it on Mac with Xcode thoroughly. Once that was done, I was able to build and run my project successfully, and I even found a .app file inside after building it. Thanks for your help!
Now, what about supporting Windows and Linux as well?
SFML stands for "Simple and Fast Multimedia Library". However, I strongly disagree on the "simple" part of it. I did want to make some cool 2D games in SFML, but now it's barely even possible to do so, especially supporting multiple operating systems. I did not just ask for explanations, I also asked for a guide, so a guide on how to do all of this through mac and eclipse would be wonderful. The fact that SFML uses "frameworks" makes it really hard to use, especially for having multiple users be able to use the SFML games you make. I don't want to have to make them install a bunch of framework files and put them somewhere, i want them to just be able to run the application. This is the same for Linux and Windows users, I was beginning to believe C++ was my favorite language, but now it's getting to be a real pain, and I'm starting to hate it in fact, because of it's low cross platform support.
I even know a game engine that's made in C++, and it easily supports the 3 operating systems. The way SFML works? It just makes it impossible to support multiple operating systems, and I hate that. Just why does is have to use frameworks? Why can't SFML be true to it's name and be "simple"?
Also, I'm asking for all the answers here, because this is related to SFML, maybe someone tells me how to build it on eclipse one way, and especially they will just tell me that it's already set up with the "make" command, and won't help me out. This is related to SFML because the command is altered with these framework files, etc.
Cross compilation is not the best solution? Ok then, I'll only make the game for Mac and then not get popular, users to hate me, etc. because they all use Windows or Linux.
A ton of games use C++, especially using SFML or OpenGL, and they are all cross-platform (just like League of Legends, their core game is made in C++, and even Clash of Clans, frameworks? On a mobile device?) Please help me out here. I want to be successful, and I might even leave SFML because of how it works, and it's poor cross-compilation support.
UPDATE: I got it working! Here's what I did:
I deleted Eclipse for C/C++ and I installed the newest version of Xcode. Once I did that, I followed the SFML documentation on installing it on Mac with Xcode thoroughly. Once that was done, I was able to build and run my project successfully, and I even found a .app file inside after building it. Thanks for your help!
Now, what about supporting Windows and Linux as well?