From: kimura w. <ki...@us...> - 2008-03-15 07:25:09
|
Hi, config.h refered from osx_ruby.h is located into /usr/lib/ruby/1.8/universal-darwin9.0. Add the directory as "Header Search Paths" to your project. On Sat, 08 Mar 2008 22:30:33 -0800, Yon Ru wrote: > Hi all, > > Can anyone tell me how to build a xcode project using RBObject.h > without an error? > > I'm trying to build a obj-c cocoa application which links to RubyCocoa, > but whenever I import RBObject.h the project file does not build. > Just importing the header file in an empty file causes massive build errors. > It looks like osx_ruby.h file, which is imported by RBObject.h file, > looks for bunch of ruby header files, > but I don't want to modify system framework files. > > Is the stock version of RubyCocoa on leopard (10.5.2) is broken? or > am I missing something? > > > Any advice is appreciated. > -- kimura wataru |