← Back to team overview

hugin-devs team mailing list archive

[Bug 1034780] [NEW] libhuginbase.so.0.0: undefined reference to `erect_rect'

 

Public bug reported:

Hi,

I'm trying to compile the latest Mercurial version of Hugin (2dd76dd09ddf 2012-08-08) and am getting the following make error:
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_rect'

The full verbose make command was:
make[2]: Entering directory `/home/kyle/software/hugin/build'
Linking CXX executable celeste_standalone
cd /home/kyle/software/hugin/build/src/celeste && /usr/bin/cmake -E cmake_link_script CMakeFiles/celeste_standalone.dir/link.txt --verbose=1
/usr/bin/c++   -L/home/kyle/software/lensfun/lensfun-0.2.6-linux-x86_64/lib/ -llensfun -O3 -O3 -DNDEBUG   CMakeFiles/celeste_standalone.dir/Main.cpp.o  -o celeste_standalone -rdynamic -L/home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib libceleste.so.0.0 ../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0 -lImath -lIlmImf -lIex -lHalf -lIlmThread -ljpeg -ltiff -lpng -lz -lz -lexiv2 ../hugin_base/libhuginbase.so.0.0 /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_thread.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_date_time.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_regex.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_filesystem.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_iostreams.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_system.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_signals.so -lGLEW ../foreign/levmar/libhuginlevmar.a ../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0 -lpthread -lImath -lIlmImf -lIex -lHalf -lIlmThread -ljpeg -lpng -lz ../hugin_base/makefilelib/libmakefilelib.so.0.0 -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext -lglut -lXmu -lXi -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext -lglut -lXmu -lXi -ltiff -lexiv2 /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_thread.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_date_time.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_regex.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_filesystem.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_iostreams.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_system.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_signals.so -lGLEW -Wl,-rpath,/home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib:/home/kyle/software/hugin/build/src/celeste:/home/kyle/software/hugin/build/src/foreign/vigra/vigra_impex:/home/kyle/software/hugin/build/src/hugin_base:/home/kyle/software/hugin/build/src/hugin_base/makefilelib: 
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_rect'
../hugin_base/libhuginbase.so.0.0: undefined reference to `vert'
../hugin_base/libhuginbase.so.0.0: undefined reference to `fcnPano'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_sinusoidal'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_lambert'
../hugin_base/libhuginbase.so.0.0: undefined reference to `sphere_tp_erect'
../hugin_base/libhuginbase.so.0.0: undefined reference to `radial'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetCorrectionRadius'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_sphere_tp'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetOptDefaults'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetAdjustDefaults'
../hugin_base/libhuginbase.so.0.0: undefined reference to `pano_sphere_tp'
../hugin_base/libhuginbase.so.0.0: undefined reference to `PrintError'
../hugin_base/libhuginbase.so.0.0: undefined reference to `shear'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetCoordDefaults'
../hugin_base/libhuginbase.so.0.0: undefined reference to `panoProjectionFormatCount'
../hugin_base/libhuginbase.so.0.0: undefined reference to `vertical'
../hugin_base/libhuginbase.so.0.0: undefined reference to `ParseScript'
../hugin_base/libhuginbase.so.0.0: undefined reference to `persp_sphere'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetCorrectDefaults'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_stereographic'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetImageDefaults'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_transmercator'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetMakeParams'
../hugin_base/libhuginbase.so.0.0: undefined reference to `deregister'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_mercator'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetLMParams'
../hugin_base/libhuginbase.so.0.0: undefined reference to `CheckParams'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetAlignParams'
../hugin_base/libhuginbase.so.0.0: undefined reference to `rotate_erect'
../hugin_base/libhuginbase.so.0.0: undefined reference to `panoProjectionFeaturesQuery'
../hugin_base/libhuginbase.so.0.0: undefined reference to `RunLMOptimizer'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetInvMakeParams'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_lambertazimuthal'
../hugin_base/libhuginbase.so.0.0: undefined reference to `horiz'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetGlobalPtr'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_millercylindrical'
../hugin_base/libhuginbase.so.0.0: undefined reference to `myfree'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_albersequalareaconic'
../hugin_base/libhuginbase.so.0.0: undefined reference to `DisposeAlignInfo'
../hugin_base/libhuginbase.so.0.0: undefined reference to `execute_stack_new'
../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_pano'
../hugin_base/libhuginbase.so.0.0: undefined reference to `SetStitchDefaults'
../hugin_base/libhuginbase.so.0.0: undefined reference to `resize'
../hugin_base/libhuginbase.so.0.0: undefined reference to `queryFOVLimits'
../hugin_base/libhuginbase.so.0.0: undefined reference to `rect_sphere_tp'
../hugin_base/libhuginbase.so.0.0: undefined reference to `distSquared'
collect2: ld returned 1 exit status
make[2]: *** [src/celeste/celeste_standalone] Error 1
make[2]: Leaving directory `/home/kyle/software/hugin/build'

