How do I install the Houdini Ocean Toolkit to my Mac?

   14948   10   2
User Avatar
Member
17 posts
Joined: 3月 2011
Offline
I have a MAC. I want to install the HOUDINI OCEAN TOOLKIT. I downloaded the Houdini Ocean Toolkit (a folder called: hotbin_osx_H11.0.701_1.0rc9) from: http://code.google.com/p/houdini-ocean-toolkit/downloads/list [code.google.com]

After I download the HOUDINI OCEAN TOOLKIT - where do I drag and drop the FOLDER so that I can begin using it?
User Avatar
スタッフ
3464 posts
Joined: 7月 2005
Offline
there are instructions for instalation here:
http://anusf.anu.edu.au/~drw900/houdini/ocean/docs/ [anusf.anu.edu.au]
Michael Goldfarb | www.odforce.net
Training Lead
SideFX
www.sidefx.com
User Avatar
Member
11 posts
Joined: 6月 2008
Offline
export HOUDINI_PATH=“/users/name/name/hotbin_osx_H11.0.701_1.0rc9;&”

;& is importan for houdini to luck on another place for otl-s

so you can set your on folder for otl-s

1. run: Houdini Shell.terminals (to set path - env …. )
2. execute: export HOUDINI_PATH=“/users/name/name/hotbin_osx_H11.0.701_1.0rc9;&”

3. execute: houdini ( to start houdini )

and you will have ocean tools
to see if you did proper path set after starting houdini go to:
Window > Operator Type Manager > Operators > (+) Operators Type Libraries > (+) Scanned OTL Directories
on the botom of list you will si need to have your dir starting with /users/name/name/hotbin_osx_H11.0.701_1.0rc9

you do not need to have name of this dir hotbin_osx_H11.0.701_1.0rc9
it can be houdiniPlug or whatever you want, all future otl-s you can put in inside otls dir
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
I had a crack at this via OSX and could not get the HDK running. Trying with the simple star sop. Any pointers ?

easts-macbook-pro:Resources reast$ hcustom SOP_Star.C
g++: Command not found.
Making SOP_Star.o and /Users/reast/Library/Preferences/houdini/11.0/dso/SOP_Star.dylib from SOP_Star.C
sh: g++: command not found
Compile failed

rob
Gone fishing
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
circusmonkey
g++: Command not found.

You need XCode 3.2.X (do NOT download XCode 4).
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
Thanks Edward> A note about compiling per version of Houdini. I have version hotbin_osx_H11.0.701_1.0rc9 and now xcode_3.2.6_and_ios_sdk_4.3.dmg.

When I try to compile the test $HT/toolkit/samples/SOP/SOP_Star.C I get this error in the shell

Making SOP_Star.o and /Users/reast/Library/Preferences/houdini/11.0/dso/SOP_Star.dylib from SOP_Star.C
/var/folders/rL/rL262iXNHi0nTlP5ABOybk+++TI/-Tmp-//cc72MChA.s:unknown:FATAL:can't create output file: SOP_Star.o
Compile failed
reasts-macbook-proOP reast$


Solved > lack of permissions


Rob
Gone fishing
User Avatar
Member
7899 posts
Joined: 7月 2005
Offline
Don't build the samples in the installation directory. You should copy them out into your home directory first.
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
Ok well I found some other interesting stuff trying to compile the source code of the hot Ocean toolkit for osx.
I also installed cmake for osx from here http://www.cmake.org/cmake/resources/software.html [cmake.org]

Hot source code directory > in a shell I type

cmake .

Running the code all seems well until

easts-macbook-pro:hotsrc_1.0rc9 reast$ camke .
-bash: camke: command not found
reasts-macbook-pro:hotsrc_1.0rc9 reast$ cmake .
– The C compiler identification is GNU
– The CXX compiler identification is GNU
– Checking whether C compiler has -isysroot
– Checking whether C compiler has -isysroot - yes
– Checking whether C compiler supports OSX deployment target flag
– Checking whether C compiler supports OSX deployment target flag - yes
– Check for working C compiler: /usr/bin/gcc
– Check for working C compiler: /usr/bin/gcc – works
– Detecting C compiler ABI info
– Detecting C compiler ABI info - done
– Checking whether CXX compiler has -isysroot
– Checking whether CXX compiler has -isysroot - yes
– Checking whether CXX compiler supports OSX deployment target flag
– Checking whether CXX compiler supports OSX deployment target flag - yes
– Check for working CXX compiler: /usr/bin/c++
– Check for working CXX compiler: /usr/bin/c++ – works
– Detecting CXX compiler ABI info
– Detecting CXX compiler ABI info - done
CMake Warning at CMakeLists.txt:13 (find_package):
Could not find module FindHDK.cmake or a configuration file for package
HDK.

Adjust CMAKE_MODULE_PATH to find FindHDK.cmake or set HDK_DIR to the
directory containing a CMake configuration file for HDK. The file will
have one of the following names:

HDKConfig.cmake
hdk-config.cmake



CMake Error at src/CMakeLists.txt:23 (message):



Anyone got an idea ?
Gone fishing
User Avatar
Member
401 posts
Joined:
Offline
Have you tried the suggested steps?

CMake Warning at CMakeLists.txt:13 (find_package):
Could not find module FindHDK.cmake or a configuration file for package
HDK.

Adjust CMAKE_MODULE_PATH to find FindHDK.cmake or set HDK_DIR to the
directory containing a CMake configuration file for HDK. The file will
have one of the following names:

HDKConfig.cmake
hdk-config.cmake

Maybe you're just in the wrong directory when running
cmake .

I had similar issues when building the kintect drivers.
this is not a science fair.
User Avatar
Member
2624 posts
Joined: 8月 2006
Offline
Hey Georg,
Your post just jogged my grey matter …….

Rob
Gone fishing
User Avatar
Member
197 posts
Joined: 6月 2012
Offline
Any version of Xcode is fine, open it and go to preferences than downloads tab, and install the command line tools.
  • Quick Links