[ptx] Compiling on debian

Chris debian at freemail.hu
Thu Jul 29 16:10:05 BST 2004


Hi,

yet another compilation problem... This one comes on debian linux,
with the latest CVS (but one month ago there was the same problem).
I used configure --gtk=2. Linking hugin throws the following error:

g++   -o hugin .obj/huginApp.o .obj/ImagesList.o
  .obj/AutoCtrlPointCreator.o .obj/MainFrame.o .obj/CPImageCtrl.o
  .obj/CPEditorPanel.o .obj/LensPanel.o .obj/ImagesPanel.o
  .obj/ImageCache.o .obj/CommandHistory.o .obj/PanoPanel.o
  .obj/NonaStitcherPanel.o .obj/PTStitcherPanel.o .obj/PreviewFrame.o
  .obj/PreviewPanel.o .obj/ImageCenter.o .obj/OptimizePanel.o
  .obj/RunOptimizerFrame.o .obj/RunStitcherFrame.o .obj/CPListFrame.o
  .obj/TextKillFocusHandler.o .obj/ImageOrientationPanel.o
  .obj/ImageOrientationFrame.o .obj/PanoDruid.o .obj/MyProgressDialog.o
  .obj/UniversalCursor.o -L../lib -lwx_gtk-2.4 -lwx_gtk_xrc-2.4 -pthread
  -lvigra_impex -ltiff -ljpeg -lpng -lz -lpanorama -ljhead -lcommon
  -lvigra_ext  -lpano12   

obj/ImagesList.o(.gnu.linkonce.r._ZTV14ImagesListLens+0x1d0):/usr/include/c++/3.3/bits/stl_tree.h:426:
undefined reference to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
.obj/ImagesList.o(.gnu.linkonce.r._ZTV15ImagesListImage+0x1d0):/usr/include/c++/3.3/bits/stl_tree.h:426:
undefined reference to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
.obj/ImagesList.o(.gnu.linkonce.r._ZTV10ImagesList+0x1d0):/usr/include/c++/3.3/bits/stl_tree.h:426:
undefined reference to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
.obj/MainFrame.o(.gnu.linkonce.r._ZTV9MainFrame+0x1d0):../include/vigra_ext/Correlation.h:126:
undefined reference to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
.obj/CPImageCtrl.o(.gnu.linkonce.r._ZTV11CPImageCtrl+0x1d0):/home/chris/try/hugin/src/hugin/CPImageCtrl.cpp:52:
undefined reference to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
.obj/CPEditorPanel.o(.gnu.linkonce.r._ZTV13CPEditorPanel+0x1d0):/usr/include/c++/3.3/bits/sstream.tcc:217:
more undefined references to `wxWindow::IsOwnGtkWindow(_GdkDrawable*)'
follow
.obj/UniversalCursor.o(.text+0x32f): In function
`UniversalCursor::UniversalCursor[not-in-charge](wxImage const&)':
/home/chris/try/hugin/src/hugin/UniversalCursor.cpp:238: undefined reference to `gdk_drawable_unref'
.obj/UniversalCursor.o(.text+0x33a):/home/chris/try/hugin/src/hugin/UniversalCursor.cpp:239: undefined reference to `gdk_drawable_unref'
.obj/UniversalCursor.o(.text+0x6b9): In function
`UniversalCursor::UniversalCursor[in-charge](wxImage const&)':
/home/chris/try/hugin/src/hugin/UniversalCursor.cpp:238: undefined reference to `gdk_drawable_unref'
.obj/UniversalCursor.o(.text+0x6c4):/home/chris/try/hugin/src/hugin/UniversalCursor.cpp:239:
undefined reference to `gdk_drawable_unref'
collect2: ld returned 1 exit status


Has anyone a hint, what could be this error? 
Has anyone ever managed to compile hugin on debian/unstable?

thx,
Chris


The relevant installed packages are:

ii  libboost-dev   1.31.0-6       Boost.org libraries development files
ii  libboost-files 1.31.0-6       Filesystem operations (portable paths, itera
ii  libboost-files 1.31.0-6       Filesystem operations (portable paths, itera
ii  libboost-graph 1.31.0-6       Generic graph components and algorithms in C
ii  libboost-graph 1.31.0-6       Generic graph components and algorithms in C
pi  libgtk1.2      1.2.10-16      The GIMP Toolkit set of widgets for X
ii  libgtk1.2-comm 1.2.10-16      Common files for the GTK+ library
ii  libgtk2.0-0    2.4.4-1        The GTK+ graphical user interface library
ii  libgtk2.0-bin  2.4.4-1        The programs for the GTK+ graphical user int
ii  libgtk2.0-comm 2.4.4-1        Common files for the GTK+ graphical user int
ii  libgtk2.0-dev  2.4.4-1        Development files for the GTK+ library
ii  libwxbase2.4   2.4.2.4        wxBase library (runtime) - non-GUI support c
ii  libwxbase2.4-d 2.4.2.4        wxBase library (development) - non-GUI suppo
ii  libwxgtk2.4    2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.4-co 2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (ru
ii  libwxgtk2.4-co 2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (de
ii  libwxgtk2.4-de 2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (GT
ii  libwxgtk2.4-py 2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (wx
ii  wxwin2.4-heade 2.4.2.4        wxWindows Cross-platform C++ GUI toolkit (he
ii  gcc-3.3        3.3.4-1        The GNU C compiler
ii  gcc-3.3-base   3.3.4-1        The GNU Compiler Collection (base package)
ii  libgcc1        3.3.4-2        GCC support library



More information about the ptX mailing list