← Back to team overview

hugin-devs team mailing list archive

[Bug 1847254] Re: hugin-2019.0.0 fails to build

 

I could workaround the problem by not removing FindGLEW.cmake anymore
since either it was shipped by CMake directly before or something might
have changed with recent glew versions and their shipped CMake modules.

[...]
-- Found GLEW: /usr/x86_64-pc-linux-gnu/lib64/cmake/glew/glew-config.cmake
[...]

vs. FindGLEW.cmake shipped with hugin:
[...]
-- Found Glew: /usr/x86_64-pc-linux-gnu/lib/libGLEW.so
[...]

Guess this bug can be closed since it was caused by downstream changes
and if you don't intent to rely on the CMake modules shipped with glew
in the future.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Hugin.
https://bugs.launchpad.net/bugs/1847254

Title:
  hugin-2019.0.0 fails to build

Status in Hugin:
  New

Bug description:
  I get linking errors like:

  [...]
  [ 41%] Linking CXX executable nona
  cd /var/tmp/paludis/build/media-gfx-hugin-2019.0.0/work/build/src/tools && /usr/x86_64-pc-linux-gnu/bin/cmake -E cmake_link_script CMakeFiles/nona.dir/link.txt --verbose=1
  /usr/bin/x86_64-pc-linux-gnu-c++  -march=native -O2 -pipe  -lpthread -fopenmp -rdynamic CMakeFiles/nona.dir/nona.cpp.o  -o nona -Wl,-rpath,/var/tmp/paludis/build/media-gfx-hugin-2019.0.0/work/build/src/hugin_base: ../hugin_base/libhuginbase.so.0.0 -lpano13 ../foreign/levmar/libhuginlevmar.a /usr/x86_64-pc-linux-gnu/lib64/libboost_filesystem.so.1.71.0 /usr/x86_64-pc-linux-gnu/lib64/libboost_system.so.1.71.0 -lfftw3 -lvigraimpex -lImath -lIlmImf -lIex -lHalf -lIlmThread -lz -ljpeg -ltiff -lpng -lz -lz -llcms2 -lvigraimpex -lImath -lIlmImf -lIex -lHalf -lIlmThread -lz -ljpeg -ltiff -lpng -lz -lz -lGL -lGLU -pthread -lX11 -lexiv2 -lpano13 -lsqlite3 -lImath -lIlmImf -lIex -lHalf -lIlmThread -ljpeg -lpng -lImath -lIlmImf -lIex -lHalf -lIlmThread -lz -ljpeg -lpng -lvigraimpex -ltiff -llcms2 -lGL -lGLU 
  make[2]: Leaving directory '/var/tmp/paludis/build/media-gfx-hugin-2019.0.0/work/build'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewMultiTexCoord2f'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewUniform1iARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewGetObjectParameterivARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewFramebufferTexture2DEXT'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewCreateProgramObjectARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `glewGetErrorString'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewGetInfoLogARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewShaderSourceARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewCheckFramebufferStatusEXT'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewCreateShaderObjectARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewDeleteObjectARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewAttachObjectARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewDeleteFramebuffersEXT'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewGenFramebuffersEXT'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `glewGetExtension'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewGetUniformLocationARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewUseProgramObjectARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewBindFramebufferEXT'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewCompileShaderARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewLinkProgramARB'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewActiveTexture'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `glewInit'
  /usr/x86_64-pc-linux-gnu/bin/x86_64-pc-linux-gnu-ld: ../hugin_base/libhuginbase.so.0.0: undefined reference to `__glewUniform2fARB'
  collect2: error: ld returned 1 exit status
  make[2]: *** [src/tools/CMakeFiles/nona.dir/build.make:144: src/tools/nona] Error 1
  make[1]: *** [CMakeFiles/Makefile2:449: src/tools/CMakeFiles/nona.dir/all] Error 2
  make[1]: *** Waiting for unfinished jobs....
  [...]

  Complete build log is attached as file.

To manage notifications about this bug go to:
https://bugs.launchpad.net/hugin/+bug/1847254/+subscriptions


References