Hyperion Posted August 4, 2009 Share Posted August 4, 2009 (edited) Hi Drew. I have the same gcc version: Gondor:temporal user$ gcc -v Using built-in specs. Target: i686-apple-darwin9 Configured with: /var/tmp/gcc/gcc-5465~16/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=i686-apple-darwin9 --with-arch=apple --with-tune=generic --host=i686-apple-darwin9 --target=i686-apple-darwin9 Thread model: posix gcc version 4.0.1 (Apple Inc. build 5465) Here´s the compiling output from my system: Gondor:temporal user$ hcustom -e SOP_Star.C g++ -DUT_DSO_TAGINFO='"3262197cbf075a1131862a87493e9eee6542daf3ce2e99fa6da8f77b5847f185379b21c0d07c73344332f8ed67bb645b4beee110fed6e351400c2ded77f891bc429445a0ff924994a3268d4a1ea011fcfe1d90a2e5"' -DVERSION=\"10.0.295\" -DDLLEXPORT= -D_GNU_SOURCE -DMBSD -DMBSD_COCOA -DMBSD_INTEL -arch x86_64 -DAMD64 -fPIC -DSIZEOF_VOID_P=8 -DSESI_LITTLE_ENDIAN -DENABLE_THREADS -DUSE_PTHREADS -D_REENTRANT -D_FILE_OFFSET_BITS=64 -fobjc-gc-only -c -DGCC4 -DGCC3 -Wno-deprecated -I/Library/Frameworks/Houdini.framework/Versions/10.0.295/Resources/toolkit/include -I/Library/Frameworks/Houdini.framework/Versions/10.0.295/Resources/toolkit/include/htools -Wall -W -Wno-parentheses -Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused -Wno-unused-parameter -O2 -DMAKING_DSO -o SOP_Star.o SOP_Star.C cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ g++ -bundle SOP_Star.o -arch x86_64 -fobjc-gc-only -framework OpenGL -framework Cocoa -rpath,@loader_path/Libraries -Wl,-rpath,/Library/Frameworks/Houdini.framework/Versions/10.0.295/Libraries -L/Library/Frameworks/Houdini.framework/Versions/10.0.295/Libraries -L/Library/Frameworks/Houdini.framework/Versions/10.0.295/Resources/Frameworks/Houdini.framework/Versions/10.0.295/Libraries -F/Library/Frameworks/Houdini.framework/Versions/10.0.295/Resources/Frameworks -framework Houdini -o /Users/user/Library/Preferences/houdini/10.0/dso/SOP_Star.dylib ld: in /Library/Frameworks//Python.framework/Python, missing required architecture x86_64 in file collect2: ld returned 1 exit status The main problem I am having is: ld: in /Library/Frameworks//Python.framework/Python, missing required architecture x86_64 in file Should I have a Python build for 64bits installed in my system in orden to compile this code ? I don´t compile files on a regular basis, so please excuse me if I am doing something wrong. Gondor:temporal user$ file /Library/Frameworks/Python.framework/Python /Library/Frameworks/Python.framework/Python: Mach-O universal binary with 2 architectures /Library/Frameworks/Python.framework/Python (for architecture ppc): Mach-O dynamically linked shared library ppc /Library/Frameworks/Python.framework/Python (for architecture i386): Mach-O dynamically linked shared library i386 "I'm not a Mac expert either but mabye it's to do with using an older OSX version ?" -> I have the latest, updated OS X version, 10.5.7 Thanks. ----------------------------------------------------------------------------- SYSTEM CONFIGURATION: Mac Pro 2 x 2.66 GHz Dual-Core Intel Xeon Mac OS X Version 10.5.7 6 GB RAM Developer tools installed from OS X Leopard DVD, Xcode version 3.0, gcc v.4 MacPython 3.0 Houdini apprentice HD (with paid license), v10.0.295 ----------------------------------------------------------------------------- Edited August 4, 2009 by Hyperion Quote Link to comment Share on other sites More sharing options...
eloop Posted August 4, 2009 Share Posted August 4, 2009 I'm not sure why python is coming in to the equation here since it isn't explicitly linked and shouldn't be needed. So, if you have installed a separate non Apple python it may be the problem. I'd try removing it and see what happens. -Drew Quote Link to comment Share on other sites More sharing options...
Hyperion Posted August 5, 2009 Share Posted August 5, 2009 You were totally righ !!! I previously intalled another version of Python, and that was the bug. Now HOT has been compiled w/o any problem. After removing the Python 3.1 framework form the machine, everything was fine ! Just in case any other user has the same problem, have a look at this, in order to uninstall MacPython: http://docs.python.org/using/mac.html Many thanks ! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.