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

Show Posts

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.


Messages - ziraxis

Pages: [1]
1
Hi guys,
I am strugeling to install SFML on Windows Vista using Code::Blocks 13.12 and SFML.
Firs I downloaded SFML GCC 4.7 MinGW (DW2) - 32 bits and it didn't worked (I stumbled in internet and people says that the compiler I have is different from the one that SFML was build with). So I decided to build it /compile it from the source code. I did so with CMake, Code::Blocks and the Source code that I get from the SFML page.
I followed this steps:
http://sfml-dev.org/tutorials/1.6/start-cb.php
it didn't work
then I followed this steps :
http://www.sfml-dev.org/tutorials/2.0/start-cb.php
and it's not working :(
what I have in my linker is :
..\sfml\lib\libsfml-graphics-s.a
..\sfml\lib\libsfml-graphics-s.a
..\sfml\lib\libsfml-graphics-s.a
for Release and Debug
Also I've included in the Search Options in Compiler : ..\sfml\include and in Linker ..\sfml\lib ..  and of course I have SFML_STATIC...
So it seems to see the class sf (it gives me auto-complete suggestions)   :-\
However, I get a bunch of errors :

||=== Build: Debug in anotherTry (compiler: GNU GCC Compiler) ===|
..\sfml\lib\libsfml-graphics-s.a(RenderWindow.cpp.obj):RenderWindow.cpp|| undefined reference to `glReadPixels@28'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glDisable@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glDisable@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glDisable@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glDisable@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glEnable@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glEnable@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glEnableClientState@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glEnableClientState@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glEnableClientState@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPolygonMode@8'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `__GLEW_EXT_blend_func_separate'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `__glewBlendFuncSeparateEXT'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glLoadMatrixf@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glBlendFunc@8'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glClearColor@16'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPushClientAttrib@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPushAttrib@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPushMatrix@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPushMatrix@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPushMatrix@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPopMatrix@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPopMatrix@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPopMatrix@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glPopClientAttrib@0'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glViewport@16'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glLoadMatrixf@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glMatrixMode@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `__GLEW_EXT_blend_func_separate'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `__glewBlendFuncSeparateEXT'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `__GLEW_EXT_blend_func_separate'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `__glewBlendFuncSeparateEXT'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glBlendFunc@8'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glBlendFunc@8'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glBlendFunc@8'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glBlendFunc@8'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glVertexPointer@16'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glColorPointer@16'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glTexCoordPointer@16'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glDrawArrays@12'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glLoadMatrixf@4'|
..\sfml\lib\libsfml-graphics-s.a(RenderTarget.cpp.obj):RenderTarget.cpp|| undefined reference to `glLoadMatrixf@4'|
||More errors follow but not being shown.|
||Edit the max errors limit in compiler options...|
||=== Build failed: 50 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===|


Please help me... I really want to get it to work :)

Pages: [1]
anything