[MacRuby-devel] 0.7 Release

Laurent Sansonetti lsansonetti at apple.com
Sat Oct 2 13:29:49 PDT 2010


Hi Robert,

Looks like -framework MacRuby is missing from your gcc line, which could explain the missing symbol. Are you sure MacRuby.framework is included in your Xcode project as a dependency? If yes, try removing it and adding it again, maybe.

Laurent

On Oct 2, 2010, at 1:24 PM, Robert Rice wrote:

> Hi Laurent:
> 
> Thanks for the quick reply. I get a new error doing a clean build:
> 
> Ld build/Debug/MacDriverLog-0.7.app/Contents/MacOS/MacDriverLog-0.7 normal x86_64
> cd "/Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7"
> setenv MACOSX_DEPLOYMENT_TARGET 10.5
> /Developer/usr/bin/gcc-4.2 -arch x86_64 -isysroot /Developer/SDKs/MacOSX10.5.sdk "-L/Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7/build/Debug" "-F/Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7/build/Debug" "-F/Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7/build/Debug" -filelist "/Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7/build/MacDriverLog-0.7.build/Debug/MacDriverLog-0.7.build/Objects-normal/x86_64/MacDriverLog-0.7.LinkFileList" -mmacosx-version-min=10.5 -framework Cocoa -weak_framework Quartz -o "/Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7/build/Debug/MacDriverLog-0.7.app/Contents/MacOS/MacDriverLog-0.7"
> 
> Undefined symbols:
>   "_macruby_main", referenced from:
>       _main in main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status
> 
> Do I need to create a new project?
> 
> Bob Rice
> 
> 
> On Oct 2, 2010, at 4:08 PM, Laurent Sansonetti wrote:
> 
>> Hi Robert,
>> 
>> You need to rebuild your project. Do a clean before, to make sure. It will be linked to the "new" MacRuby.
>> 
>> In the future we won't use the MacRuby version number in the link path to avoid these problems :)
>> 
>> Laurent
>> 
>> On Oct 2, 2010, at 11:43 AM, Robert Rice wrote:
>> 
>>> Hi Laurent:
>>> 
>>> Great work! You have to reload version 0.6 to fully appreciate the performance increase.
>>> 
>>> Today's nightly build deletes version 0.7 from the MacRuby framework but my project still references it:
>>> 
>>> dyld: Library not loaded: /Library/Frameworks/MacRuby.framework/Versions/0.7/usr/lib/libmacruby.dylib
>>>   Referenced from: /Users/robertrice/Desktop/MacDriverLog Development/MacDriverLog-0.7/build/Debug/MacDriverLog-0.7.app/Contents/MacOS/MacDriverLog-0.7
>>>   Reason: image not found
>>> 
>>> How do I update my project to reference the 0.8 version?
>>> 
>>> Thanks,
>>> Bob Rice
>>> 
>>> _______________________________________________
>>> 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
> 
> _______________________________________________
> 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/20101002/ed2238e9/attachment.html>


More information about the MacRuby-devel mailing list