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

Author Topic: SFML 2.2 and GLEW  (Read 8140 times)

0 Members and 2 Guests are viewing this topic.

maly

  • Newbie
  • *
  • Posts: 14
    • View Profile
Re: SFML 2.2 and GLEW
« Reply #15 on: February 09, 2015, 02:51:07 pm »
Visual C++ 2008 Express.

GLS

  • Newbie
  • *
  • Posts: 16
    • View Profile
Re: SFML 2.2 and GLEW
« Reply #16 on: February 09, 2015, 03:55:53 pm »
In Code::Blocks everything works, but there are warnings:
Quote
=== Build: Release in GLS (compiler: GNU GCC Compiler) ===
Warning: resolving _glewInit by linking to _glewInit@0
Warning: resolving _glewGetErrorString by linking to _glewGetErrorString@4
Warning: .drectve `/DEFAULTLIB:"LIBCMT" /DEFAULTLIB:"OLDNAMES" ' unrecognized
=== Build finished: 0 error(s), 3 warning(s) (0 minute(s), 4 second(s)) ===
=== Run: Release in GLS (compiler: GNU GCC Compiler) ===
« Last Edit: February 09, 2015, 03:57:57 pm by GLS »

Zyl

  • Newbie
  • *
  • Posts: 12
    • View Profile
Re: SFML 2.2 and GLEW
« Reply #17 on: February 10, 2015, 06:07:41 pm »
Cheers people. I had the same problem with SFML 2.2. Adding GLEW_STATIC helped with my x64 build where I need to link glew.lib only. For the x86 one, strangely I need to link glew32.lib AND glew.lib to compile without warnings, yet still have dynamic linkage with GLEW_STATIC (i.e. get missing dll error for glew32.dll on load). I'm still checking my properties to make sure I haven't missed anything. Using MSVC 2010.

 

anything