[ptx] hugin on OSX

Daniel M. German dmgerman at uvic.ca
Mon Apr 24 04:10:26 BST 2006



I was finally able to compile all the sources under 10.3 and I want to
add my comments to ippei's (I can't link it yet, but that seems to be
a Makefile issue, I am looking at Audacity to update the autoconf
process).

 Ippei> 2. boost
 Ippei> It doesn't compile. I've given up looong time ago. Until hugin 0.5  
 Ippei> we only used its header, and only you had to do was to copy the  
 Ippei> header files and comment out its gcc version check. Now with the CVS  
 Ippei> version, you need at least boost-thread to be compiled. I just got  
 Ippei> away with it compiling the relevant sources into vigra-impex.a itself  
 Ippei> (just added boost-thread files into the XCode project's source list ;).

With the current CVS version of hugin, it still requires some boost
sources. One problem with that there is one #ifndef that messes the
compilation (related to boost threading). Boost will complain:


         /sw/include/boost/config/requires_threads.hpp:47:5: #error
         "Compiler threading support is not turned on. Please set the
         correct command line options for threading: -pthread (Linux),
         -pthreads (Solaris) or -mthreads (Mingw32)"

I found a work-around:

         http://lists.boost.org/boost-users/2004/09/7998.php

It is just a matter of modifying: /sw/include/boost/config/platform/macos.hpp


 Ippei> However, it might help the development process if commandline  
 Ippei> compilation can compile HuginOSX against the local system just like  
 Ippei> in the other platforms. (At least saves me from updating the XCode  
 Ippei> project file every time a new file is created on CVS.)

This is my goal, although I seem to be very slow understanding the
intricacies of OS X.

 Ippei> If you have any other questions, please do not hesitate to ask me.  
 Ippei> Also, I can provide a copy of my working repository if you like to  
 Ippei> skip compiling the required libraries by yourself.


Thanks Ippei!



--
Daniel M. German                  "Language alone protects us from the scariness
                                   of things with no names.
   Toni Morrison ->                Language alone is meditation. "
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 


More information about the ptx mailing list