[ptx] Compiling Hugin on OSX/intel

Daniel M. German dmgerman at uvic.ca
Sun Jun 25 21:50:10 BST 2006


 Oliver Gräser twisted the bytes to say:

 Oliver> Hi,
 Oliver> I ran into the same bug mentioned before (Hugin crashes on  
 Oliver> optimization). I used Ippei's UB version. Now, I thought I'd maybe  
 Oliver> try to use the mentioned workaround (downgrading to older libpano  
 Oliver> version). Okay, I'm a newbie to compiling, I looked around and found  
 Oliver> a libpano-folder within my downloaded Hugin package, so I downloaded  
 Oliver> the libpano12 2.8.1 tarball, and end up with a ./configure-error:  
 Oliver> JPEG package is incomplete. So i downloaded libjpeg, which i managed  
 Oliver> to compile. But still, libpano's configure says JPEG support is  
 Oliver> missing. I suppose I got to tell libpano somehow where libjpeg is -  
 Oliver> but how?

The easiest way, in my opinion is to predefine CFLAGS and LDFLAGS:

if you have your jpg library in /usr/local then do:

export CFLAGS='-I/usr/local'
export LDFLAGS='-L/usr/local'
./configure

I ran into a similar problem yesterday. It complained that my tiff
library was incomplete (but it was actually the JPG library it wasn't
finding). Perhaps there is an error in the configure script.

The best way to find out the error is to look at the bottom of the
config.log and find the actual error from the compiler.




 Oliver> Besides, I want to thank everyone for the software, it is a great  
 Oliver> tool. And to Ippei, thx for the Terminal widget as well!

 Oliver> Cheers

 Oliver> Oliver

 Oliver> Oliver Gräser
 Oliver> Physics Department, University of Konstanz
 Oliver> Soft Matter Theory Group
 Oliver> Universitätsstrasse 10 / M671
 Oliver> D-78457 Konstanz
 Oliver> phone: +49 177 2675746
 Oliver> mailto:oliver.graeser at uni-konstanz.de


--
Daniel M. German                  ""Geek" is a badge of honor."
                                    Eric Schmidt, CEO of Novell
http://turingmachine.org/
http://silvernegative.com/
dmg (at) uvic (dot) ca
replace (at) with @ and (dot) with .

 


More information about the ptx mailing list