Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problem compiling on ubuntu 7.10
11-28-2007, 06:28 AM,
#1
Problem compiling on ubuntu 7.10
I'm try to compile rev 1876 with ubuntu 7.10 x386 but it get this error:

Code:
build/shader.o: In function `SHADER::UploadActiveShaderParameter1f(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float)':
/home/enricox/vdrift/src/shader.cpp:228: undefined reference to `glUniform1f'
build/shader.o: In function `SHADER::UploadActiveShaderParameter1i(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int)':
/home/enricox/vdrift/src/shader.cpp:220: undefined reference to `glUniform1i'
build/shader.o: In function `SHADER::UploadMat16(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, float*)':
/home/enricox/vdrift/src/shader.cpp:212: undefined reference to `glUniformMatrix4fv'
build/shader.o: In function `SHADER::EndScene()':
/home/enricox/vdrift/src/shader.cpp:126: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:129: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:132: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:135: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:138: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:145: undefined reference to `glUniform3f'
/home/enricox/vdrift/src/shader.cpp:159: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:162: undefined reference to `glUniform1f'
/home/enricox/vdrift/src/shader.cpp:165: undefined reference to `glUniform1f'
collect2: ld returned 1 exit status
scons: *** [build/vdrift] Error 1
scons: building terminated because of errors.

since few rev ago I was able to compile without problems...any ideas ?
Reply
11-28-2007, 11:05 AM,
#2
 
That code hasn't changed for quite a while. It looks like it's having trouble finding the right opengl headers (because it's complaining that it doesn't know about glUniform1, which should be defined in the newest opengl headers). Is there any reason that your opengl headers would have changed recently?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)