spacemanspiff

spacemanspiff

About Me

Connect

LOCATION
Not Specified
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Compiling Problem Mac OS 10.6.4 Dec. 29, 2010, 5:01 p.m.

Solved! Thanks for the help Goldleaf.

When I compiled the source code it created a binary distribution. I opened that up and manually copied over the files and HOT started working. I'll post the binary distribution of H11.0.581 on the odforce forum as soon as I can figure out how to attache files to posts on that forum.

Thanks again.

Compiling Problem Mac OS 10.6.4 Dec. 28, 2010, 6:12 p.m.

Okay, so now that I know that my hdk is working (thanks to SOP_Star.C) I'm trying to compile HOT from source code for Mac OS 10.6.4 and Houdini 11.0.581. I was able successfully run ./build_osx.sh via the mac terminal window. Then from the mac terminal window I ran the following to try to compile HOT and got the following error

Workstation4:src michaelmcneff$ python setup.py bdist
—> pavement.bdist
—> pavement.build
—> pavement.clean
—> pavement.build_sop_cleavehttp://forums.odforce.net/public/style_images/master/rte_icons/font_color.png [forums.odforce.net]
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
Workstation4:src michaelmcneff$

After getting that error I tried to compile HOT via the Houdini Shell which seemed to give me a better result (though I still can't seem to get HOT to work.) Please let me know if you have any ideas. Thanks!

Last login: Tue Dec 28 12:43:11 on ttys000
cd /Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources;source houdini_setup
Workstation4:~ michaelmcneff$ cd /Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources;source houdini_setup
The Houdini 11.0.581 environment has been initialized.
Workstation4:Resources michaelmcneff$ cd /Users/michaelmcneff/Desktop/source/src
Workstation4:src michaelmcneff$ 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='“3262197cbf1f40172ba708844a399ff92d48f5c7c030d2b727f789515844b5c237912681d332772a5d6ccee72a8a78500eaaf55fa1d8f944274378f813afc2ac49a645b1ed885c84b934980855aa31ec814ed5f0cfa2d924b3f65f014d4ae141f25ded419a3ee437cdc3abae8d”' -DVERSION=\“11.0.581\” -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 -c -I3rdparty/osx/include -I3rdparty/include -DGCC4 -DGCC3 -Wno-deprecated -DNEED_SPECIALIZATION_STORAGE -I/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/toolkit/include -I/Library/Frameworks/Houdini.framework/Versions/11.0.581/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/11.0.581/Libraries -L/Library/Frameworks/Houdini.framework/Versions/11.0.581/Libraries -F/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/Frameworks -framework Houdini -o ./SOP_Cleave.dylib
—> pavement.build_sop_ocean
hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . SOP_Ocean.C
Linking with ‘libblitz’
Linking with ‘libfftw3f’
Install directory = ‘.’
g++ -DUT_DSO_TAGINFO='“3262197cbf1f40172ba708844a399ff92d48f5c7c030d2b727f789515844b5c237912681d332772a5d6ccee72a8a78500eaaf55fa1d8f944274378f813afc2ac49a645b1ed885c84b934940855aa31ec814ed5f0cfa2d924b3f65f014d4ae141f25ded419a3ee437cdc3abae8d”' -DVERSION=\“11.0.581\” -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 -c -I3rdparty/osx/include -I3rdparty/include -DGCC4 -DGCC3 -Wno-deprecated -DNEED_SPECIALIZATION_STORAGE -I/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/toolkit/include -I/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/toolkit/include/htools -Wall -W -Wno-parentheses -Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused -Wno-unused-parameter -O2 -DMAKING_DSO -o SOP_Ocean.o SOP_Ocean.C

g++ -bundle SOP_Ocean.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/11.0.581/Libraries -L/Library/Frameworks/Houdini.framework/Versions/11.0.581/Libraries -F/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/Frameworks -framework Houdini -o ./SOP_Ocean.dylib
—> pavement.build_vex_ocean
hcustom -e -I 3rdparty/osx/include -I 3rdparty/include -L 3rdparty/osx/lib -l blitz -l fftw3f -i . VEX_Ocean.C
Linking with ‘libblitz’
Linking with ‘libfftw3f’
Install directory = ‘.’
g++ -DUT_DSO_TAGINFO='“3262197cbf1f40172ba708844a399ff92d48f5c7c030d2b727f789515844b5c237912681d332772a5d6ccee72a8a78500eaaf55fa1d8f944274378f813afc2ac49a645b1ed885c84b9359b0855aa31ec814ed5f0cfa2d924b3f65f014d4ae141f25ded419a3ee437cdc3abae8d”' -DVERSION=\“11.0.581\” -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 -c -I3rdparty/osx/include -I3rdparty/include -DGCC4 -DGCC3 -Wno-deprecated -DNEED_SPECIALIZATION_STORAGE -I/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/toolkit/include -I/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/toolkit/include/htools -Wall -W -Wno-parentheses -Wno-sign-compare -Wno-reorder -Wno-uninitialized -Wunused -Wno-unused-parameter -O2 -DMAKING_DSO -o VEX_Ocean.o VEX_Ocean.C

g++ -bundle VEX_Ocean.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/11.0.581/Libraries -L/Library/Frameworks/Houdini.framework/Versions/11.0.581/Libraries -F/Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/Frameworks -framework Houdini -o ./VEX_Ocean.dylib
makedirs hotdist (mode 511)
cd hotdist
makedirs dso (mode 511)
makedirs config (mode 511)
makedirs config/Icons (mode 511)
makedirs vex (mode 511)
makedirs otls (mode 511)
cd /Users/michaelmcneff/Desktop/source/src
copy SOP_Cleave.dylib hotdist/dso/SOP_Cleave.dylib
copy SOP_Ocean.dylib hotdist/dso/SOP_Ocean.dylib
copy VEX_Ocean.dylib hotdist/dso/VEX_Ocean.dylib
copy ./SOP_Ocean.png hotdist/config/Icons/./SOP_Ocean.png
copy ./SOP_Cleave.icon hotdist/config/Icons/./SOP_Cleave.icon
copy ../otls/HOT.otl hotdist/otls
copytree ../examples hotdist/examples
rename hotdist to hotbin_osx_H11.0.581_1.0rc9
rmtree hotbin_osx_H11.0.581_1.0rc9 () {}
Workstation4:src michaelmcneff$

Compiling Problem Mac OS 10.6.4 Dec. 28, 2010, 3:34 p.m.

goldleaf
It's because you're writing to a directory where you don't have write permissions. Copy the files to a folder of yours, and try it from there.

Hey Goldleaf,

Awesome! Thanks for the info. Yes, you were correct. I was unable to write to that directory.

To solve it I went to /Library/Frameworks and copied the folder Houdini.framework to a folder on my desktop called “mine”. Then I opened up the Terminal wan ran chmod -R 777 <path to “mine”> This changed all the permissions of the directories and sub-directories to read-write that are in the “mine” folder. Then I took my new read-write Houndini.framework folder from my desktop and replaced the original Houdini.framework folder with my new read-write enabled one.

Then I ran SOP_Star.C but I got an error. The error said that it couldn't find the directory /Library/Frameworks/Houdini.framework/Versions/11.0.581/Resources/Frameworks
So I just created a folder named “Frameworks” in my “Resources” folder. Then I ran SOP_Star.C and it finally worked.

Now I'm going to try to compile HOT.

Thanks again Goldleaf.

Cheers,
Michael