Looks like your version of boost might be 64 bit, in which case did you try without '-arch i386', so just:
export CFLAGS="-I/opt/local/include -L/opt/local/lib" On 29 November 2011 11:57, andre <[email protected]> wrote: > when I am Compiling Hugin in mac OS X(10.6.8) follow the guide(http:// > wiki.panotools.org/Hugin_Compiling_OSX),I encounter a problem like > this: > > zhang-weilinmatoMac-2:hugin_build zhangweilin$ export CFLAGS="-arch > i386 -I/opt/local/include -L/opt/local/lib" > zhang-weilinmatoMac-2:hugin_build zhangweilin$ export CXXFLAGS=$CFLAGS > zhang-weilinmatoMac-2:hugin_build zhangweilin$ cmake ../hugin > > -- ZThread library not found. falling back to included copy > *** Will install application bundles in /usr/local/Applications, set > INSTALL_OSX_BUNDLE_DIR to change the location > -- Using shared internal libraries > -- Configuring done > -- Generating done > -- Build files have been written to: /Volumes/扩展盘/hugin_build > zhang-weilinmatoMac-2:hugin_build zhangweilin$ make clean > > zhang-weilinmatoMac-2:hugin_build zhangweilin$ make > > ld: warning: ignoring file /opt/local/lib/libboost_system-mt.dylib, > file was built for unsupported file format which is not the > architecture being linked (i386) > ld: warning: ignoring file /opt/local/lib/libboost_signals-mt.dylib, > file was built for unsupported file format which is not the > architecture being linked (i386) > ld: in /opt/local/lib/libsasl2.2.dylib, file was built for unsupported > file format which is not the architecture being linked (i386) for > architecture i386 > collect2: ld returned 1 exit status > make[2]: *** [src/hugin_base/libhuginbase.0.0.dylib] Error 1 > make[1]: *** [src/hugin_base/CMakeFiles/huginbase.dir/all] Error 2 > make: *** [all] Error 2 > > > ----------------------------------------------------------------------------------------------------------------------------------------------------------- > I used VMware 7.1.3 ,Virtual Machines mac os x 10.6.8 in i386. > gei me some helps,thanks. > > -- > You received this message because you are subscribed to the Google Groups > "Hugin and other free panoramic software" group. > A list of frequently asked questions is available at: > http://wiki.panotools.org/Hugin_FAQ > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] > For more options, visit this group at > http://groups.google.com/group/hugin-ptx > -- You received this message because you are subscribed to the Google Groups "Hugin and other free panoramic software" group. A list of frequently asked questions is available at: http://wiki.panotools.org/Hugin_FAQ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/hugin-ptx
