I made some errors with the paths that should be entered in CMake for my 
Hugin build on Linux:
This should be correct:

OPENEXR_HALF_LIBRARY                   
/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libHalf-2_5.a
OPENEXR_IEX_LIBRARY                      
/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libIex-2_5.a
OPENEXR_ILMIMF_LIBRARY              
/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libIlmImf-2_5.a
OPENEXR_ILMTHREAD_LIBRARY        
/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libIlmThread-2_5.a
OPENEXR_IMATH_LIBRARY          
/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/lib/libImath-2_5.a
OPENEXR_INCLUDE_DIR             
/home/user/dev/hugin-2020.0.0/vcpkg/packages/openexr_x64-linux/include/OpenEXR

Now I have built vigra on Linux with OpenEXR support. The CMake for Hugin++ 
finds my vigra installation, but it claims about missing
OpenEXR support in vigra (before I compiled vigra without OpenEXR support, 
but then with it).



Florian Königstein schrieb am Donnerstag, 19. August 2021 um 07:21:25 UTC+2:

> With this I meant that (at least on Windows) most of the libraries could 
> not be found automatically and some "doing by hands" and try-and-error will 
> be necessary.
> I myself have never CREATED CMakeList.txt and related files for CMake, and 
> so I'm far from beeing an expert with CMake.
>
> I find it good if you ask here, so this thread can also be seen as a help 
> for others who want to compile Hugin or Hugin++.
>
> From your error messages it seems that the variables containing the vigra 
> version information are not defined.
> Maybe I find the time to try it myself on Linux.
> ChameleonScales schrieb am Donnerstag, 19. August 2021 um 01:22:13 UTC+2:
>
>> I originally had openexr installed on my system. Installing it via vcpkg 
>> fixed that issue.
>>
>> I also built vigra from source and set the path to .
>> /usr/local/bin/vigra-config
>> But now I have this :
>>
>> CMake Error at CMakeModules/FindVIGRA.cmake:58 (IF):
>> if given arguments:
>>
>> "VERSION_EQUAL" "VIGRA_FIND_VERSION" "OR" "VERSION_GREATER" 
>> "VIGRA_FIND_VERSION"
>>
>> Unknown arguments specified
>>
>>
>> Call Stack (most recent call first):
>>
>> vcpkg/scripts/buildsystems/vcpkg.cmake:784 (_find_package)
>> CMakeLists.txt:223 (FIND_PACKAGE)
>>
>> When you said "the next error is Vigra", did you mean I should expect 
>> several more? Maybe this is destined for people who have good knowledge of 
>> cmake. I don't want to waste people's time and clutter the conversation so 
>> I may give up.
>>
>

-- 
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/21d6ee6c-588b-414a-9e1a-d893cc0f1814n%40googlegroups.com.

Reply via email to