Help needed with building imagevis3d

Felix Geyer debfx at ubuntu.com
Sun Feb 26 11:27:33 UTC 2012


Hi,

On 26.02.2012 10:11, Andreas Moog wrote:
> Hi there,
>
> I'm a bit stuck on the buildfailure of imagevis3d in the archive:
>
> https://launchpad.net/ubuntu/+source/imagevis3d/2.0.1-4ubuntu1
> (amd64 build in this log)
>
>> ../Tuvok/Build/libTuvok.a(GLFBOTex.o): In function `tuvok::GLFBOTex::initTextures(unsigned int, unsigned int, unsigned int, int, int, unsigned int)':
>> /build/buildd/imagevis3d-2.0.1/Tuvok/Renderer/GL/GLFBOTex.cpp:187: undefined reference to `gluErrorString'
>> /build/buildd/imagevis3d-2.0.1/Tuvok/Renderer/GL/GLFBOTex.cpp:188: undefined reference to `gluErrorString'
>> /build/buildd/imagevis3d-2.0.1/Tuvok/Renderer/GL/GLFBOTex.cpp:189: undefined reference to `gluErrorString'
>> /build/buildd/imagevis3d-2.0.1/Tuvok/Renderer/GL/GLFBOTex.cpp:190: undefined reference to `gluErrorString'
>> /build/buildd/imagevis3d-2.0.1/Tuvok/Renderer/GL/GLFBOTex.cpp:191: undefined reference to `gluErrorString'
>> ../Tuvok/Build/libTuvok.a(GLFBOTex.o):/build/buildd/imagevis3d-2.0.1/Tuvok/Renderer/GL/GLFBOTex.cpp:209: more undefined references to `gluErrorString' follow
> The error seems to relate to a missing -lGLU for the renderer, so I
> added a patch to link with -lGLU.
>
> This works on my local machine, be it on the live system or a up-to-date
> chroot with sbuild:
>
> http://people.ubuntu.com/~amoog/imagevis3d_2.0.1-4ubuntu1-amd64-20120226-1000.gz
>
> What is wrong with my patch? Why does it work in local sbuild but not on
> the buildd? Any hints for debugging this?
>
> Cheers,
>   Andreas

I have no idea why the build works on your local machine. I get the same error when
building locally with pbuilder.

It seems like you need to add "-lGLU" to some more qmake project files:
ImageVis3D/ImageVis3D.pro
CmdLineConverter/CmdLineConverter.pro
UVFReader/UVFReader.pro

Felix



More information about the ubuntu-devel mailing list