Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: smithon on September 05, 2012, 10:04:21 pm

Title: Why glfw needs sfml
Post by: smithon on September 05, 2012, 10:04:21 pm
In Windows, I have realized that my glfw-glew projects doesn't work without sfml. I use mingw. In other words, when I remove my c:\sfmlxxx directory, I get this: cannot find -sfml-system! I am confused, since I haven't at all used any aspect of sfml in my project!
Title: Re: Why glfw needs sfml
Post by: ouch on September 05, 2012, 11:06:45 pm
Why are you asking this here? This has nothing to do with codeblocks and will likely get locked or removed.
Title: Re: Why glfw needs sfml
Post by: smithon on September 06, 2012, 12:00:51 am
The reason I am posting it here is that it is related to the project that I have created using codeblocks. Codeblocks has wizard to create opengl with glfw and in Windows, it works with mingw. Why this is not a right place?
Title: Re: Why glfw needs sfml
Post by: stahta01 on September 06, 2012, 12:37:51 am
Read the FAQs http://wiki.codeblocks.org/index.php?title=FAQ (http://wiki.codeblocks.org/index.php?title=FAQ)

Tim S.
Title: Re: Why glfw needs sfml
Post by: Jenna on September 06, 2012, 05:24:41 am
If you really have no sfml related settings in the project, there must be some gobal compiler settings remaining.
Look into the settings for MinGW in "Settings -> Compiler", if there is anything related to it.
Title: Re: Why glfw needs sfml
Post by: smithon on September 06, 2012, 05:02:19 pm
Thanks Jens, it was the case. I cleaned up global settings and build log now shows a clean compile.  :)