Hi there.
I am new to forum. I compiled spring in VS but getting errors, don't know whats the reason. can any one help me figuring it out or any brief tutorial about the complexities. Kindly answer ASAP.
Here is log of compilation
1>------ Build started: Project: rts, Configuration: No debug Win32 ------
1>Compiling...
1>LuaUnsyncedRead.cpp
1>LuaUnsyncedCtrl.cpp
1>LuaSyncedCtrl.cpp
1>LuaShaders.cpp
1>..\..\Lua\LuaUnsyncedCtrl.cpp(12) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>LuaParser.cpp
1>..\..\Lua\LuaUnsyncedRead.cpp(13) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>LuaOpenGL.cpp
1>..\..\Lua\LuaShaders.cpp(415) : error C2065: '__glewProgramParameteriEXT' : undeclared identifier
1>..\..\Lua\LuaShaders.cpp(420) : error C2065: 'GL_GEOMETRY_INPUT_TYPE_EXT' : undeclared identifier
1>..\..\Lua\LuaShaders.cpp(421) : error C2065: 'GL_GEOMETRY_OUTPUT_TYPE_EXT' : undeclared identifier
1>..\..\Lua\LuaShaders.cpp(422) : error C2065: 'GL_GEOMETRY_VERTICES_OUT_EXT' : undeclared identifier
1>..\..\Lua\LuaShaders.cpp(430) : error C3861: 'glProgramParameteriEXT': identifier not found
1>..\..\Lua\LuaShaders.cpp(463) : error C2065: 'GL_GEOMETRY_SHADER_EXT' : undeclared identifier
1>..\..\Lua\LuaShaders.cpp(862) : error C3861: 'glProgramParameteriEXT': identifier not found
1>LuaHandle.cpp
1>..\..\Lua\LuaOpenGL.cpp(17) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>LuaFBOs.cpp
1>..\..\Lua\LuaHandle.cpp(7) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>TerrainTexture.cpp
1>..\..\Lua\LuaFBOs.cpp(60) : error C2065: 'GLEW_EXT_framebuffer_blit' : undeclared identifier
1>..\..\Lua\LuaFBOs.cpp(209) : error C2065: 'GL_DRAW_FRAMEBUFFER_EXT' : undeclared identifier
1>..\..\Lua\LuaFBOs.cpp(209) : error C2051: case expression not constant
1>..\..\Lua\LuaFBOs.cpp(209) : error C2065: 'GL_DRAW_FRAMEBUFFER_BINDING_EXT' : undeclared identifier
1>..\..\Lua\LuaFBOs.cpp(210) : error C2065: 'GL_READ_FRAMEBUFFER_EXT' : undeclared identifier
1>..\..\Lua\LuaFBOs.cpp(210) : error C2051: case expression not constant
1>..\..\Lua\LuaFBOs.cpp(210) : error C2065: 'GL_READ_FRAMEBUFFER_BINDING_EXT' : undeclared identifier
1>..\..\Lua\LuaFBOs.cpp(582) : error C3861: 'glBlitFramebufferEXT': identifier not found
1>..\..\Lua\LuaFBOs.cpp(610) : error C3861: 'glBlitFramebufferEXT': identifier not found
1>Lightcalc.cpp
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>Sm3GroundDrawer.cpp
1>..\..\Map\SM3\terrain\TerrainTexture.cpp(47) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>BFGroundTextures.cpp
1>..\..\Map\SMF\BFGroundTextures.cpp(202) : error C2065: 'GL_PIXEL_UNPACK_BUFFER' : undeclared identifier
1>UDPListener.cpp
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>UDPConnection.cpp
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>VorbisShared.cpp
1>..\..\System\Sound\VorbisShared.cpp(3) : fatal error C1083: Cannot open include file: 'vorbis/vorbisfile.h': No such file or directory
1>SoundSource.cpp
1>..\..\System\Sound\SoundSource.cpp(5) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>SoundBuffer.cpp
1>..\..\System\Sound\SoundBuffer.cpp(3) : fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory
1>OggStream.cpp
1>c:\documents and settings\administrator\desktop\spring_0.79.1.2\rts\system\sound\OggStream.h(5) : fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory
1>Music.cpp
1>c:\documents and settings\administrator\desktop\spring_0.79.1.2\rts\system\sound\OggStream.h(5) : fatal error C1083: Cannot open include file: 'ogg/ogg.h': No such file or directory
1>LoadSaveHandler.cpp
1>..\..\Map\SM3\Sm3GroundDrawer.cpp(16) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>CrashHandler.cpp
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>errorhandler.cpp
1>..\..\System\Platform\errorhandler.cpp(14) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1>TimeProfiler.cpp
1>..\..\System\TimeProfiler.cpp(6) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>SpringApp.cpp
1>..\..\System\Platform\Win\CrashHandler.cpp(8) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1>NetProtocol.cpp
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>MouseInput.cpp
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>Main.cpp
1>..\..\System\SpringApp.cpp(7) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1>GlobalUnsynced.cpp
1>..\..\System\NetProtocol.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>PathManager.cpp
1>..\..\System\MouseInput.cpp(17) : fatal error C1083: Cannot open include file: 'SDL_events.h': No such file or directory
1>GroupHandler.cpp
1>..\..\System\Main.cpp(19) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1>myGL.cpp
1>..\..\Sim\Path\PathManager.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>glList.cpp
1>..\..\System\GlobalUnsynced.cpp(27) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>FBO.cpp
1>..\..\Rendering\GL\myGL.cpp(4) : fatal error C1083: Cannot open include file: 'SDL.h': No such file or directory
1>BumpWater.cpp
1>..\..\Sim\Units\Groups\GroupHandler.cpp(18) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>InMapDraw.cpp
1>..\..\Rendering\InMapDraw.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_mouse.h': No such file or directory
1>..\..\Rendering\GL\glList.cpp(7) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>glFont.cpp
1>FontTexture.cpp
1>..\..\Rendering\FontTexture.cpp(22) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory
1>TWController.cpp
1>..\..\Rendering\glFont.cpp(10) : fatal error C1083: Cannot open include file: 'ft2build.h': No such file or directory
1>SmoothController.cpp
1>..\..\Rendering\GL\FBO.cpp(91) : error C2065: 'GL_RENDERBUFFER_RED_SIZE_EXT' : undeclared identifier
1>..\..\Rendering\GL\FBO.cpp(92) : error C2065: 'GL_RENDERBUFFER_GREEN_SIZE_EXT' : undeclared identifier
1>..\..\Rendering\GL\FBO.cpp(93) : error C2065: 'GL_RENDERBUFFER_BLUE_SIZE_EXT' : undeclared identifier
1>..\..\Rendering\GL\FBO.cpp(94) : error C2065: 'GL_RENDERBUFFER_ALPHA_SIZE_EXT' : undeclared identifier
1>..\..\Rendering\GL\FBO.cpp(95) : error C2065: 'GL_RENDERBUFFER_DEPTH_SIZE_EXT' : undeclared identifier
1>..\..\Rendering\GL\FBO.cpp(96) : error C2065: 'GL_RENDERBUFFER_STENCIL_SIZE_EXT' : undeclared identifier
1>OverheadController.cpp
1>..\..\Game\Camera\TWController.cpp(3) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>OrbitController.cpp
1>..\..\Game\Camera\SmoothController.cpp(3) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>FreeController.cpp
1>..\..\Game\Camera\OverheadController.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>ShareBox.cpp
1>..\..\Game\Camera\FreeController.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>SelectionKeyHandler.cpp
1>..\..\Game\Camera\OrbitController.cpp(3) : fatal error C1083: Cannot open include file: 'SDL_mouse.h': No such file or directory
1>QuitBox.cpp
1>..\..\Game\UI\ShareBox.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>MouseHandler.cpp
1>..\..\Rendering\Env\BumpWater.cpp(701) : error C2065: 'GL_PIXEL_UNPACK_BUFFER' : undeclared identifier
1>MiniMap.cpp
1>..\..\Game\UI\SelectionKeyHandler.cpp(3) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>LuaUI.cpp
1>..\..\Game\UI\QuitBox.cpp(2) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>KeySet.cpp
1>..\..\Game\UI\MiniMap.cpp(6) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>KeyCodes.cpp
1>..\..\Game\UI\LuaUI.cpp(9) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>KeyBindings.cpp
1>../../System\MouseInput.h(4) : fatal error C1083: Cannot open include file: 'SDL_events.h': No such file or directory
1>HwMouseCursor.cpp
1>..\..\Game\UI\KeySet.cpp(11) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>GuiHandler.cpp
1>..\..\Game\UI\KeyCodes.cpp(10) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>GameSetupDrawer.cpp
1>..\..\Game\UI\KeyBindings.cpp(13) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>GameInfo.cpp
1>..\..\Game\UI\GuiHandler.cpp(13) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>WaitCommandsAI.cpp
1>..\..\Game\UI\GameSetupDrawer.cpp(6) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>SelectMenu.cpp
1>../../System\MouseInput.h(4) : fatal error C1083: Cannot open include file: 'SDL_events.h': No such file or directory
1>..\..\Game\UI\GameInfo.cpp(4) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>SelectedUnits.cpp
1>PreGame.cpp
1>..\..\Game\WaitCommandsAI.cpp(8) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>GameServer.cpp
1>..\..\Game\SelectMenu.cpp(4) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>Game.cpp
1>..\..\Game\PreGame.cpp(4) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>AICheats.cpp
1>..\..\Game\SelectedUnits.cpp(7) : fatal error C1083: Cannot open include file: 'SDL_keysym.h': No such file or directory
1>..\..\Game\Game.cpp(19) : fatal error C1083: Cannot open include file: 'SDL_keyboard.h': No such file or directory
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>../../System/myTime.h(3) : fatal error C1083: Cannot open include file: 'SDL_timer.h': No such file or directory
1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\spring_0.79.1.2\rts\build\vstudio8\Release\BuildLog.htm"
1>rts - 81 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
compiling with visual studios 2005
Moderator: Moderators
Re: compiling with visual studios 2005
for long texts, like logs, use pastebin.com.
Also, pls explain how you did compile more closely. Did you generate a VS project with CMake? or have you used a projects file from somewhere else, or made one manually? Have you followed the description on the wiki?
http://springrts.com/wiki/Building_Spri ... .282005.29
The vclibs package may not contian all the required packages as of now (eg boost signals).
Also, pls explain how you did compile more closely. Did you generate a VS project with CMake? or have you used a projects file from somewhere else, or made one manually? Have you followed the description on the wiki?
http://springrts.com/wiki/Building_Spri ... .282005.29
The vclibs package may not contian all the required packages as of now (eg boost signals).
Re: compiling with visual studios 2005
those errors look like you didn't properly install spring's vclibs - look for them on github. also, upgrade to VS2008 if you can. the free express edition should be able to compile spring without issues.
Re: compiling with visual studios 2005
Yes i have followed that steps (http://springrts.com/wiki/Building_Spri ... .282005.29) but i have used DirectX SDK as of March 2009 and Latest Windows SDK (Platform SDK). i have put vclibs in root directory of spring directly as (spring_0.79.1.2\vclibs) I have checked it on VS 2005 and VS Express 2008 but no success.hoijui wrote:for long texts, like logs, use pastebin.com.
Also, pls explain how you did compile more closely. Did you generate a VS project with CMake? or have you used a projects file from somewhere else, or made one manually? Have you followed the description on the wiki?
http://springrts.com/wiki/Building_Spri ... .282005.29
The vclibs package may not contian all the required packages as of now (eg boost signals).
Re: compiling with visual studios 2005
zerver wrote:Check if this vclibs package helps:
http://cloud.github.com/downloads/sprin ... ibs-v4.zip
i have used v4.zip lib as you mentioned but now compilation log tell me this.every other thing compiled with only one error.seems some file is missing.
1>------ Build started: Project: rts, Configuration: No debug Win32 ------
1>Linking...
1>LINK : fatal error LNK1104: cannot open file 'libboost_thread-vc90-mt-1_38.lib'
1>Build log was saved at "file://c:\Documents and Settings\Administrator\Desktop\spring_0.79.1.2\rts\build\vstudio8\Release\BuildLog.htm"
1>rts - 1 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
- very_bad_soldier
- Posts: 1397
- Joined: 20 Feb 2007, 01:10
Re: compiling with visual studios 2005
You probably dont have the binary libs of boost? The vclibs-package doesnt include the binaries compiled for vc9 it seems.
Try building them yourself or download binary packages for vc9 I would say.
Try building them yourself or download binary packages for vc9 I would say.
Re: compiling with visual studios 2005
Correct, the package in my link is for vc8.
Re: compiling with visual studios 2005
DirectX SDK is necessary for source code compilation in Windows ?
Re: compiling with visual studios 2005
Yes, doesn't the wiki say that? Along with the platform sdk.