[MacRuby-devel] c++ lib
Jordan Breeding
jordan.breeding at me.com
Thu May 27 08:01:46 PDT 2010
Try building your framework as both i386 and x86_64.
On May 27, 2010, at 10:00, Louis-Philippe wrote:
> file PATH/MYSDK.framework/MYSDK
> ./MYSDK: Mach-O dynamically linked shared library i386
>
> file `which macruby`:
> /usr/local/bin/macruby: Mach-O universal binary with 2 architectures
> /usr/local/bin/macruby (for architecture i386): Mach-O executable i386
> /usr/local/bin/macruby (for architecture x86_64): Mach-O 64-bit executable x86_64
>
>
> 2010/5/27 Louis-Philippe <default at spiralix.org>
> sorry, the second one really is:
>
> ./MYSDK (from the MYSDK.framework)
> -bash: ./MYSDK: cannot execute binary file
>
> 2010/5/27 Louis-Philippe <default at spiralix.org>
>
> uname -a:
> Darwin modullpmacbook.local 10.3.0 Darwin Kernel Version 10.3.0: Fri Feb 26 11:58:09 PST 2010; root:xnu-1504.3.12~1/RELEASE_I386 i386
>
> ./MYSDK (from the MYSDK.framework)
> -bash: ./R3DSDK: No such file or directory
>
> which macruby:
> /usr/local/bin/macruby
>
> by the way, I tried it in a MacRuby cocoa app inside of xcode, but the error sample I pasted above is from a macirb execution
>
>
> 2010/5/27 Joel Reymont <joelr1 at gmail.com>
>
> Louis-Philippe,
>
> On May 27, 2010, at 3:25 PM, Louis-Philippe wrote:
>
> > Did find:
> > /PATH/MYSDK.framework/MYSDK: mach-o, but wrong architecture)
> > from /PATH/(irb):2:in `<main>'
>
> Can you paste the output from the following?
>
> uname -a
>
> file ATH/MYSDK.framework/MYSDK
>
> file `which macruby`
>
> Thanks, Joel
>
> ---
> http://twitter.com/wagerlabs
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
>
>
>
> _______________________________________________
> MacRuby-devel mailing list
> MacRuby-devel at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macruby-devel
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100527/35779038/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3842 bytes
Desc: not available
URL: <http://lists.macosforge.org/pipermail/macruby-devel/attachments/20100527/35779038/attachment.bin>
More information about the MacRuby-devel
mailing list