[cmake-developers] Try to compile hugin on mac lion mountain

Kornel Benko kornel at lyx.org
Mon Jan 21 05:32:09 EST 2013


Am Montag, 21. Januar 2013 um 10:23:20, schrieb info percept <info at percept-studio.com>

Wrong list. Try again on hugin-ptx at googlegroups.com
There should you find more help IMHO.

> After typing cmake ../hugin-2012.0.0 on my Terminal, I get : 
> 
> [...]
> 
> -- WARNING: you are using the obsolete 'PKGCONFIG' macro, use FindPkgConfig
> 
> [...]
> 
> -- libpano13 version: 2.9.18 major 2 minor 9 patch 18
> 
> [...]
> 
> -- ZThread library not found. falling back to included copy
> 
> -- flann library not found. falling back to included copy
> 
> -- Found Lensfun: /opt/local/include
> 
> *** Will install application bundles in /usr/local/Applications, set INSTALL_OSX_BUNDLE_DIR to change the location
> 
> -- Using shared internal libraries
> 
> -- Python libs version: 2.7.2
> 
> -- Install Python libs into /Library/Python/2.7/site-packages
> 
> -- Current source dir = /Users/[username]/hugin
> 
> -- Configuring done
> 
> -- Generating done
> 
> -- Build files have been written to: /Users/[username]/hugin-2012.0.0
> 
> 
> 
> I don't know how to set INSTALL_OSX_BUNDLE_DIR, how to install flann-1.8.3 and how to install
> Python libs into /Library/Python/2.7/site-packages (what package with easy_install ?).
> When I compile ZThread-2.3.2, after the make command, I get :
> 

At least Harry van der Wolf should be able to help you,
as he made the most to make hugin be compiled on MAC.

> […]
> 
> make[3]: *** [AtomicCount.lo] Error 1
> 
> make[2]: *** [all-recursive] Error 1
> 
> make[1]: *** [all] Error 2
> 
> make: *** [all-recursive] Error 1
> 
> 
> 
> After the make command, in hugin-2012.0.0, I get an error concerning hugin-2012.0.0/src/foreign/zthread/include/zthread/Guard.h. I solved the problem by defining the function createScope as a static bool instead of a static void function. Nonetheless I still have errors after the make command and I actually get :
> 
> […]
> 
> 
> make[2]: *** [src/tools/CMakeFiles/hugin_hdrmerge.dir/hugin_hdrmerge.cpp.o] Error 1
> 
> make[1]: *** [src/tools/CMakeFiles/hugin_hdrmerge.dir/all] Error 2
> 
> make: *** [all] Error 2
> 
> 
> 
> Thanks a lot for your help.

	Kornel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130121/391434f5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part.
URL: <http://public.kitware.com/pipermail/cmake-developers/attachments/20130121/391434f5/attachment.sig>


More information about the cmake-developers mailing list