myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 01 Jan 2012 08:16 PM |
So I made this kewl SFML program on Ubuntu, so I decided to compile it on Windows and Mac. So I go on my Windows PC, get the source, and download SFML. After being tortured by the MinGW errors "can't find sfml-system-d.dll" and all that crap, I just copy-and-pasted all the libs and include files into the source folder and got it to compile. But now it doesn't run, and I later found out that SFML 1.6 has troubles with Windows PCs with ATI cards. >_>
So I decided to go on my Mac and compile it there instead, but it started complaining that it can't compile C++0x/C++11 code at all. *facepalm* And compiling GCC on a Mac is shiz, so now I'm installing the new XCode in hopes that it supports C++11.
Q.Q |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 01 Jan 2012 08:20 PM |
Why can't it be simple like on Linux:
"sudo apt-get install libsfml-system-dev libsfml-window-dev" |
|
|
| Report Abuse |
|
|
Tenal
|
  |
| Joined: 15 May 2011 |
| Total Posts: 18684 |
|
| |
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 01 Jan 2012 08:52 PM |
ohai emess
Varp, I know you have experience with using SFML on a Mac, halp pl0x? |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2012 10:23 PM |
| Ew, SFML 1.6. Even though 2.0 is still technically only the development version it's the recommended version on the SFML forums usually, because 1.6 is horribly buggy and so many people have problems with it. I <3 SFML 2.0, but C++ hates my OOP style I inherited from C# and so I run into access issues in one area and memory issues from SFMLs objects deleting themselves too early in another area... I JUST WANT TO SEPARATE DIFFERENT PARTS OF MY APP INTO DIFFERENT CLASSES D: |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2012 10:30 PM |
| @myrkos try explaining the simplicity and elegance of Linux to localchum. |
|
|
| Report Abuse |
|
|
TimeShop
|
  |
| Joined: 24 Nov 2010 |
| Total Posts: 1274 |
|
|
| 02 Jan 2012 12:12 AM |
Its because you need to have the .dll file inside the Debug bin. Find where the program's .exe file is, and put the missing dll inside the parenting folder. For Codeblocks, it would be something like;
File Name +Debug ++Bin +++.exe file
You need to make it;
File Name +Debug ++Bin +++.exe file +++ [missing .dll file]
The dll is located in SFML2.0 (or if you're using 1.6) inside the lib folder. |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 02 Jan 2012 01:48 AM |
@TimeShop, I ended up compiling it in the command prompt, but I did something similar to what you described. It still refuses to open a legit window. :/
@poke, I use SFML 1.6 just because it has precompiled libraries and don't feel like spending the time to compile 2.0, but I'll have to do it sooner or later. In fact, that's what I'm doing right now. :p |
|
|
| Report Abuse |
|
|
myrkos
|
  |
| Joined: 06 Sep 2010 |
| Total Posts: 8072 |
|
|
| 02 Jan 2012 01:55 AM |
| Well the new XCode still doesn't have enough support for C++11 that I need so I guess I'll just have to compile GCC 4.6.2. It'll take hours, lol. |
|
|
| Report Abuse |
|
|