[ptx] Hugin - compilation problems
Steve Wesemeyer
swesemeyer at ntlworld.com
Sat Jan 8 17:29:23 GMT 2005
Pablo,
Another update...
On Saturday 08 January 2005 15:07, Steve Wesemeyer wrote:
<snip/>
> However, now the following error gets thrown:
<snip>
> 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
</snip>
I have found that if I run the above g++ command manually and replace any
instance of /usr/lib/libstdcc.so with /usr/lib64/libstdcc.so and also replace
-lgcc_s_32 with -lgcc_s then it will compile.
So where are these flags set or how can I change them globally so that the
64bit version gets selected instead?
And is this the right thing to do? I seem to encounter some other compilation
problems later on in autopano.cpp complaining about undefined references to
fftw2d_create_plan but they might be caused due to the above not quite
working right...
I'll also check whether I can build hugin on my x86 laptop before trying it on
x84_64 again.
Regards,
Steve
More information about the ptX
mailing list