1
General / Re: Window Position Bug
« on: February 09, 2015, 04:22:07 pm »
this is really a bug?
may be you need to handle the resize event?
may be you need to handle the resize event?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
=== 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) ===
I don't understand the error messages...Sorry, my visual studio only in russian language
1>LINK : warning LNK4098: defaultlib "LIBCMT" conflicts with use of other libs; use /NODEFAULTLIB:library
1>sfml-graphics-s.lib(GLExtensions.cpp.obj) : error LNK2001: unresolved external symbol "_glewGetErrorString"
1>sfml-graphics-s.lib(GLExtensions.cpp.obj) : error LNK2001: unresolved external symbol "_glewInit"
1>main.obj : error LNK2001: unresolved external symbol "_glewInit@0"
Seriously?Sorry, I don't understand the question?
C:\Dev\glew-1.12.0\include;Linker / General / Additional Library Directories:
C:\Dev\glm;
C:\Dev\SFML-2.2\include
C:\Dev\SFML-2.2\lib;C/C++ / Preprocessor / Preprocessor Definitions:
C:\Dev\glew-1.12.0\lib\Release\Win32
SFML_STATIC;GLEW_STATIC;WIN32;NDEBUG;_CONSOLELinker » Input » Additional Dependencies:
glew.lib;Errors:
glew32s.lib;
winmm.lib;
freetype.lib;
jpeg.lib;
opengl32.lib;
sfml-graphics-s.lib;
sfml-window-s.lib;
sfml-system-s.lib;
%(AdditionalDependencies)
1>glew.lib(glew.obj) : error LNK2005: ___glewCopyTexSubImage3D уже определен в glew32s.lib(glew.obj)
1>glew.lib(glew.obj) : error LNK2005: ___glewDrawRangeElements уже определен в glew32s.lib(glew.obj)
1>glew.lib(glew.obj) : error LNK2005: ___glewTexImage3D уже определен в glew32s.lib(glew.obj)
1>glew.lib(glew.obj) : error LNK2005: ___glewTexSubImage3D уже определен в glew32s.lib(glew.obj)
1>glew.lib(glew.obj) : error LNK2005: ___glewActiveTexture уже определен в glew32s.lib(glew.obj)
...
glew32s.lib;Errors:
winmm.lib;
freetype.lib;
jpeg.lib;
opengl32.lib;
sfml-graphics-s.lib;
sfml-window-s.lib;
sfml-system-s.lib;
%(AdditionalDependencies)
1>LINK : warning LNK4098: библиотека по умолчанию "LIBCMT" противоречит использованию других библиотек; используйте параметр /NODEFAULTLIB:library
1>sfml-graphics-s.lib(GLExtensions.cpp.obj) : error LNK2001: неразрешенный внешний символ "_glewGetErrorString"
1>sfml-graphics-s.lib(GLExtensions.cpp.obj) : error LNK2001: неразрешенный внешний символ "_glewInit"
glew.lib;Errors:
winmm.lib;
freetype.lib;
jpeg.lib;
opengl32.lib;
sfml-graphics-s.lib;
sfml-window-s.lib;
sfml-system-s.lib;
%(AdditionalDependencies)
1>main.obj : error LNK2001: неразрешенный внешний символ "_glewInit@0"
People sometimes think that SFML automatically includes GLEW (a library which manages OpenGL extensions) because SFML uses GLEW internally, but it's only an implementation detail. From the user's point of view, GLEW must be handled like any other external library.Please explain in detail how to connect glew to sfml 2.2?
He didnt mean literally. Its a figure of speech.Sorry, I use Google Translate and may where it is not correctly put it?
We're not your 24/7 programming supportLook at my profile, I am addressing here is very rare.
What about providing the error?sf :: Shader not support the transfer of a 4x4 matrix in the vertex shader
SFML uses GLEW as well, thus the linker might issue a warning.I know, in my application SFML linked statically and i not linked glew32.lib or glew32s.lib