goshone Posted January 6, 2010 Share Posted January 6, 2010 (edited) So I am also having trouble getting this to work on OSX (Snow Leopard). It seems to build fine, but I get an error running setup.py Here is the output of the error: GOSHone$ python setup.py bdist---> pavement.bdist ---> pavement.build ---> pavement.clean ---> pavement.build_sop_cleave hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . SOP_Cleave.C /bin/sh: hcustom: command not found Captured Task Output: --------------------- ---> pavement.bdist ---> pavement.build ---> pavement.clean ---> pavement.build_sop_cleave hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . SOP_Cleave.C /bin/sh: hcustom: command not found Build failed running pavement.bdist: Subprocess return code: 127 Any suggestions?? I tried to chmod all the dirs I could think of to remove any permissions issue, but obviously no luck there. thanks in advance for any assistance. EDIT: hcustom is bombing out even when trying to create SOP_Star.C. It says HFS: Undefined variable. But running hconfig confirms it is there???? GOSHone$ ../../../bin/./hconfig -a Couldn't find help file: help/config.help Make sure your HFS variable is set properly, or that your HOUDINI_PATH includes $HFS/houdini. EDITOR := '<not defined>' FPS := -1 HFS := '/Library/Frameworks/Houdini.framework/Versions/10.0.465/Resources' HOME := '/Users/GOSHone' HOUDINI4_COMPATIBILITY := 0 HOUDINI55_COMPATIBILITY := 0 HOUDINI6_COMPATIBILITY := 0 HOUDINI6_FILTER_COMPATIBILITY := 0 HOUDINI7_COMPATIBILITY := 0 HOUDINI8_COMPATIBILITY := 0 HOUDINI95_COMPATIBILITY := 0 HOUDINI_ABEKAS_LOGNAME := '<not defined>' HOUDINI_ABEKAS_LOGPASSWD := '<not defined>' HOUDINI_ABEKAS_PAL_XRES := 720 HOUDINI_ABEKAS_PAL_YRES := 576 HOUDINI_ACCESS_METHOD := 0 HOUDINI_ASSERT_COMMAND := '<not defined>' HOUDINI_AUDIO_DSO_PATH := '<not defined>' HOUDINI_AUDIT_IO := 0 HOUDINI_AUTOSAVE_FILENAME := '$BASENAME_auto$N' HOUDINI_BACKUP_DIR := './backup' HOUDINI_BACKUP_FILENAME := '$BASENAME_bak$N' HOUDINI_BUFFEREDSAVE := 0 HOUDINI_CASE_SENSITIVE_FS := 0 HOUDINI_CHECK_XFORM := -1 HOUDINI_CHOP_IMAGE := '<not defined>' HOUDINI_CHOP_LINEWIDTH := 1 HOUDINI_CHOP_OLDNOISE := 0 HOUDINI_CHOP_UNITS := '<not defined>' HOUDINI_CINEON_BLACK_POINT := 95 HOUDINI_CINEON_FILM_GAMMA := 0.6 HOUDINI_CINEON_FULL_RANGE := 0 HOUDINI_CINEON_PREVIEW_LUT := '<not defined>' HOUDINI_CINEON_RENDER_LUT := '<not defined>' HOUDINI_CINEON_WHITE_POINT := 685 HOUDINI_CLIP_PATH := '<not defined>' HOUDINI_COLOR_PICKER_GAMMA := 1 HOUDINI_CONDENSE_HIP := 0 HOUDINI_CONFIRM_COMMAND := '<not defined>' HOUDINI_CONSOLE_LINES := 256 HOUDINI_COOK_MODE_THRESHOLD := 0 HOUDINI_COPY_SUFFIX := '' HOUDINI_COP_DISK_DEFAULTNAME := '<not defined>' HOUDINI_COP_FAKE_MOVIEREAD := 0 HOUDINI_COREDUMP := 0 HOUDINI_CPP_EXPAND_PRAGMA := 0 HOUDINI_CUSTOM_PATH := '<not defined>' HOUDINI_DEBUG_COP_FRACTION := 0 HOUDINI_DEFAULT_RIB_RENDERER := 'prman13.5' HOUDINI_DEFAULT_TEXTURE_COLOR := '<not defined>' HOUDINI_DEFOPTYPEPREFIX := '<not defined>' HOUDINI_DESKTOP_DIR := '/Users/GOSHone/Desktop' HOUDINI_DESK_PATH := '<not defined>' HOUDINI_DISABLE_3DNOW := 0 HOUDINI_DISABLE_CONSOLE := 0 HOUDINI_DISABLE_CPUID := 0 HOUDINI_DISABLE_DISPLAYLIST := 0 HOUDINI_DISABLE_EXPORT_RENAME := 0 HOUDINI_DISABLE_IMAGE_DSO := 0 HOUDINI_DISABLE_MMX := 0 HOUDINI_DISABLE_POLYTESS_CACHE := 0 HOUDINI_DISABLE_SAVE_THUMB := 0 HOUDINI_DISABLE_SOHO_SPOOLING := 0 HOUDINI_DISABLE_SSE := 0 HOUDINI_DISABLE_UNSAFE_VEX := 0 HOUDINI_DISABLE_XMMX := 0 HOUDINI_DISPLAYLIST_DELAY := 2 HOUDINI_DOUBLEBUFFER := '<not defined>' HOUDINI_DSO_ERROR := 1 HOUDINI_DSO_PATH := '<not defined>' HOUDINI_ENABLE_FPS_SCALE := 0 HOUDINI_ENABLE_LINUX_TABLET := 1 HOUDINI_ENABLE_OLD_PRESETS := 0 HOUDINI_ENABLE_UNDO_BUG_NOTIFY := 0 HOUDINI_ERRORLOG_FILENAME := '<not defined>' HOUDINI_ERRORLOG_LEVEL := 3 HOUDINI_EXPERIMENTAL := 0 HOUDINI_EXTERNAL_HELP_BROWSER := 0 HOUDINI_FB_FILTER_ORIGINAL := 0 HOUDINI_FILE_VIEWER := 'hview' HOUDINI_FULL_SHADERSTRING := 0 HOUDINI_GALLERY_PATH := '<not defined>' HOUDINI_GAUSS_EXP := -3 HOUDINI_GEOMETRY_PATH := '<not defined>' HOUDINI_GLSL_PATH := '<not defined>' HOUDINI_GU_DEBUG := 0 HOUDINI_HIPEXT := 0 HOUDINI_HIP_FROM_PATH := 0 HOUDINI_HSERVER_PORT := 1714 HOUDINI_HSVCOP_COMPAT := 0 HOUDINI_ICON_CACHE_DIR := '<not defined>' HOUDINI_IMAGE_DISPLAY_GAMMA := 0 HOUDINI_IMAGE_DISPLAY_LUT := '<not defined>' HOUDINI_IMAGE_DSO_PATH := '<not defined>' HOUDINI_IMAGE_INSPECT_LUT := '<not defined>' HOUDINI_INTERACTIVE_ASSERTS := 1 HOUDINI_INTERNAL_IGNORE_SIGNALS := 0 HOUDINI_INTERRUPT_DEBUG := 0 HOUDINI_INTERRUPT_THRESH := 2 HOUDINI_IPLAY_IP := 0 HOUDINI_IP_COMMAND := '<not defined>' HOUDINI_IP_COMMAND_FLIP := '<not defined>' HOUDINI_IRIX_OSTRSTREAM_MAX_SIZE := 5242880 HOUDINI_JITTERY_CAMERA := 0 HOUDINI_LINUX_DOUBLE_CLICK_TIME := 0.5 HOUDINI_LMINFO_VERBOSE := 1 HOUDINI_LOD := 1 HOUDINI_MACRO_PATH := '<not defined>' HOUDINI_MANTRA3_REFLECT := '<not defined>' HOUDINI_MANTRA3_SHADOW := '<not defined>' HOUDINI_MAXSPUS := -1 HOUDINI_MAXTHREADS := -1 HOUDINI_MAX_BACKUP_FILES := 0 HOUDINI_MAX_CACHED_FBX_SCENES := 1 HOUDINI_MAX_FILE_HISTORY := 12 HOUDINI_MAX_VOLUME_RES := 128 HOUDINI_MDISPLAY_WAIT_TIME := 60 HOUDINI_MD_COMMAND := '<not defined>' HOUDINI_MD_COMMAND_FLIP := '<not defined>' HOUDINI_MESSAGE_COMMAND := '<not defined>' HOUDINI_MIP_READ := 0 HOUDINI_MITCHELL_B := 0.333333 HOUDINI_MITCHELL_C := 0.333333 HOUDINI_MI_DISABLE_FLIP_RMAP := 0 HOUDINI_MMB_PAN := 1 HOUDINI_MPLAY_LOCKPATH := '<not defined>' HOUDINI_MUV_ATTRIB_COMPATIBILITY := 0 HOUDINI_NETEXCHANGE_HEARTBEAT := -1 HOUDINI_NODE_WIDTH := -1 HOUDINI_NOHKEY := 0 HOUDINI_NOHKEY_APPRENTICE := 0 HOUDINI_NO_ASSERTS := 0 HOUDINI_NO_DEFAULT_SHELF_TOOLS := 0 HOUDINI_NO_ENV_FILE := 0 HOUDINI_NO_ENV_FILE_OVERRIDES := 0 HOUDINI_NO_SPLASH := 0 HOUDINI_OGL_ALPHA_PIXMAP := 0 HOUDINI_OGL_BITMAP_POINT_MARKERS := 0 HOUDINI_OGL_DEBUG := 1 HOUDINI_OGL_DISABLE_FBO := 0 HOUDINI_OGL_DISABLE_FBO_RENDER_TO_TEXTURE := 0 HOUDINI_OGL_DISABLE_RASTER_IN_OVERLAY := 0 HOUDINI_OGL_DISABLE_SMOOTH_STIPPLED_LINES := '<not defined>' HOUDINI_OGL_ENABLE_PBUFFER := 0 HOUDINI_OGL_ENABLE_SHADERS := 1 HOUDINI_OGL_ENABLE_TEXTURE_SEQUENCES := 0 HOUDINI_OGL_FAST_ORDER2 := 1 HOUDINI_OGL_HARDWARE := 0 HOUDINI_OGL_INT_RASTER_ZOOM_ONLY := 0 HOUDINI_OGL_MARQUEE_FIX := 0 HOUDINI_OGL_OVERLAY_SUPPORT := 0 HOUDINI_OGL_RASTER_DISPLAY_FIX := 0 HOUDINI_OGL_SHADOWMAP_SIZE := 512 HOUDINI_OGL_SOFTWARE := 0 HOUDINI_OLD_CONST_BEHAVIOUR := 0 HOUDINI_OLD_RATS := 0 HOUDINI_OLD_SPINNER := 0 HOUDINI_OPLIBRARIES_PATH := '<not defined>' HOUDINI_OS := 'MacOS' HOUDINI_OSX_SWAP_DEL_AND_BACKSPACE := 0 HOUDINI_OTLSCAN_PATH := '<not defined>' HOUDINI_OTL_PATH := '<not defined>' HOUDINI_OUTLINEFONT_PATH := '<not defined>' HOUDINI_OVERRIDE_XRES := -1 HOUDINI_OVERRIDE_YRES := -1 HOUDINI_PATH := '/Library/Frameworks/Houdini.framework/Versions/10.0.465/Resources; /Users/GOSHone/Downloads/HOT/hotsrc_1.0rc8' HOUDINI_PERFORMANCE_SIZE := 1500 HOUDINI_QTML_USE_GDI := 1 HOUDINI_RAT_USAGE := 256 HOUDINI_RIBSHADER_DIR := '<not defined>' HOUDINI_RI_EYESPLITS := '<not defined>' HOUDINI_RI_SHADERPATH := '<not defined>' HOUDINI_RI_TEXTUREPATH := '<not defined>' HOUDINI_RMAN_CURVE_BASIS := '<not defined>' HOUDINI_RMAN_CURVE_STEP := -1 HOUDINI_RMAN_INCLUDE_FIX := 0 HOUDINI_SCRIPT_DEBUG := 0 HOUDINI_SCRIPT_LICENSE := '<not defined>' HOUDINI_SCRIPT_PATH := '<not defined>' HOUDINI_SIMPLIFIED_NODE_NAMES := 0 HOUDINI_SKIP_NAME := 0 HOUDINI_SOCKET_PORT := 560 HOUDINI_SOHO_PATH := '<not defined>' HOUDINI_SPLASH_MESSAGE := '<not defined>' HOUDINI_STEDIT := '<not defined>' HOUDINI_STPATH := '<not defined>' HOUDINI_SYSTRACE := 0 HOUDINI_SYSTRACE_FILENAME := '<not defined>' HOUDINI_SYSTRACE_THRESHHOLD := 0 HOUDINI_TEMP_DIR := '/tmp' HOUDINI_TEX3D_USAGE := 128 HOUDINI_TEXTURE_PATH := '<not defined>' HOUDINI_TEXT_CONSOLE := 0 HOUDINI_THREAD_IMAGE := 0 HOUDINI_THUMB_RENDER := '<not defined>' HOUDINI_TIFF_BOTTOMLEFT := 0 HOUDINI_TIFF_SAMPLEFORMAT := 0 HOUDINI_TOOLBAR_PATH := '<not defined>' HOUDINI_TOP_POS_SINGLE_PASS := 0 HOUDINI_UISCALE := 100 HOUDINI_UI_APP_PATH := '<not defined>' HOUDINI_UI_AUDIO_PATH := '<not defined>' HOUDINI_UI_COREDUMP := 0 HOUDINI_UI_CURSOR_PATH := '<not defined>' HOUDINI_UI_DEBUG := 0 HOUDINI_UI_ICON_PATH := '<not defined>' HOUDINI_UI_PATH := '<not defined>' HOUDINI_UI_QUEUE_DEBUG := 0 HOUDINI_UI_QUEUE_SIZE := -1 HOUDINI_UI_RESOURCES := '<not defined>' HOUDINI_UNDO_DIR := '<not defined>' HOUDINI_USE_NATIVE_FILE_CHOOSER := 0 HOUDINI_VERBOSE_ERROR := 0 HOUDINI_VEX_DEFAULT_AMBIENT := 'opdef:/Shop/v_ambient' HOUDINI_VEX_DEFAULT_LIGHT := 'opdef:/Shop/v_asadlight' HOUDINI_VEX_DEFAULT_MATTE := 'opdef:/Shop/v_matte' HOUDINI_VEX_DEFAULT_OGLSEL := 'opdef:/Shop/v_oglmaterial diff 1 1 0 spec 0 0 0' HOUDINI_VEX_DEFAULT_OGLSURF := 'opdef:/Shop/v_oglmaterial' HOUDINI_VEX_DEFAULT_PHOTON := 'opdef:/Shop/v_ph_plastic' HOUDINI_VEX_DEFAULT_SHADOW := 'opdef:/Shop/v_rayshadow' HOUDINI_VEX_DEFAULT_SURFACE := 'opdef:/Shop/v_plastic' HOUDINI_VEX_OLD_DERIV := 0 HOUDINI_VEX_OPTIMIZER := 1 HOUDINI_VEX_PATH := '<not defined>' HOUDINI_VEX_URANDOM := 0 HOUDINI_VIEW_MANTRA := 'mantra' HOUDINI_VIEW_METACAM := '<not defined>' HOUDINI_VIEW_RMAN := 'render' HOUDINI_VRML_CONVERT := '/usr/sbin/ivToVRML -t' HOUDINI_VRML_CONVERT2 := '/usr/sbin/ivToVRML -t | /usr/sbin/vrml1ToVrml2' HOUDINI_WEB_BROWSER_COMMAND := '<not defined>' HOUDINI_WF_GAMMA := -1 HOUDINI_WINDOW_CONSOLE := 0 HOUDINI_WORKSHEET_BOXPICK := '<not defined>' HOUDINI_WRITE_BINARY_ICONS := 0 HOUDINI_X11_SYNCHRONOUS := 0 HSCRIPT_NO_HISTORY := 0 HSCRIPT_SAFEQUIT := 0 HSITE := '/Library/Frameworks/Houdini.framework/Versions/10.0.465/Resources/site' JOB := '<not defined>' MANTRA_BIAS_NORMAL := 0 MANTRA_DEBUG_MEMORY := 0 MANTRA_DISABLE_FOGBOX := 0 MANTRA_FORCE_RAY := 0 SHELL := '/bin/bash' USER := 'GOSHone' VISUAL := '<not defined>' Edited January 7, 2010 by goshone Quote Link to comment Share on other sites More sharing options...
eloop Posted January 7, 2010 Author Share Posted January 7, 2010 (edited) You will need to get $HFS etc defined, either start a houdini terminal application or in a terminal window do - > cd /Library/Frameworks/Houdini.framework/Versions/Current/Resources > . houdini_setup_bash > echo $HFS /Library/Frameworks/Houdini.framework/Versions/10.0.465/Resources But at the moment it seems that things are broken, I haven't been able to get any HDK samples working on Snow Leopard for recent 10.0 releases. $ hcustom SOP_Star.C Making SOP_Star.o and /Users/drw900/Library/Preferences/houdini/10.0/dso/SOP_Star.dylib from SOP_Star.C cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ ld: file not found: @rpath/libboost_iostreams-xgcc42-mt-1_37.dylib collect2: ld returned 1 exit status This is something that SideFX will have to fix. -Drew UPDATE: See later in this thread for a resolution of this problem. It was specific to my Houdini installation. The HOT and recent 10.0 releases now seem to be OK under Snow Leopard Edited February 1, 2010 by eloop updated information Quote Link to comment Share on other sites More sharing options...
goshone Posted January 7, 2010 Share Posted January 7, 2010 You will need to get $HFS etc defined, either start a houdini terminal application or in a terminal window do - > cd /Library/Frameworks/Houdini.framework/Versions/Current/Resources > . houdini_setup_bash > echo $HFS /Library/Frameworks/Houdini.framework/Versions/10.0.465/Resources But at the moment it seems that things are broken, I haven't been able to get any HDK samples working on Snow Leopard for recent 10.0 releases. $ hcustom SOP_Star.C Making SOP_Star.o and /Users/drw900/Library/Preferences/houdini/10.0/dso/SOP_Star.dylib from SOP_Star.C cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ ld: file not found: @rpath/libboost_iostreams-xgcc42-mt-1_37.dylib collect2: ld returned 1 exit status This is something that SideFX will have to fix. -Drew Thanks for the response. I got the environment working as you suggested here. I was using the houdini terminal before which is why I was confused (I later realized the houdini_setup_bash had the '.txt' extension on there for some reason when listed in a terminal), but running that setup in a normal terminal seemed to work. I also got that error above, so I guess I will have to wait until a fix comes along from SideFX. Oh well. Quote Link to comment Share on other sites More sharing options...
goldleaf Posted January 23, 2010 Share Posted January 23, 2010 But at the moment it seems that things are broken, I haven't been able to get any HDK samples working on Snow Leopard for recent 10.0 releases. This is something that SideFX will have to fix. -Drew Any word on what/how this will get fixed? I've been trying to build HOT on OS X (I'm using Houdini 10.0.523), and I get an assertion error, which seems to be an hcustom problem. But I can compile other plugins no problem using hcustom. Any idea of when or how to fix this? Thanks! Quote Link to comment Share on other sites More sharing options...
eloop Posted January 26, 2010 Author Share Posted January 26, 2010 Hi Goldleaf, Are you using Snow Leopard (I'm guessing no) ? Also, can you post the error message. -Drew Any word on what/how this will get fixed? I've been trying to build HOT on OS X (I'm using Houdini 10.0.523), and I get an assertion error, which seems to be an hcustom problem. But I can compile other plugins no problem using hcustom. Any idea of when or how to fix this? Thanks! Quote Link to comment Share on other sites More sharing options...
goldleaf Posted January 28, 2010 Share Posted January 28, 2010 (edited) Here is what's happening when I run 'python setup.py bdist': ---> pavement.bdist ---> pavement.build ---> pavement.clean ---> pavement.build_sop_cleave hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . SOP_Cleave.C Linking with 'libblitz' Linking with 'libfftw3f' Install directory = '.' g++ -DUT_DSO_TAGINFO='"3262197cbf1141062ab52d8b4f2898ef665cccf4ce2edaac20bb90595407f19e34d0298fdc7325345d58b38204957c4c02a2b054ef8db75e53164abd33eaebed15be57b7ff805b8eb33e971d57ba03ecba5efff0cfa2d924b3f61d581513fb0cbb5ded52962183"' -DVERSION=\"10.0.523\" -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 -I3rdparty/osx/include -I3rdparty/include -DGCC4 -DGCC3 -Wno-deprecated -I/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/toolkit/include -I/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/toolkit/include/htools -Wall -W -Wno-parentheses -Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused -Wno-unused-parameter -O2 -DMAKING_DSO -o SOP_Cleave.o SOP_Cleave.C g++ -bundle SOP_Cleave.o -arch x86_64 -fobjc-gc-only -I3rdparty/osx/include -I3rdparty/include -L3rdparty/osx/lib -lblitz -lfftw3f -framework OpenGL -framework Cocoa -rpath,@loader_path/Libraries -Wl,-rpath,/Library/Frameworks/Houdini.framework/Versions/10.0.523/Libraries -L/Library/Frameworks/Houdini.framework/Versions/10.0.523/Libraries -L/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/Frameworks/Houdini.framework/Versions/10.0.523/Libraries -F/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/Frameworks -framework Houdini -o ./SOP_Cleave.dylib Captured Task Output: --------------------- ---> pavement.bdist ---> pavement.build ---> pavement.clean ---> pavement.build_sop_cleave hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . SOP_Cleave.C Traceback (most recent call last): File "paver-minilib.zip/paver/tasks.py", line 164, in _run_task return do_task() File "paver-minilib.zip/paver/tasks.py", line 161, in do_task return func(**kw) File "pavement.py", line 106, in bdist call_task('build') File "paver-minilib.zip/paver/easy.py", line 78, in __call__ return self.__get_object()(*args, **kw) File "paver-minilib.zip/paver/tasks.py", line 123, in call_task task() File "paver-minilib.zip/paver/tasks.py", line 241, in __call__ retval = environment._run_task(self.name, self.needs, self.func) File "paver-minilib.zip/paver/tasks.py", line 181, in _run_task return do_task() File "paver-minilib.zip/paver/tasks.py", line 161, in do_task return func(**kw) File "pavement.py", line 76, in build call_task('build_sop_cleave') File "paver-minilib.zip/paver/easy.py", line 78, in __call__ return self.__get_object()(*args, **kw) File "paver-minilib.zip/paver/tasks.py", line 123, in call_task task() File "paver-minilib.zip/paver/tasks.py", line 241, in __call__ retval = environment._run_task(self.name, self.needs, self.func) File "paver-minilib.zip/paver/tasks.py", line 181, in _run_task return do_task() File "paver-minilib.zip/paver/tasks.py", line 161, in do_task return func(**kw) File "pavement.py", line 170, in build_sop_cleave hcustom('SOP_Cleave.C') File "pavement.py", line 192, in hcustom assert path(soname(srcfile)).exists() AssertionError Does this look like an error you've seen before? I am using Snow Leopard, actually. OS X 10.6.2 Thanks a bunch, btw, for taking the time to help. Means a lot. Edited January 28, 2010 by goldleaf Quote Link to comment Share on other sites More sharing options...
eloop Posted January 29, 2010 Author Share Posted January 29, 2010 This not very clear error is just saying that after compiling the expected file wasn't found (I'll have to make this a bit clearer one day...) SOP_Cleave is really as simple as SOP_Star as far as HDK projects go, so at this point are you really sure that you are able to successfully compile HDK examples ? eg try doing a > hcustom -i . SOP_Cleave.C or copy SOP_Star.C from $HT/examples/SOP and > hcustom -i . SOP_Star.C Do you end up with SOP_Cleave.dylib (/SOP_Star.dylib) in the current directory ? -Drew I currently can't get this to work -Drew Quote Link to comment Share on other sites More sharing options...
goldleaf Posted January 30, 2010 Share Posted January 30, 2010 This not very clear error is just saying that after compiling the expected file wasn't found (I'll have to make this a bit clearer one day...) SOP_Cleave is really as simple as SOP_Star as far as HDK projects go, so at this point are you really sure that you are able to successfully compile HDK examples ? eg try doing a > hcustom -i . SOP_Cleave.C or copy SOP_Star.C from $HT/examples/SOP and > hcustom -i . SOP_Star.C Do you end up with SOP_Cleave.dylib (/SOP_Star.dylib) in the current directory ? -Drew I currently can't get this to work -Drew Yeah, I can use hcustom just fine. I've been compiling the Bullet DOP Solver and it works. That's what's confusing to me; hcustom has worked for everything but this so far. When you said you can't currently get this to work, did you mean you can't get the same error to replicate? Quote Link to comment Share on other sites More sharing options...
eloop Posted January 31, 2010 Author Share Posted January 31, 2010 I mean I can't get any SOP to build under Snow Leopard. Can you try building SOP_Cleave using the above hcustom command and tell me what the output is. -Drew Yeah, I can use hcustom just fine. I've been compiling the Bullet DOP Solver and it works. That's what's confusing to me; hcustom has worked for everything but this so far. When you said you can't currently get this to work, did you mean you can't get the same error to replicate? Quote Link to comment Share on other sites More sharing options...
goldleaf Posted January 31, 2010 Share Posted January 31, 2010 Ah, I see. Both SOP_Star.C and SOP_Cleave.C compile just fine for me; the only output message is a warning (for both) is: cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ And running hcustom -e -i . SOP_Cleave.C produced this output: Install directory = '.' g++ -DUT_DSO_TAGINFO='"3262197cbf1141062ab52d8b4f2898ef665cccf4ce2edaac20bb90595407f19e34d0298fdc7325345d58b38204957c4c02a2b054ef8db75e53164eb923eaebed15be56b0ff80588eb634971c56ba03ecba5efff0cfa2d924b3f61d581513fb0cbb5ded52962183"' -DVERSION=\"10.0.523\" -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.523/Resources/toolkit/include -I/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/toolkit/include/htools -Wall -W -Wno-parentheses -Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused -Wno-unused-parameter -O2 -DMAKING_DSO -o SOP_Cleave.o SOP_Cleave.C cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ g++ -bundle SOP_Cleave.o -arch x86_64 -fobjc-gc-only -framework OpenGL -framework Cocoa -rpath,@loader_path/Libraries -Wl,-rpath,/Library/Frameworks/Houdini.framework/Versions/10.0.523/Libraries -L/Library/Frameworks/Houdini.framework/Versions/10.0.523/Libraries -L/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/Frameworks/Houdini.framework/Versions/10.0.523/Libraries -F/Library/Frameworks/Houdini.framework/Versions/10.0.523/Resources/Frameworks -framework Houdini -o ./SOP_Cleave.dylib I'm running the latest Xcode (3.2) under OSX 10.6.2 ; when I had an earlier version, I couldn't build anything. I take it you're working with Leopard (10.5)? Quote Link to comment Share on other sites More sharing options...
eloop Posted February 1, 2010 Author Share Posted February 1, 2010 Hi Goldleaf, Your success in compiling under Snow Leopard spurred me on to work out what the problem was at my end. For some reason my hcustom in the latest couple of houdini installs had problems that seemed to have come from another version of libboost being present when I installed Houdini on my machine. After lots of futzing with PATH and DYLD_LIBRARY_PATH to no avail, re-installing Houdini fixed the problem, go figure... So at that point I could build SOP_Star, the HOT etc. My first guess as to what is going wrong with your compile is that you haven't successfully built the 3rdparty libraries ? You should be able to see this from the hot/src directory. (mypy) ~/dev/houdini/hot/src/ $ ls 3rdparty/osx/lib/ libblitz.a libfftw3f.la pkgconfig libblitz.la libfftw3f_threads.a libfftw3f.a libfftw3f_threads.la If not you need to do this > cd 3rdparty > ./build_osx.sh ....... wait a while ...... Then try the hot build again. BTW I uploaded a binary distribution of the latest HOT for OSX / Snow Leopard to the google code site downloads. -Drew Quote Link to comment Share on other sites More sharing options...
fsimerey Posted August 11, 2010 Share Posted August 11, 2010 I'm trying to compile HOT for houdini 11 & mac os 10.6.4. I can compile SOP_Star.c with only warning for C++. When i run this command: python setup.py bdist, i have these errors in output: Captured Task Output: --------------------- ---> pavement.bdist ---> pavement.build ---> pavement.clean ---> pavement.build_sop_cleave hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . SOP_Cleave.C cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ SOP_Cleave.C: In member function ‘virtual OP_ERROR SOP_Cleave::cookMySop(OP_Context&)’: SOP_Cleave.C:249: error: cannot convert ‘GB_AttributeRef’ to ‘int’ in initialization SOP_Cleave.C:270: error: no matching function for call to ‘GEO_Point::castAttribData(int&)’ SOP_Cleave.C:459: error: no matching function for call to ‘GEO_Point::castAttribData(int&)’ Build failed running pavement.bdist: Subprocess return code: 1 I tried this compilation: hcustom -i . SOP_Cleave.C return this: bash-3.2# hcustom -i . SOP_Cleave.C Install directory = '.' Making SOP_Cleave.o and ./SOP_Cleave.dylib from SOP_Cleave.C cc1plus: warning: command line option "-fobjc-gc-only" is valid for ObjC/ObjC++ but not for C++ SOP_Cleave.C: In member function ‘virtual OP_ERROR SOP_Cleave::cookMySop(OP_Context&)’: SOP_Cleave.C:249: error: cannot convert ‘GB_AttributeRef’ to ‘int’ in initialization SOP_Cleave.C:270: error: no matching function for call to ‘GEO_Point::castAttribData(int&)’ SOP_Cleave.C:459: error: no matching function for call to ‘GEO_Point::castAttribData(int&)’ Compile failed Any solution ? Thanks for your help. Quote Link to comment Share on other sites More sharing options...
eloop Posted August 12, 2010 Author Share Posted August 12, 2010 See here. Quote Link to comment Share on other sites More sharing options...
fsimerey Posted August 14, 2010 Share Posted August 14, 2010 See here. Thanks a lot eloop 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.