Jump to content

HDK and XCode4


Recommended Posts

Has anybody got a working project or template setup for Xcode4 that works with the HDK?

I am aware of hcustom but I'd like to get it all working inside xcode. I tried adding the .framework in the build phase and adding header and library paths but no luck.

Link to comment
Share on other sites

  • 1 month later...

Was fiddling with XCode today and have it working quite well.

Here is a XCode Project Template that has a shell script as a build target.

It includes a perl build script, that :

  1. sets up houdini environmental variables.

  • checks directory for all .C files that are operators

  • checks if the dso file needs (re)compile and runs hcustom to compiles if source file is newer

  • if a .png or .svg or .icon file exist with the name same operators internal name it will copy it to the correct ...config/Icons directory

Place this in :

/Developer/Library/Xcode/Project\ Templates/Other/HDK

HDK.zip

Link to comment
Share on other sites

Another idea might be using the cmake configuration file from this the RmanPtcSop project: http://danbethell.github.com/rmanptcsop/

From an email 2 yrs ago,

It certainly took a while to

dissect the makefiles and dig around in headers for the magic mac

compilation flags. It's all wrapped up as the FindHoudini.cmake module

in config/cmake so hopefully will save others some time/pain if they

fancy diving into the HDK

Maybe the OSX cmake can generate the XCode 4 project for you.

Link to comment
Share on other sites

  • 3 weeks later...

Another idea might be using the cmake configuration file from this the RmanPtcSop project: http://danbethell.github.com/rmanptcsop/

From an email 2 yrs ago,

Maybe the OSX cmake can generate the XCode 4 project for you.

[/size][/font]

yes yes "cmake . -G Xcode" does

it is need to link $HDK_LIBRARY_DIRS $HDK_STANDALONE_LIBRARY_DIRS

and change compiler type to LLVM GCC 4.2 instead Apple LLVM compiler 3.1

Lanuch Xcode from console after source houdini_setup_bash

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...