so, I downloaded and compiled the most recent version of sfml on git, but I still can't get my program to compile.
If I link with glew.lib (the one in included in sfml)
I still can't use glew myself and I get these errors:
1>------ Build started: Project: VoxelGame, Configuration: Release Win32 ------
1>Linking...
1>main.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glClear@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
1>main.obj : error LNK2001: unresolved external symbol __imp__glDrawElements@16
1>main.obj : error LNK2001: unresolved external symbol _glewInit@0
1>main.obj : error LNK2001: unresolved external symbol _glewGetString@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glDepthMask@4
1>main.obj : error LNK2001: unresolved external symbol _glewGetErrorString@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glCullFace@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
1>main.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
1>sfml-window-s.lib(GlContext.obj) : error LNK2001: unresolved external symbol __imp__glEnable@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glFrontFace@4
1>glew.lib(glew.obj) : error LNK2001: unresolved external symbol __imp__wglGetProcAddress@4
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglGetProcAddress@4
1>glew.lib(glew.obj) : error LNK2001: unresolved external symbol __imp__glGetString@4
1>sfml-window-s.lib(GlContext.obj) : error LNK2001: unresolved external symbol __imp__glGetString@4
1>glew.lib(glew.obj) : error LNK2001: unresolved external symbol __imp__wglGetCurrentDC@0
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglGetCurrentContext@0
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglShareLists@8
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglCreateContext@4
1>sfml-window-s.lib(JoystickImpl.obj) : error LNK2001: unresolved external symbol __imp__joyGetPosEx@8
1>sfml-window-s.lib(JoystickImpl.obj) : error LNK2001: unresolved external symbol __imp__joyGetDevCapsW@12
1>sfml-system-s.lib(SleepImpl.obj) : error LNK2001: unresolved external symbol __imp__timeEndPeriod@4
1>sfml-system-s.lib(SleepImpl.obj) : error LNK2001: unresolved external symbol __imp__timeBeginPeriod@4
1>sfml-system-s.lib(SleepImpl.obj) : error LNK2001: unresolved external symbol __imp__timeGetDevCaps@8
1>C:\Users\Manu\Desktop\Coding\OpenGL\VoxelGame\Release\VoxelGame.exe : fatal error LNK1120: 25 unresolved externals
1>Build log was saved at "file://c:\Users\Manu\Desktop\Coding\OpenGL\VoxelGame\VoxelGame\Release\BuildLog.htm"
1>VoxelGame - 29 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
If I include glew32s.lib (the one from my own copy of glew)
I get these errors:
1>------ Build started: Project: VoxelGame, Configuration: Release Win32 ------
1>Linking...
1>main.obj : error LNK2001: unresolved external symbol __imp__glDepthFunc@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glClear@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glClearColor@16
1>main.obj : error LNK2001: unresolved external symbol __imp__glDrawElements@16
1>main.obj : error LNK2001: unresolved external symbol __imp__glDepthMask@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glCullFace@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glViewport@16
1>main.obj : error LNK2001: unresolved external symbol __imp__glEnable@4
1>sfml-window-s.lib(GlContext.obj) : error LNK2001: unresolved external symbol __imp__glEnable@4
1>main.obj : error LNK2001: unresolved external symbol __imp__glFrontFace@4
1>glew32s.lib(glew.obj) : error LNK2001: unresolved external symbol __imp__wglGetProcAddress@4
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglGetProcAddress@4
1>glew32s.lib(glew.obj) : error LNK2001: unresolved external symbol __imp__glGetString@4
1>sfml-window-s.lib(GlContext.obj) : error LNK2001: unresolved external symbol __imp__glGetString@4
1>glew32s.lib(glew.obj) : error LNK2001: unresolved external symbol __imp__wglGetCurrentDC@0
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglDeleteContext@4
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglMakeCurrent@8
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglGetCurrentContext@0
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglShareLists@8
1>sfml-window-s.lib(WglContext.obj) : error LNK2001: unresolved external symbol __imp__wglCreateContext@4
1>sfml-window-s.lib(JoystickImpl.obj) : error LNK2001: unresolved external symbol __imp__joyGetPosEx@8
1>sfml-window-s.lib(JoystickImpl.obj) : error LNK2001: unresolved external symbol __imp__joyGetDevCapsW@12
1>sfml-system-s.lib(SleepImpl.obj) : error LNK2001: unresolved external symbol __imp__timeEndPeriod@4
1>sfml-system-s.lib(SleepImpl.obj) : error LNK2001: unresolved external symbol __imp__timeBeginPeriod@4
1>sfml-system-s.lib(SleepImpl.obj) : error LNK2001: unresolved external symbol __imp__timeGetDevCaps@8
1>C:\Users\Manu\Desktop\Coding\OpenGL\VoxelGame\Release\VoxelGame.exe : fatal error LNK1120: 22 unresolved externals
1>Build log was saved at "file://c:\Users\Manu\Desktop\Coding\OpenGL\VoxelGame\VoxelGame\Release\BuildLog.htm"
1>VoxelGame - 26 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
Am I soing something wrong ?