That reference can be found in
"/home/kyle/software/lensfun/lensfun-0.2.6-linux-
x86_64/lib/liblensfun.so" which as you can see
(-L/home/kyle/software/lensfun/lensfun-0.2.6-linux-x86_64/lib/
-llensfun) is already being linked.

Any ideas on this?

I would be happy to supply any further details needed.

I'm trying to compile on a 64-bit Debian machine.

Thanks in advance.

Best regards,
  Kyle Schwarz

** Affects: hugin
     Importance: Undecided
         Status: New


** Tags: liblensfun mercurial reference undefined

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

Title:
  libhuginbase.so.0.0: undefined reference to `erect_rect'

Status in Hugin - Panorama Tools GUI:
  New

Bug description:
  Hi,

  I'm trying to compile the latest Mercurial version of Hugin (2dd76dd09ddf 2012-08-08) and am getting the following make error:
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_rect'

  The full verbose make command was:
  make[2]: Entering directory `/home/kyle/software/hugin/build'
  Linking CXX executable celeste_standalone
  cd /home/kyle/software/hugin/build/src/celeste && /usr/bin/cmake -E cmake_link_script CMakeFiles/celeste_standalone.dir/link.txt --verbose=1
  /usr/bin/c++   -L/home/kyle/software/lensfun/lensfun-0.2.6-linux-x86_64/lib/ -llensfun -O3 -O3 -DNDEBUG   CMakeFiles/celeste_standalone.dir/Main.cpp.o  -o celeste_standalone -rdynamic -L/home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib libceleste.so.0.0 ../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0 -lImath -lIlmImf -lIex -lHalf -lIlmThread -ljpeg -ltiff -lpng -lz -lz -lexiv2 ../hugin_base/libhuginbase.so.0.0 /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_thread.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_date_time.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_regex.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_filesystem.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_iostreams.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_system.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_signals.so -lGLEW ../foreign/levmar/libhuginlevmar.a ../foreign/vigra/vigra_impex/libhuginvigraimpex.so.0.0 -lpthread -lImath -lIlmImf -lIex -lHalf -lIlmThread -ljpeg -lpng -lz ../hugin_base/makefilelib/libmakefilelib.so.0.0 -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext -lglut -lXmu -lXi -lpthread -lGLU -lGL -lSM -lICE -lX11 -lXext -lglut -lXmu -lXi -ltiff -lexiv2 /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_thread.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_date_time.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_regex.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_filesystem.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_iostreams.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_system.so /home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib/libboost_signals.so -lGLEW -Wl,-rpath,/home/kyle/software/boost/boost-1.50.0-linux-x86_64/lib:/home/kyle/software/hugin/build/src/celeste:/home/kyle/software/hugin/build/src/foreign/vigra/vigra_impex:/home/kyle/software/hugin/build/src/hugin_base:/home/kyle/software/hugin/build/src/hugin_base/makefilelib: 
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_rect'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `vert'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `fcnPano'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_sinusoidal'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_lambert'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `sphere_tp_erect'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `radial'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetCorrectionRadius'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_sphere_tp'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetOptDefaults'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetAdjustDefaults'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `pano_sphere_tp'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `PrintError'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `shear'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetCoordDefaults'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `panoProjectionFormatCount'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `vertical'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `ParseScript'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `persp_sphere'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetCorrectDefaults'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_stereographic'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetImageDefaults'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_transmercator'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetMakeParams'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `deregister'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_mercator'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetLMParams'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `CheckParams'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetAlignParams'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `rotate_erect'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `panoProjectionFeaturesQuery'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `RunLMOptimizer'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetInvMakeParams'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_lambertazimuthal'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `horiz'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetGlobalPtr'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_millercylindrical'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `myfree'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_albersequalareaconic'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `DisposeAlignInfo'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `execute_stack_new'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `erect_pano'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `SetStitchDefaults'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `resize'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `queryFOVLimits'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `rect_sphere_tp'
  ../hugin_base/libhuginbase.so.0.0: undefined reference to `distSquared'
  collect2: ld returned 1 exit status
  make[2]: *** [src/celeste/celeste_standalone] Error 1
  make[2]: Leaving directory `/home/kyle/software/hugin/build'

  That reference can be found in
  "/home/kyle/software/lensfun/lensfun-0.2.6-linux-
  x86_64/lib/liblensfun.so" which as you can see
  (-L/home/kyle/software/lensfun/lensfun-0.2.6-linux-x86_64/lib/
  -llensfun) is already being linked.

  Any ideas on this?

  I would be happy to supply any further details needed.

  I'm trying to compile on a 64-bit Debian machine.

  Thanks in advance.

  Best regards,
    Kyle Schwarz

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


Follow ups

References