Macha Posted May 2, 2012 Share Posted May 2, 2012 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. Quote Link to comment Share on other sites More sharing options...
rom Posted June 6, 2012 Share Posted June 6, 2012 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 : sets up houdini environmental variables. checks directory for all .C files that are operatorschecks 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 directoryPlace this in : /Developer/Library/Xcode/Project\ Templates/Other/HDK HDK.zip Quote Link to comment Share on other sites More sharing options...
edward Posted June 8, 2012 Share Posted June 8, 2012 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. Quote Link to comment Share on other sites More sharing options...
almatea Posted June 29, 2012 Share Posted June 29, 2012 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 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.