News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Why glfw needs sfml

Started by smithon, September 05, 2012, 10:04:21 PM

Previous topic - Next topic

smithon

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!

ouch

Why are you asking this here? This has nothing to do with codeblocks and will likely get locked or removed.

smithon

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?

stahta01

C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

Jenna

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.

smithon

Thanks Jens, it was the case. I cleaned up global settings and build log now shows a clean compile.  :)