| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
| ID | Project | Category | View Status | Date Submitted | Last Update | ||||
|---|---|---|---|---|---|---|---|---|---|
| 0004955 | Spring engine | Linux | public | 2015-09-16 23:23 | 2015-09-17 11:34 | ||||
| Reporter | cupakm | ||||||||
| Assigned To | abma | ||||||||
| Priority | normal | Severity | major | Reproducibility | have not tried | ||||
| Status | resolved | Resolution | no change required | ||||||
| Product Version | 100.0+git | ||||||||
| Target Version | Fixed in Version | ||||||||
| Summary | 0004955: Build From Source on Linux - GlobalRendering.cpp:244:17: error: ‘GL_MAX_UNIFORM_BUFFER_BINDINGS’ was not declared in this scope | ||||||||
| Description | [ 52%] Building CXX object rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Rendering/GlobalRendering.cpp.o /home/marek/installs/Spring/spring/rts/Rendering/GlobalRendering.cpp: In member function ‘void CGlobalRendering::PostInit()’: /home/marek/installs/Spring/spring/rts/Rendering/GlobalRendering.cpp:244:17: error: ‘GL_MAX_UNIFORM_BUFFER_BINDINGS’ was not declared in this scope glGetIntegerv(GL_MAX_UNIFORM_BUFFER_BINDINGS, &glslMaxUniformBufferBindings); ^ /home/marek/installs/Spring/spring/rts/Rendering/GlobalRendering.cpp:245:17: error: ‘GL_MAX_UNIFORM_BLOCK_SIZE’ was not declared in this scope glGetIntegerv(GL_MAX_UNIFORM_BLOCK_SIZE, &glslMaxUniformBufferSize); ^ rts/builds/legacy/CMakeFiles/engine-legacy.dir/build.make:4102: recipe for target 'rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Rendering/GlobalRendering.cpp.o' failed make[3]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/__/__/Rendering/GlobalRendering.cpp.o] Error 1 CMakeFiles/Makefile2:3750: recipe for target 'rts/builds/legacy/CMakeFiles/engine-legacy.dir/all' failed make[2]: *** [rts/builds/legacy/CMakeFiles/engine-legacy.dir/all] Error 2 CMakeFiles/Makefile2:3696: recipe for target 'rts/builds/CMakeFiles/spring.dir/rule' failed make[1]: *** [rts/builds/CMakeFiles/spring.dir/rule] Error 2 Makefile:1084: recipe for target 'spring' failed make: *** [spring] Error 2 marek@debian:~/installs/Spring/spring$ | ||||||||
| Steps To Reproduce | marek@debian:~/installs/Spring/spring$ cmake . -- gcc 4.9.2 detected -- Boost version: 1.55.0 -- Found the following Boost libraries: -- thread -- regex -- program_options -- system -- chrono -- signals -- filesystem -- Could NOT find Boost -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread (found version "2.0.2") -- Building Spring for 64bit environment -- Found ld.gold -- Compiling with C++11 -- using mtune=generic -- Building Assimp with flags -fuse-ld=gold -std=gnu++11 -fdiagnostics-color=always -mtune=generic -msse -mfpmath=sse -mno-sse2 -mno-sse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -mno-sse4 -mno-sse4a -mno-avx -mno-fma -mno-fma4 -mno-xop -mno-lwp -mno-avx2 -frounding-math -mieee-fp -pipe -fno-strict-aliasing -fvisibility=hidden -fvisibility-inlines-hidden -pthread -- Found AI Wrapper: CUtils (sources only wrapper) -- Found AI Interface: C-AIInterface 0.1 -- Found AI Interface: Java-AIInterface 0.1 -- Found AI Wrapper: JavaOO -- Found vecmath.jar: /home/marek/installs/Spring/spring/AI/Wrappers/JavaOO/jlib/vecmath.jar -- Found AI Wrapper: Cpp-AIWrapper -- Found AI Wrapper: LegacyCpp-AIWrapper -- Found AI Wrapper: LegacyCpp-Creg-AIWrapper -- Found Skirmish AI: Shard dev -- Found Skirmish AI: HughAI 0.1 -- Found Skirmish AI: RAI 0.601 -- Found Skirmish AI: KAIK 0.13 -- Found Skirmish AI: E323AI 3.25.0 -- Found Skirmish AI: CppTestAI 0.1 -- Found Skirmish AI: NullOOJavaAI 0.1 (config: default) -- Found Skirmish AI: NullJavaAI 0.1 (config: default) -- Found Skirmish AI: AAI 0.9 -- Found Skirmish AI: NullAI 0.1 -- PR-Downloader version: 0.7-176-gdfb39db -- libminizip was not found, using integrated -- Boost version: 1.55.0 -- Found the following Boost libraries: -- unit_test_framework -- MAN pages will not be generated/installed; missing utilit(y|ies): asciidoc -- /home/marek/installs/Spring/spring/springsettings.cfg already exists! -- Found libunwind libraries at /usr/lib/x86_64-linux-gnu/libunwind.so -- Found SDL2: /usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2main.a;/usr/lib/x86_64-linux-gnu/libSDL2.so;-lpthread;-lpthread (found version "2.0.2") -- Using legacy as default engine -- Boost version: 1.55.0 -- Found the following Boost libraries: -- unit_test_framework -- Configuring done -- Generating done -- Build files have been written to: /home/marek/installs/Spring/spring marek@debian:~/installs/Spring/spring$ make spring | ||||||||
| Tags | No tags attached. | ||||||||
| Checked infolog.txt for Errors | |||||||||
| Attached Files |  | ||||||||
|  Notes | |
| abma (administrator) 2015-09-17 11:22 | which version of spring are you trying to compile? that looks like the same error: https://springrts.com/phpbb/viewtopic.php?t=32428 | 
| abma (administrator) 2015-09-17 11:26 | https://springrts.com/phpbb/viewtopic.php?t=32428#p560405 try a full recompile: this will delete ALL files not inside the repo: $ git clean -d -f -x (so be careful when using this!) | 
| abma (administrator) 2015-09-17 11:34 | added a todo: 0004955 (the detecting of include directories needs a cleanup | 
|  Issue History | |||
| Date Modified | Username | Field | Change | 
|---|---|---|---|
| 2015-09-16 23:23 | cupakm | New Issue | |
| 2015-09-17 11:22 | abma | Note Added: 0015184 | |
| 2015-09-17 11:22 | abma | Assigned To | => abma | 
| 2015-09-17 11:22 | abma | Status | new => feedback | 
| 2015-09-17 11:26 | abma | Note Added: 0015185 | |
| 2015-09-17 11:34 | abma | Note Added: 0015186 | |
| 2015-09-17 11:34 | abma | Status | feedback => resolved | 
| 2015-09-17 11:34 | abma | Resolution | open => no change required | 

 
	