[ptx] Hugin compile error
Kevin
kevin at bluelavalamp.net
Thu Nov 27 13:01:34 GMT 2003
Hi all,
I'm trying to compile up Hugin on Linux (Slackware 8.0) so that I can try
stitching photos together but so far I haven't been able to get it
compiled. wxwindows & xrc (wxGTK-2.4.2) is compiled and installed on the
system. I also got the panotools rpm (panorama-tools-2.6bml12-2.i386.rpm)
and installed that. Then I went about trying to compile hugin
(hugin-0.3beta). I'm getting a couple of errors, one being an undeclared
the appears to be a library missing. Here's two cuts from the compile
where errors pop up:
Descending directory Panorama to do "make lib"
make[2]: Entering directory `/usr/src/hugin/src/Panorama'
---- Compiling Panorama.cpp (C++)
g++ -I. -I../include -Wall -O2 -I../ -c -o .obj/Panorama.o Panorama.cpp
Panorama.cpp: In method `void PT::Panorama::printOptimizerScript(ostream &,
const PT::OptimizeVector &, const PT::PanoramaOptions &, const string & =
"")':
Panorama.cpp:555: `LC_NUMERIC' undeclared (first use this function)
Panorama.cpp:555: (Each undeclared identifier is reported only once
Panorama.cpp:555: for each function it appears in.)
Panorama.cpp:555: implicit declaration of function `int setlocale(...)'
make[2]: *** [.obj/Panorama.o] Error 1
make[2]: Leaving directory `/usr/src/hugin/src/Panorama'
Descending directory hugin to do "make lib"
echo " ---- Creating application hugin"; g++ -o hugin .obj/huginApp.o
.obj/ImagesList.o .obj/Server.o .obj/MainFrame.o .obj/CPImageCtrl.o
.obj/CPEditorPanel.o .obj/LensPanel.o .obj/ImagesPanel.o .obj/ImageCache.o
.obj/CommandHistory.o .obj/ImageProcessing.o .obj/PanoToolsInterface.o
.obj/wxVigraImage.o .obj/PanoPanel.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 -L../lib -lwx_gtk_xrc-2.4 -L/usr/local/lib
-pthread -lwx_gtk-2.4 -lpanorama -ljhead -lpano12
---- Creating application hugin
/usr/i386-slackware-linux/bin/ld: cannot find -lpanorama
collect2: ld returned 1 exit status
make[2]: *** [hugin] Error 1
make[2]: Leaving directory `/usr/src/hugin/src/hugin'
Descending directory tools to do "make apps"
make[2]: Entering directory `/usr/src/hugin/src/tools'
echo " ---- Creating application stitcher"; g++ -o stitcher
.obj/stitcher.o -L../lib -lwx_gtk_xrc-2.4 -L/usr/local/lib -pthread
-lwx_gtk-2.4 -lwximageproc -lpanorama -ljhead -lpano12
---- Creating application stitcher
/usr/i386-slackware-linux/bin/ld: cannot find -lpanorama
collect2: ld returned 1 exit status
make[2]: *** [stitcher] Error 1
make[2]: Leaving directory `/usr/src/hugin/src/tools'
Descending directory PanoImage to do "make apps"
make[2]: Entering directory `/usr/src/hugin/src/PanoImage'
g++ -O2 -Wall -g -c `wx-config --cflags` -o panoviewerapp.o
panoviewerapp.cpp
In file included from panoviewextractor.h:8,
from panoviewer.h:7,
from panoviewerapp.h:7,
from panoviewerapp.cpp:1:
filter.h:78: parse error before `else'
filter.h:78: stray '\' in program
filter.h:82: stray '\' in program
filter.h:297: syntax error before `->'
filter.h:297: stray '\' in program
filter.h:298: syntax error before `->'
filter.h:300: syntax error before `->'
filter.h:300: stray '\' in program
filter.h:301: syntax error before `->'
filter.h:303: parse error before `->'
filter.h:303: stray '\' in program
filter.h:311: parse error before `}'
filter.h:500: parse error before `{'
filter.h:500: stray '\' in program
filter.h:501: stray '\' in program
filter.h:502: stray '\' in program
filter.h:503: stray '\' in program
filter.h:504: stray '\' in program
filter.h:505: stray '\' in program
-----------------------------
Any help would be greatly appreciated.
Thanks,
Kevin
More information about the ptX
mailing list