Author Topic: Why glfw needs sfml  (Read 4566 times)

Offline smithon

  • Single posting newcomer
  • *
  • Posts: 3
Why glfw needs sfml
« 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!

Offline ouch

  • Almost regular
  • **
  • Posts: 223
Re: Why glfw needs sfml
« Reply #1 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.

Offline smithon

  • Single posting newcomer
  • *
  • Posts: 3
Re: Why glfw needs sfml
« Reply #2 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?

Offline stahta01

  • Lives here!
  • ****
  • Posts: 7592
    • My Best Post
Re: Why glfw needs sfml
« Reply #3 on: September 06, 2012, 12:37:51 am »
C Programmer working to learn more about C++ and Git.
On Windows 7 64 bit and Windows 10 64 bit.
--
When in doubt, read the CB WiKi FAQ. http://wiki.codeblocks.org

Offline Jenna

  • Administrator
  • Lives here!
  • *****
  • Posts: 7255
Re: Why glfw needs sfml
« Reply #4 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.

Offline smithon

  • Single posting newcomer
  • *
  • Posts: 3
Re: Why glfw needs sfml
« Reply #5 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.  :)