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

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - cnoffsin

Pages: [1]
1
SFML wiki / Re: Successfully Set up Dev C+ Orwell Version for Wiki
« on: June 14, 2014, 05:15:23 am »
And I guess I should add that with this config you have to copy all the files in the sfml\bin folder (the dlls) to the place where the .exe will be compiled and executed.

I am sure there is a better way to do this if someone wants to chime in that would be nice.

2
SFML wiki / Successfully Set up Dev C+ Orwell Version for Wiki
« on: June 14, 2014, 05:00:23 am »
I googled around and I saw some people wanted to get SFML working in Dev C++.

I got it to work in the Orwell version which is still maintained and I am sorry it is the one I am comfortable in because its what is taught at my college.

This is of course for Windows.

Its similar to the codeblocks set up but there are a couple of different items and it gets confusing as to what download to get and I pieced the items I found for the linker from various forum posts.

So get Orwell Dev C++ from Sourceforge here Dev-Cpp 5.6.3 TDM-GCC x64 4.8.1 Setup.exe
http://sourceforge.net/projects/orwelldevcpp/files/Setup%20Releases/

And get the GCC 4.7 TDM (SJLJ) version from the download page:
http://www.sfml-dev.org/download/sfml/2.1/

I extracted it to c:\sfml

Click on Tools-Compiler Options
And in the "Add the following commands when calling the linker:" box have these items
-static-libgcc -DSFML_STATIC -lsfml-graphics -lsfml-window -lsfml-system

In that same spot on the Directories-Binaries tab have c:\sfml\bin
                                                           Libraries tab have c:\sfml\lib
                                                           C++ Includes tab have c:\sfml\include

I could do screenshots.

It would be nice to have this on the main "http://www.sfml-dev.org/tutorials/2.1/" page because from what I saw on the web (and in this forum) there are some people that would use it.

Pages: [1]