[hugin-ptx] Source codes to get executable of nona and enblend commands

69 views
Skip to first unread message

Wiriyanto Darsono

unread,
Sep 1, 2025, 2:19:53 AMSep 1
to hugi...@googlegroups.com
Hi everyone,

I am trying to get the executable file of Hugin's nona command and enblend command by compiling the corresponding C++ source codes.

Can anyone help to advice which C++ source codes are needed and how to get them please?

Many thanks,
Willie

Greg 'groggy' Lehey

unread,
Sep 1, 2025, 8:20:54 PMSep 1
to Wiriyanto Darsono, hugi...@googlegroups.com
On Monday, 1 September 2025 at 14:19:32 +0800, Wiriyanto Darsono wrote:
> I am trying to get the executable file of Hugin's nona command and
> enblend command by compiling the corresponding C++ source codes.
>
> Can anyone help to advice which C++ source codes are needed and how
> to get them please?

You don't say what operating system you're using. For FreeBSD, for
example, you just need the appropriate port. See
https://ports.freebsd.org/cgi/ports.cgi for more details.

For all systems, enblend (along with enfuse) is available at
https://downloads.sourceforge.net/project/enblend/enblend-enfuse/enblend-enfuse-4.2/enblend-enfuse-4.2.tar.gz
In FreeBSD, go to /usr/ports/graphics/enblend and make fetch. You can
just do a 'make all' of course, and it will be built for you.

nona is part of the base hugin package. The tarball is at
https://downloads.sourceforge.net/project/hugin/hugin/hugin-2024.0/hugin-2024.0.1.tar.bz2,
and nona is in the subdirectory hugin-2024.0.1/src/hugin_base/nona.
Again, FreeBSD builds this for you automatically.

Greg
--
Sent from my desktop computer.
Finger gr...@lemis.com for PGP public key.
See complete headers for address and phone numbers.
This message is digitally signed. If your Microsoft mail program
reports problems, please read http://lemis.com/broken-MUA.php
signature.asc

Wiriyanto Darsono

unread,
Sep 2, 2025, 9:20:49 PM (14 days ago) Sep 2
to hugin and other free panoramic software
Hi Greg, thank you for the respond.

Previously I used Visual Studio 2013 in Windows 11 to follow https://wiki.panotools.org/Hugin_SDK_(MSVC_2013), got many errors, and gave up.

Now, I am trying to use Ubuntu 20.04 to "make all" hugin_base but stuck at the error message below.
Can you advice how to get "vigra/imageinfo.hxx" file?

Many thanks,
Willie

user@Linuxserver:/at/this/directory/hugin-2024.0.1/src/hugin_base$ make all
[  1%] Building CXX object CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.o
In file included from /at/this/directory/hugin-2024.0.1/src/hugin_base/algorithms/nona/../../appbase/ProgressDisplay.h:33,
                 from /at/this/directory/hugin-2024.0.1/src/hugin_base/algorithms/nona/../PanoramaAlgorithm.h:35,
                 from /at/this/directory/hugin-2024.0.1/src/hugin_base/algorithms/nona/../StitcherAlgorithm.h:36,
                 from /at/this/directory/hugin-2024.0.1/src/hugin_base/algorithms/nona/NonaFileStitcher.h:35,
                 from /at/this/directory/hugin-2024.0.1/src/hugin_base/algorithms/nona/NonaFileStitcher.cpp:31:
/at/this/directory/hugin-2024.0.1/src/hugin_base/algorithms/nona/../../appbase/../hugin_utils/utils.h:35:10: fatal error: vigra/imageinfo.hxx: No such file or directory
   35 | #include <vigra/imageinfo.hxx>
      |          ^~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make[2]: *** [CMakeFiles/huginbase.dir/build.make:63: CMakeFiles/huginbase.dir/algorithms/nona/NonaFileStitcher.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:76: CMakeFiles/huginbase.dir/all] Error 2
make: *** [Makefile:84: all] Error 2 

Greg 'groggy' Lehey

unread,
Sep 2, 2025, 11:33:45 PM (14 days ago) Sep 2
to Wiriyanto Darsono, hugin and other free panoramic software
On Tuesday, 2 September 2025 at 18:20:49 -0700, Wiriyanto Darsono wrote:
>
> Now, I am trying to use Ubuntu 20.04 to "make all" hugin_base but stuck at
> the error message below.
> Can you advice how to get "vigra/imageinfo.hxx" file?

Again, the FreeBSD ports collection helps:

$ locate imageinfo.hxx
/usr/local/include/vigra/imageinfo.hxx
$ pkg which /usr/local/include/vigra/imageinfo.hxx
/usr/local/include/vigra/imageinfo.hxx was installed by package vigra-1.11.1_29

This won't work on Ubuntu, but it makes clear that you need to install
vigra first. I got my copy from
https://codeload.github.com/ukoethe/vigra/tar.gz/8acd73a?dummy=/ukoethe-vigra-v1.12.1-8acd73a_GH0.tar.gz
which sounds like a throwaway URL to me. If that doesn't work for
you, go to https://github.com/ukoethe/vigra and see if you can find
something.

There may be an easier way to do this with Ubuntu. Maybe somebody
else on the list can help there.

Greg
--
Sent from my desktop computer.
Finger groo...@gmail.com for PGP public key.
signature.asc

Harry van der Wolf

unread,
Sep 3, 2025, 2:51:16 AM (13 days ago) Sep 3
to hugi...@googlegroups.com
On Ubuntu you need to do a:
sudo apt update
sudo apt install libvigraimpex-dev libvigraimpex11

And then start again.

But did you have a read here? : https://wiki.panotools.org/Hugin_Compiling_Ubuntu

By now it is quite old, but the basics remain the same.


Op wo 3 sep 2025 om 05:33 schreef Greg 'groggy' Lehey <groo...@gmail.com>:
--
A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ
---
You received this message because you are subscribed to the Google Groups "hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hugin-ptx+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/hugin-ptx/aLe3EjIUelrZ5Rf1%40hydra.lemis.com.

Wiriyanto Darsono

unread,
Sep 5, 2025, 10:55:08 PM (11 days ago) Sep 5
to hugi...@googlegroups.com
I (finally) managed to build the Hugin source codes to get executable of nona and enblend commands in Ubuntu 22.04.

Thank you for all the supports, I appreciate it!

Best regards,
Willie


On 3 Sep 2025, at 2:51 PM, Harry van der Wolf <hvd...@gmail.com> wrote:


Reply all
Reply to author
Forward
0 new messages