Author Topic: [Fixed] FTB: d38f8c8a4afb98f17078f766db472829d198b988  (Read 925 times)

tomreyn

  • MegaGlest Team
  • Airship
  • ********
  • Posts: 2,764
    • View Profile
    • MegaGlest - the free and open source cross platform 3D real-time strategy game
[Fixed] FTB: d38f8c8a4afb98f17078f766db472829d198b988
« on: 22 April 2011, 05:10:35 »
d38f8c8a4afb98f17078f766db472829d198b988 fails to build for me on Ubuntu 11.04 beta2 x86_64

Code: [Select]
[  3%] Building CXX object source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/model_renderer_gl.cpp.o
/home/tomreyn/SCM/glestae/source/shared_lib/sources/graphics/gl/model_renderer_gl.cpp: In member function 'virtual void Shared::Graphics::Gl::ModelRendererGl::renderMesh(const Shared::Graphics::Mesh*, int, int, Shared::Graphics::UnitShaderSet*)':
/home/tomreyn/SCM/glestae/source/shared_lib/sources/graphics/gl/model_renderer_gl.cpp:303:23: error: 'anim' was not declared in this scope
/home/tomreyn/SCM/glestae/source/shared_lib/sources/graphics/gl/model_renderer_gl.cpp:304:53: error: call of overloaded 'setUniform(const char [16], int&)' is ambiguous
/home/tomreyn/SCM/glestae/source/shared_lib/include/graphics/gl/shader.h:38:15: note: candidates are: virtual bool Shared::Graphics::ShaderProgram::setUniform(const std::string&, GLuint)
/home/tomreyn/SCM/glestae/source/shared_lib/include/graphics/gl/shader.h:39:15: note:                 virtual bool Shared::Graphics::ShaderProgram::setUniform(const std::string&, GLfloat)
/home/tomreyn/SCM/glestae/source/shared_lib/sources/graphics/gl/model_renderer_gl.cpp:305:47: error: call of overloaded 'setUniform(const char [13], int&)' is ambiguous
/home/tomreyn/SCM/glestae/source/shared_lib/include/graphics/gl/shader.h:38:15: note: candidates are: virtual bool Shared::Graphics::ShaderProgram::setUniform(const std::string&, GLuint)
/home/tomreyn/SCM/glestae/source/shared_lib/include/graphics/gl/shader.h:39:15: note:                 virtual bool Shared::Graphics::ShaderProgram::setUniform(const std::string&, GLfloat)
make[2]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/sources/graphics/gl/model_renderer_gl.cpp.o] Error 1
make[1]: *** [source/shared_lib/CMakeFiles/shared_lib.dir/all] Error 2
make: *** [all] Error 2
« Last Edit: 22 April 2011, 15:57:44 by tomreyn »
atibox: Ryzen 1800X (8 cores @3.6GHz), 32 GB RAM, MSI Radeon RX 580 Gaming X 8G, PCI subsystem ID [1462:3417], (Radeon RX 580 chipset, POLARIS10) @3440x1440; latest stable Ubuntu release, (open source) radeon (amdgpu) / mesa video driver
atibox (old): Core2Quad Q9400 (4 cores @2.66GHz), 8 GB RAM, XFX HD-467X-DDF2, PCI subsystem ID [1682:2931], (Radeon HD 4670, RV730 XT) @1680x1050; latest stable Ubuntu release, (open source) radeon / mesa video driver
notebook: HP envy13d020ng
internet access: VDSL2+

· · · How YOU can contribute to MG · Latest development snapshot · How to build yourself · Megapack techtree · Currently hosted MG games · · ·

hailstone

  • Local Moderator
  • Battle Machine
  • ********
  • Posts: 1,568
    • View Profile
Re: FTB: d38f8c8a4afb98f17078f766db472829d198b988
« Reply #1 on: 22 April 2011, 05:54:22 »
I've applied a fix to make it compile.
Glest Advanced Engine - Admin/Programmer
https://sourceforge.net/projects/glestae/

silnarm

  • Local Moderator
  • Behemoth
  • ********
  • Posts: 1,373
    • View Profile
Re: FTB: d38f8c8a4afb98f17078f766db472829d198b988
« Reply #2 on: 22 April 2011, 08:48:45 »
sorry guys.. I was tired and it seems I had a bit of a brain freeze  :|

Everything should work again, the basic shader even does point lights now  ;)

But shadow mapping is still broken.
Glest Advanced Engine - Code Monkey

Timeline | Downloads