[MacRuby-devel] MacRuby / Hotcocoa / Macrake issue

Nick Brandaleone nbrand at mac.com
Mon Apr 18 11:37:06 PDT 2011


I am new to MacRuby, and I am loving it!  :-)
I have done some RubyCocoa programming in the past, but I am now playing around with the MacRuby frameworks.

I am having an issue with macruby/hotcocoa and macrake.  It looks like it is a loader/linker issue with the wrong architecture.
I am running x_64, and I believe the loader is referencing a 32-bit build.

I understand how to alter this using Xcode, but I am not sure how to correct this for the MacRuby/hotcocoa/macrake framework.
Or is it something else entirely?!

[macpro:~/src/macruby/my_first_app] macrake run

(in /Users/nbrand/src/macruby/my_first_app)
ld: warning: ignoring file /Library/Frameworks//MacRuby.framework/MacRuby, file was built for unsupported file format which is not the architecture being linked (i386)
Undefined symbols for architecture i386:
  "_macruby_main", referenced from:
      _main in ccTmkyxO.o
ld: symbol(s) not found for architecture i386
collect2: ld returned 1 exit status
lipo: can't open input file: /var/folders/bx/bxsDMQkhFGCnAlLx4sEiEE+++TM/-Tmp-//ccDFJISw.out (No such file or directory)

/bin/sh: ./My First App.app/Contents/MacOS/MyFirstApp: No such file or directory


More information about the MacRuby-devel mailing list