SFML community forums

General => General discussions => Topic started by: diegonolan on January 06, 2012, 07:35:35 am

Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: diegonolan on January 06, 2012, 07:35:35 am
I am going through the tutorial and when I hit finish on the configure part for the cmake it tells me I am missing the libgmp-3.dll file.  I've looked in the MinGW folder at is there so I don't really know what is going. I've uninstalled and installed cmake and it doesn't seem to work.
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: Laurent on January 06, 2012, 07:49:26 am
Can you post a screenshot of the error please?
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: diegonolan on January 06, 2012, 07:55:48 am
(http://
http://i.imgur.com/mWHyv.png
)

Here you go, sir.
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: Laurent on January 06, 2012, 08:00:21 am
I think that your MinGW installation is corrupt.
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: diegonolan on January 06, 2012, 08:03:08 am
hmmm, reinstalled it between my first and second post.  That seems to be why it changed from -3 to 10.dll.  I'll reinstall it again and see if that helps.
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: Laurent on January 06, 2012, 08:06:05 am
But does this file exist or not (in your MinGW folder)?
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: diegonolan on January 06, 2012, 08:11:50 am
yes, it is there in the bin folder
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: diegonolan on January 06, 2012, 08:39:58 am
i think i found a solution here:

http://www.austincc.edu/rblack/courses/COSC2425/MinGW/MinGWInstallError.html

seems to work.
Title: Trouble Compiling sfml 2.0 on Win 7 for Code::Blocks
Post by: Laurent on January 06, 2012, 09:50:25 am
Your MinGW/bin folder must be in the PATH environment variable, as explained in the tutorial.