[ptx] Hugin - compilation problems

Steve Wesemeyer swesemeyer at ntlworld.com
Sat Jan 8 15:07:19 GMT 2005


On Saturday 08 January 2005 08:58, Pablo d'Angelo wrote:
> spec at webtech.pl wrote:
> > Steve Wesemeyer wrote:
> >> Hiya,
> >>
> >> I have downloaded the latest CVS version from Sourceforge and
> >> encountered the following compilation problem:
>
> Try replacing PointMatching.cpp:163
>
>   result.push_back(vigra::make_triple(dist1, it1 - feat1.begin(), best));
>
> with
>
>   result.push_back(vigra::make_triple(dist1, (int)(it1 -feat1.begin()),
> best));
>
> I hope this should work, will commit it to cvs soon.
>
> ciao
>    Pablo

Thanks Pablo! That fixed that problem although it was in PointMatching.h 
rather than .cpp (at least in my version from last night ).

I then encountered 2 duplicate message IDs in the de.po packages which I 
manage to fix by commenting them out (at lines 1064 and 2459 which are 
duplicates of the definitions at 940 and 950).

However, now the following error gets thrown:
/bin/sh ../../libtool --mode=link --tag=CXX g++ -DXTHREADS -D_REENTRANT 
-DXUSE_MTSAFE_API -pthread -I/opt/gnome/include/gtk-2.0 
-I/opt/gnome/lib64/gtk-2.0/include -I/usr/X11R6/include 
-I/opt/gnome/include/atk-1.0 -I/opt/gnome/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include 
-I/usr/local/include -DHasPANO -I/usr/include -g -O2   -o hugin 
-L/usr/local/lib -pthread -L/usr/X11R6/lib64 -lwx_gtk2_xrc-2.5 
-lwx_gtk2_html-2.5 -lwx_gtk2_adv-2.5 -lwx_gtk2_core-2.5 -lwx_base_xml-2.5 
-lwx_base_net-2.5 -lwx_base-2.5 -Wl,--export-dynamic -pthread 
-L/opt/gnome/lib64 -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm 
-lpangoxft-1.0 -lpangox-1.0 -lpango-1.0 -lgobject-2.0 -lgmodule-2.0 -ldl 
-lgthread-2.0 -lglib-2.0   -L/usr/local/lib -lpano12 -L/usr/lib -ltiff 
-L/usr/lib -lpng -L/usr/lib-ljpeg -L/usr/lib -lz huginApp.o ImagesList.o 
AutoCtrlPointCreator.o MainFrame.o CPImageCtrl.o CPEditorPanel.o LensPanel.o 
ImagesPanel.o CommandHistory.o PanoPanel.o NonaStitcherPanel.o 
PTStitcherPanel.o PreviewFrame.o PreviewPanel.o ImageCenter.o OptimizePanel.o 
RunOptimizerFrame.o RunStitcherFrame.o CPListFrame.o TextKillFocusHandler.o 
ImageOrientationPanel.o ImageOrientationFrame.o PanoDruid.oUniversalCursor.o 
CPZoomDisplayPanel.o CPFineTuneFrame.o 
PreferencesDialog.o  ../../src/Panorama/libpanorama.la ../../src/foreign/vigra_impex/libvigra_impex.la../../src/jhead/libjhead.la ../../src/common/libcommon.la ../../src/vigra_ext/libvigra_ext.la 
libhuginwxutils.la
g++ -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/opt/gnome/include/gtk-2.0 
-I/opt/gnome/lib64/gtk-2.0/include -I/usr/X11R6/include 
-I/opt/gnome/include/atk-1.0-I/opt/gnome/include/pango-1.0 
-I/usr/include/freetype2 -I/usr/include/freetype2/config 
-I/opt/gnome/include/glib-2.0 -I/opt/gnome/lib64/glib-2.0/include 
-I/usr/local/include -DHasPANO -I/usr/include -g -O2 -o hugin 
-Wl,--export-dynamic huginApp.o ImagesList.o AutoCtrlPointCreator.o 
MainFrame.o CPImageCtrl.o CPEditorPanel.o LensPanel.o ImagesPanel.o 
CommandHistory.o PanoPanel.o NonaStitcherPanel.o PTStitcherPanel.o 
PreviewFrame.o PreviewPanel.o ImageCenter.o OptimizePanel.o 
RunOptimizerFrame.o RunStitcherFrame.o CPListFrame.o TextKillFocusHandler.o 
ImageOrientationPanel.o ImageOrientationFrame.o PanoDruid.o UniversalCursor.o 
CPZoomDisplayPanel.o CPFineTuneFrame.o PreferencesDialog.o  -L/usr/local/lib 
-L/usr/X11R6/lib64 -lwx_gtk2_xrc-2.5 -lwx_gtk2_html-2.5 -lwx_gtk2_adv-2.5 
-lwx_gtk2_core-2.5 -lwx_base_xml-2.5 -lwx_base_net-2.5 -lwx_base-2.5 -pthread 
-L/opt/gnome/lib64 /opt/gnome/lib64/libgtk-x11-2.0.so /opt/gnome/lib64/libgdk-x11-2.0.so /opt/gnome/lib64/libatk-1.0.so /opt/gnome/lib64/libgdk_pixbuf-2.0.so /opt/gnome/lib64/libpangoxft-1.0.so /opt/gnome/lib64/libpangox-1.0.so /opt/gnome/lib64/libpango-1.0.so /opt/gnome/lib64/libgobject-2.0.so /opt/gnome/lib64/libgmodule-2.0.so 
-ldl /opt/gnome/lib64/libgthread-2.0.so 
-lpthread /opt/gnome/lib64/libglib-2.0.so 
-L/usr/lib ../../src/Panorama/.libs/libpanorama.a /usr/local/lib/libpano12.so 
-lz ../../src/foreign/vigra_impex/.libs/libvigra_impex.a /usr/lib64/libjpeg.so 
-lpng -ltiff /usr/lib/libstdc++.so 
-lgcc_s_32 ../../src/jhead/.libs/libjhead.a ../../src/common/.libs/libcommon.a ../../src/vigra_ext/.libs/libvigra_ext.a ./.libs/libhuginwxutils.a /usr/lib64/libstdc++.so 
-lm -lc -lgcc_s
/usr/lib/libstdc++.so: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[3]: *** [hugin] Error 1
make[3]: Leaving directory 
`/home/swesemeyer/Downloads/Hugin/Source/hugin_cvs/src/hugin'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/swesemeyer/Downloads/Hugin/Source/hugin_cvs/src/hugin'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/home/swesemeyer/Downloads/Hugin/Source/hugin_cvs/src'
make: *** [all-recursive] Error 1

Sorry for asking some probably rather obvious questions but I haven't touch 
C++ for ages...

By the way my gcc version is:
gcc (GCC) 3.3.4 (pre 3.3.5 20040809)
as shipped with Suse 9.2

Kind regards,
 Steve



 
 


More information about the ptX mailing list