Compile error while building hugin++

38 views
Skip to first unread message

Kornel Benko

unread,
Apr 18, 2022, 11:08:04 AM4/18/22
to hugi...@googlegroups.com

Hi, I tried to build hugin++ from the repo at
http://hg.code.sf.net/p/huginplusplus/hugin++, but failed.
The cmake call was error-free (though with some warnings).

The following make ended with:

[ 2%] Building CXX object
src/hugin_base/CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.cpp.o
cd /home/kornel/src/hugin_base && /usr/lib/ccache/c++ -DGLEW_STATIC -DHUGIN_HSI
-Dhuginbase_EXPORTS -I/home/kornel/src
-I/usr2/src/hugin/huginplusplus-hugin++/src/hugin_base
-I/usr2/src/hugin/huginplusplus-hugin++/src/celeste -I/home/kornel/src/celeste
-I/usr2/src/hugin/huginplusplus-hugin++/src -I/usr/include/OpenEXR
-I/usr/include/python3.6m -O3 -DNDEBUG -fPIC -fopenmp -pthread -std=gnu++11 -MD -MT
src/hugin_base/CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.cpp.o -MF
CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.cpp.o.d -o
CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.cpp.o
-c /usr2/src/hugin/huginplusplus-hugin++/src/hugin_base/algorithms/nona/NonaFileStitcher.cpp
In file included
from /usr2/src/hugin/huginplusplus-hugin++/src/hugin_base/nona/RemappedPanoImage.h:43,
from /usr2/src/hugin/huginplusplus-hugin++/src/hugin_base/nona/Stitcher.h:53,
from /usr2/src/hugin/huginplusplus-hugin++/src/hugin_base/algorithms/nona/NonaFileStitcher.cpp:33: /usr2/src/hugin/huginplusplus-hugin++/src/hugin_base/panotools/PanoToolsInterface.h:278:69:
error: ‘AlignInfoExt’ does not name a type; did you mean ‘AlignInfo’? IMPEX CPVector
GetAlignInfoCtrlPointsExt(const AlignInfo& gl, const AlignInfoExt& gl_ext); ^~~~~~~~~~~~
AlignInfo src/hugin_base/CMakeFiles/huginbase.dir/build.make:78: recipe for target
'src/hugin_base/CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.cpp.o' failed
make[2]: ***
[src/hugin_base/CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.cpp.o] Error 1
make[2]: Verzeichnis „/home/kornel“ wird verlassen CMakeFiles/Makefile2:756: recipe for
target 'src/hugin_base/CMakeFiles/huginbase.dir/all' failed make[1]: ***
[src/hugin_base/CMakeFiles/huginbase.dir/all] Error 2
......................
I could not find anything in the web about "AlignInfo", so I had to stop here.

Kornel

johnfi...@gmail.com

unread,
Apr 19, 2022, 7:52:00 AM4/19/22
to hugin and other free panoramic software
When building hugin++ you need to use FastPTOptimizer instead of libpano13.

Your error message doesn't match the error I got when I used the original libpano13 for hugin++, but your error is the kind of error I would expect for that, so I think that is your problem.

If that is not correct, tell me and I will look into it further.

Kornel Benko

unread,
Apr 19, 2022, 8:35:02 AM4/19/22
to hugi...@googlegroups.com
Am Tue, 19 Apr 2022 04:52:00 -0700 (PDT)
schrieb "johnfi...@gmail.com" <johnfi...@gmail.com>:

> When building hugin++ you need to use FastPTOptimizer instead of libpano13.
> https://sourceforge.net/projects/fastptoptimizer/
>
> Your error message doesn't match the error I got when I used the original
> libpano13 for hugin++, but your error is the kind of error I would expect
> for that, so I think that is your problem.

Yes, that was the problem.

> If that is not correct, tell me and I will look into it further.

No other problems, thanks.

Kornel

Reply all
Reply to author
Forward
0 new messages