[ptx] Re: Hugin - compilation problems

douglas wilkins dgswilkins at yahoo.co.uk
Sun Jan 9 20:23:01 GMT 2005


Hi there,
(Picked this up from gmane so sorry about the
threading/quoting. Relevant comments are near the
bottom)

[snip]

> 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

[snip]

> /usr/lib/libstdc++.so: 
> could not read symbols: Invalid operation

The proper fix for this is to make hugin lib64 aware
(got access to an amd64 running fc3 today so I am
working on it) but you could try this in the meantime:

export LDFLAGS=-L/usr/lib64 
configure
make

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

Not such an obvious question, esp. if, like me, you
haven't used a 64bit linux machine that much.

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

regards,
Doug



	
	
		
___________________________________________________________ 
ALL-NEW Yahoo! Messenger - all new features - even more fun! http://uk.messenger.yahoo.com


More information about the ptX mailing list