Hi, I want to try this but not sure how to build it?
➜ build cmake ..
-- The C compiler identification is GNU 9.4.0
-- The CXX compiler identification is GNU 9.4.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring VIGRA version 1.11.1
-- Checking template recursion depth: ok
-- Searching for ZLIB
-- in default locations
-- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.11")
-- Searching for RAW
-- in default locations
-- RAW_NAMES: libraw;libraw_r
-- RAW_LIBRARY_RELEASE: RAW_LIBRARY_RELEASE-NOTFOUND
-- Searching for TIFF
-- in default locations
-- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR)
-- Searching for JPEG
-- in default locations
-- Could NOT find JPEG (missing: JPEG_LIBRARY JPEG_INCLUDE_DIR)
-- Searching for PNG
-- in default locations
-- Could NOT find PNG (missing: PNG_LIBRARY PNG_PNG_INCLUDE_DIR)
-- Searching for FFTW3
-- in default locations
-- Could NOT find FFTW3 (missing: FFTW3_LIBRARY FFTW3_INCLUDE_DIR)
-- Searching for FFTW3F
-- in default locations
-- Could NOT find FFTW3F (missing: FFTW3F_LIBRARY FFTW3F_INCLUDE_DIR)
-- Searching for HDF5
-- in default locations
-- Could NOT find HDF5 (missing: HDF5_INCLUDE_DIR)
-- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE)
-- Found PythonInterp: /usr/bin/python (found version "2.7.18")
-- Searching for Boost (at least version 1.40.0)
-- in default locations
-- Could NOT find Boost (missing: Boost_INCLUDE_DIR) (Required is at least
version "1.40.0")
-- Checking for threading support: std::thread
-- (added compiler flags: -pthread -std=c++11)
-- Detected C++ version: 201103
-- Checking VIGRANUMPY_DEPENDENCIES
-- Using Python 2.7.18 at /usr/bin/python
-- Found Python includes: /usr/include/python2.7
-- Could NOT find Python library (looking for version 2.7)
-- Could NOT find boost_python library (looking for version 2.7)
-- Searching for Python numpy: ok
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named nose
-- Could NOT find Python nosetests ('import nose' failed)
-- Could NOT find sphinx documentation generator
-- Could NOT find VIGRANUMPY_DEPENDENCIES (missing: PYTHON_LIBRARIES
Boost_PYTHON_LIBRARY)
-- ** WARNING: test_classifier::RFHDF5Test() will not be executed
-- ** WARNING: fftw not found. test_correlation will not be executed
-- ** WARNING: test_features will not be executed
-- ** WARNING: test_fourier will not be executed
-- ** WARNING: test_hdf5impex will not be executed
-- ** WARNING: fftw not found. Fourier-domain registration tests will not
be executed
-- ---------------------------------------------------------
-- VIGRA configuration information:
-- ---------------------------------------------------------
-- Using RAW libraries: RAW_LIBRARY_RELEASE-NOTFOUND
-- Using ZLIB libraries: /usr/lib/x86_64-linux-gnu/libz.so
-- PNG libraries not found (PNG support disabled)
-- TIFF libraries not found (TIFF support disabled)
-- JPEG libraries not found (JPEG support disabled)
-- OpenEXR disabled by user (WITH_OPENEXR=0)
-- FFTW libraries not found (FFTW support disabled)
-- HDF5 libraries not found (HDF5 support disabled)
-- Boost Graph Library disabled by user (WITH_BOOST_GRAPH=0)
-- LEMON graph library disabled by user (WITH_LEMON=0)
-- Vigranumpy dependencies not found (vigranumpy disabled)
-- ---------------------------------------------------------
-- building shared lib
-- binaries will be generated in:
/home/tommy/Downloads/hugin++/vigraraw-code-559c737e4cfcb207b3626f224fcb17c1b74f8e3e/build
-- ---------------------------------------------------------
-- includes will be installed at: /usr/local/include
-- libraries will be installed at: /usr/local/lib
-- binaries will be installed at: /usr/local/bin
-- vigra manuals cannot be generated (Doxygen or Python not found)
-- vigranumpy will NOT be installed
--
-- Consider setting DEPENDENCY_SEARCH_PREFIX to find missing libraries
-- ---------------------------------------------------------
CMake Error: The following variables are used in this project, but they are
set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake
files:
RAW_LIBRARY_RELEASE (ADVANCED)
linked by target "vigraimpex" in directory
/home/tommy/Downloads/hugin++/vigraraw-code-559c737e4cfcb207b3626f224fcb17c1b74f8e3e/src/impex
-- Configuring incomplete, errors occurred!
See also
"/home/tommy/Downloads/hugin++/vigraraw-code-559c737e4cfcb207b3626f224fcb17c1b74f8e3e/build/CMakeFiles/CMakeOutput.log".
On Monday, June 27, 2022 at 7:06:53 PM UTC+1 [email protected] wrote:
> I made a fork of vigra, plus a tiny change to hugin++ so that hugin++ can
> directly use ARW files rather than first converting them to TIFF. Very
> little extra would be needed to support other formats supported by libraw.
>
> I strongly dislike the directory clutter of the current hugin method of
> dealing with raw files (convert to tiff and then use the tiff file in the
> hugin project). I keep hugin projects around a long time while
> experimenting with ways of doing things a little better. I don't want to
> keep the tiff files.
>
> This hugin++ change is tiny and clean. It just prioritizes vigra over raw
> conversion for extensions that are in both lists. If you use the standard
> vigra with hugin++ that change makes zero difference and you don't need
> libraw.
>
> This hugin++ change only makes a difference if you use my fork of vigra,
> which uses (and requires) libraw.
>
> My changes to vigra are quite ugly. Apologies in advance to anyone trying
> to build it (but I'll provide whatever support I can and answer any
> questions and *appreciate any suggestions* on doing any of that better).
> My lack of cmake knowledge made that part of the changes (getting the vigra
> build to find/use libraw) especially bad. The Windows/Mingw64 build is
> working for me, as is the Fedora build.
>
> I'm happy to zip up and share all the required mingw64 binaries if someone
> else wants to test this on windows. There is no .dll compatibility for any
> C++ symbols between visual C++ and mingw64, so you either need 100% visual
> C++ or 100% mingw64. For visual C++, I could only answer questions, not
> provide any binaries.
>
> At some point I'll learn how the windows hugin binary distribution
> creation process works and post an installer (for the mingw64 binary
> version) on the hugin++ site. So far no one has asked for that.
>
> For fedora, I think building hugin++ and my fork of vigra from the
> repositories (and getting libraw and all other dependencies the normal way)
> would be easier than getting any binaries from me. But ask me for help if
> you want to test this and have some problem.
>
> I'm still working on several aspects of this. I think it is ready for
> other to try. I don't think it is yet ready for anyone to rely on. I
> would appreciate any feedback.
>
> Relevant repositories are:
>
> https://sourceforge.net/projects/vigraraw/
> which is my fork of:
> https://github.com/ukoethe/vigra
>
> https://sourceforge.net/projects/huginplusplus/
>
> https://github.com/LibRaw
>
>
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/hugin-ptx/9e8be83d-04be-48fe-a39d-e47504123047n%40googlegroups.com.