Hi Harry,
I don't know on which thread I should come back, so I choose this one,
though I followed you instructions carefully in your updated wiki and
in:
> [1]: <
http://groups.google.com/group/hugin-ptx/browse_thread/thread/c28fa8f...>
And - bingo - hugin builds all the way to 100%. So thank you for all
your advice.
But - sorry - it will not run. After starting
huigin.app it will crash
immediately, telling me
...
Process: Hugin [74513]
Path: /Applications/Hugin.app/Contents/MacOS/Hugin
Identifier: net.sourceforge.hugin
Version: 2010.3.0 ()
Code Type: X86 (Native)
Parent Process: launchd [141]
Date/Time: 2010-09-09 20:37:43.833 +0200
OS Version: Mac OS X 10.6.4 (10F569)
Report Version: 6
...
Exception Type: EXC_BREAKPOINT (SIGTRAP)
Exception Codes: 0x0000000000000002, 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Dyld Error Message:
Symbol not found: _main
Referenced from: /Applications/Hugin.app/Contents/MacOS/Hugin
Expected in: flat namespace
Model: MacBookPro5,1, BootROM MBP51.007E.B05, 2 processors, Intel Core
2 Duo, 2.4 GHz, 4 GB, SMC 1.33f8
...
There were a lot of warnings when building hugin, many of them like
...
Linking CXX executable test_lensFunc
ld: warning: in CMakeFiles/test_lensFunc.dir/HermiteSpline.c.o, file
was built for i386 which is not the architecture being linked (x86_64)
[ 62%] Built target test_lensFunc
...
Linking CXX executable nona
ld: warning: in ../foreign/levmar/libhuginlevmar.a, file was built for
unsupported file format which is not the architecture being linked
(x86_64)
[ 52%] Built target nona
...
Linking CXX executable Hugin.app/Contents/MacOS/Hugin
ld: warning: in CMakeFiles/Hugin.dir/huginApp.cpp.o, file was built
for unsupported file format which is not the architecture being linked
(i386)
...
I checked with lipo
HaleMBP:lib martin$ cd /opt/local/lib
HaleMBP:lib martin$ lipo -info *.dylib | grep -v i386
-- nothing --
HaleMBP:lib martin$ cd /usr/local/lib
HaleMBP:lib martin$ lipo -info *.dylib | grep -v i386
Non-fat file: libhuginANN.0.0.dylib is architecture: x86_64
Non-fat file: libhuginANN.dylib is architecture: x86_64
Non-fat file: libhuginbase.0.0.dylib is architecture: x86_64
Non-fat file: libhuginbase.dylib is architecture: x86_64
Non-fat file: libhuginvigraimpex.0.0.dylib is architecture: x86_64
Non-fat file: libhuginvigraimpex.dylib is architecture: x86_64
So maybe these libraries are the reason? But why did they not compile
with i386 as all others did?
Have an idea?
Thank you for your support
Martin