[ptx] Compilation problem

Franck Barbenoire fbarbenoire at yahoo.fr
Mon Jan 17 22:31:48 GMT 2005


Hello everybody,

I maintain a list of packages for the Slackware distibution (see 
http://franck.barbenoire.free.fr/slackware/slack.html#PACK_PANOTOOLS) and I 
got errors while compiling hugin.

I use gcc 3.3.4, boost 1.32, wxGTK-2.5.3, fftw-2.1.5 and libpano12-2.7.0.8. 
Here are the parameters I use with configure:

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig
./bootstrap
./configure CXXFLAGS="`wx-config --cxxflags --libs`" LIBS="lm" 
--with-boost=/home/test/packages_pano/boost_1_32_0 --with-boost-version=1.32
make

I managed to compile the cvs version of Hugin this way the 17th december 2004 
(same version of gcc, boost, wxWidgets, fftw and libpno), but not today (17th 
january). See the result of make just below.

Thank you !

Franck Barbenoire


Making all in src
make[1]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src'
Making all in jhead
make[2]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/jhead'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/jhead'
Making all in klt
make[2]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/klt'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/klt'
Making all in common
make[2]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/common'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/common'
Making all in vigra_ext
make[2]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/vigra_ext'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/vigra_ext'
Making all in foreign
make[2]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/foreign'
Making all in vigra_impex
make[3]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/foreign/vigra_impex'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/foreign/vigra_impex'
make[3]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/foreign'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/foreign'
make[2]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/foreign'
Making all in Panorama
make[2]: Entering directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/Panorama'
if /bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H "-I." 
-I../../src/include -I../../src/include -I../../src/foreign 
-I/home/test/packages_pano/boost_1_32_0/include/boost-1_32 
-I/usr/local/include -DHasPANO    
-I/usr/local/lib/wx/include/gtk2-unicode-release-2.5 
-I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -L/usr/local/lib -pthread 
-L/usr/X11R6/lib -lwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 
-lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5 -MT 
PanoramaMemento.lo -MD -MP -MF ".deps/PanoramaMemento.Tpo" -c -o 
PanoramaMemento.lo PanoramaMemento.cpp; \
then mv -f ".deps/PanoramaMemento.Tpo" ".deps/PanoramaMemento.Plo"; else rm -f 
".deps/PanoramaMemento.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I../../src/include -I../../src/include 
-I../../src/foreign 
-I/home/test/packages_pano/boost_1_32_0/include/boost-1_32 
-I/usr/local/include -DHasPANO 
-I/usr/local/lib/wx/include/gtk2-unicode-release-2.5 
-I/usr/local/include/wx-2.5 -DGTK_NO_CHECK_CASTS -D__WXGTK__ 
-D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -L/usr/local/lib -pthread 
-L/usr/X11R6/lib -lwx_gtk2u_xrc-2.5 -lwx_gtk2u_html-2.5 -lwx_gtk2u_adv-2.5 
-lwx_gtk2u_core-2.5 -lwx_baseu_xml-2.5 -lwx_baseu_net-2.5 -lwx_baseu-2.5 -MT 
PanoramaMemento.lo -MD -MP -MF .deps/PanoramaMemento.Tpo -c 
PanoramaMemento.cpp
PanoramaMemento.cpp: In member function `double PT::Lens::getFocalLength() 
   const':
PanoramaMemento.cpp:147: error: `PT::Lens::LensProjectionFormat' is not an 
   aggregate type
PanoramaMemento.cpp:150: error: `PT::Lens::LensProjectionFormat' is not an 
   aggregate type
PanoramaMemento.cpp:151: error: `PT::Lens::LensProjectionFormat' is not an 
   aggregate type
PanoramaMemento.cpp: In member function `void PT::Lens::setFocalLength(double)
   ':
PanoramaMemento.cpp:175: error: `PT::Lens::LensProjectionFormat' is not an 
   aggregate type
PanoramaMemento.cpp:178: error: `PT::Lens::LensProjectionFormat' is not an 
   aggregate type
PanoramaMemento.cpp:179: error: `PT::Lens::LensProjectionFormat' is not an 
   aggregate type
make[2]: *** [PanoramaMemento.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src/Panorama'
make[1]: Leaving directory 
`/home/test/packages_pano/hugin-0.4beta-cvs-17janvier2005/src'

-- 
Ma clé publique PGP : 0xD73F161C



More information about the ptX mailing list