realbasic-plugins
[Top] [All Lists]

Re: The "right" way to use a dylib in a plugin ?

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: The "right" way to use a dylib in a plugin ?
From: Norman Palardy <npalardy at great-white-software dot com>
Date: Wed, 16 May 2007 00:25:35 -0600
Delivered-to: listarchive at realsoftware dot com
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <A1CFA975-651F-48B0-BD2E-FF89C389024A at great-white-software dot com> <20F9A6C5-FDFB-4D70-8367-0D732559B3EE at realsoftware dot com> <6C34079E-13D8-4AA8-8109-1FDBD9785EA2 at great-white-software dot com> <5D0E45B6-2671-4958-941E-288777A16D1E at realsoftware dot com> <4E7FF0C6-C4E2-4625-B5B7-3EF07899A17A at great-white-software dot com>
On 15-May-07, at 11:50 PM, Norman Palardy wrote:

>
> On 15-May-07, at 9:25 PM, Jonathan Johnson wrote:
>
>>
>> On May 15, 2007, at 10:07 PM, Norman Palardy wrote:
>>
>>> Nope
>>> Intel box running 10.4 but it does seem my target is using the 10.3
>>> sdk
>>> I've switched everything that points to the 10.3 sdk but still get
>>> linker errors with unresolved symbols like it's trying to hard link
>>> the dylib in
>>
>> Interesting. Is the dylib "checked" in the list in Xcode?
> I think I've sorted out what you mean but oddly enough I dot even see
> it listed as an item in any of the targets despite adding it to them
> when I select the existing file to add

Seems that regardless of what I do I cannot add a dylib to a target  
in a plugin project started from either the REAL project or the one  
>from David Addey

I can't check it in the target list of files nor can I do a get info  
on the dylib and check it in the list of targets

Try this
Start a new project using either starter template
Add the files for the correct SDK version of /usr/include/curl and / 
usr/lib/libcurl.dylib
Update the Library Search path for the project to have /usr/include/ 
curl and the Library Search path to /usr/lib

insert this code after #include "rb_plugin.h" and before void  
PluginEntry()

        #include <curl.h>
        
        void dostuff()
        {
                time_t now ;
                curl_getdate("", &now);
        }

compile
you should get a linker error about not finding curl_getdate


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


From  Wed 23 May 2007 01:38:47 +0200
Return-Path: <realbasic-plugins-bounces at lists dot realsoftware dot com>
X-Original-To: listarchive at realsoftware dot com
Delivered-To: listarchive at realsoftware dot com
Received: by xmail.realsoftware.com (Postfix, from userid 1037)
        id AF8BD27D09EB; Tue, 22 May 2007 16:38:58 -0700 (PDT)
X-Spam-Checker-Version: SpamAssassin 3.1.1 (2006-03-10) on 
        www.realsoftware.com
X-Spam-Level: 
X-Spam-Status: No, score=-2.5 required=4.5 tests=AWL,BAYES_00 autolearn=ham 
        version=3.1.1
Received: from lists.realsoftware.com (m.realsoftware.com [66.116.103.65])
        by xmail.realsoftware.com (Postfix) with ESMTP id 17DCC27D09DF;
        Tue, 22 May 2007 16:38:54 -0700 (PDT)
Received: from real-software-mini.local (localhost [127.0.0.1])
        by lists.realsoftware.com (Postfix) with ESMTP id 22EDF2FF5F2;
        Tue, 22 May 2007 18:38:50 -0500 (CDT)
X-Original-To: realbasic-plugins at lists dot realsoftware dot com
Delivered-To: realbasic-plugins at lists dot realsoftware dot com
Received: from smtprelay08.ispgateway.de (smtprelay08.ispgateway.de
        [80.67.29.8])
        by lists.realsoftware.com (Postfix) with ESMTP id B26B82FF5E7
        for <realbasic-plugins at lists dot realsoftware dot com>;
        Tue, 22 May 2007 18:38:45 -0500 (CDT)
Received: (qmail 14173 invoked from network); 22 May 2007 23:38:47 -0000
Received: from unknown (HELO [192.168.1.80]) (363246 at [84 dot 175 dot 82 dot 
254])
        (envelope-sender <support at monkeybreadsoftware dot de>)
        by smtprelay08.ispgateway.de (qmail-ldap-1.03) with SMTP
        for <realbasic-plugins at lists dot realsoftware dot com>;
        22 May 2007 23:38:47 -0000
To: realbasic-plugins at lists dot realsoftware dot com
Subject: RB 2007r1 crashes when precompiling my plugins
From: support at monkeybreadsoftware dot de (Christian Schmitz)
Date: Wed, 23 May 2007 01:38:47 +0200
Message-ID: <1hyjlvn dot advkb14s24gvM%support at monkeybreadsoftware dot de>
MIME-Version: 1.0
Organization: Monkeybread Software Germany
X-Face: nrf3>{WQ6c&r+7 at e)"]0G60`-6ND^)I2mI%>)QGYa=9"=7jhd-g2|b3!>Al0+
        Ccb%xGQshhi|g at QU2$
User-Agent: MacSOUP/D-2.8 (Mac OS X version 10.4.9 (PPC))
X-BeenThere: realbasic-plugins at lists dot realsoftware dot com
X-Mailman-Version: 2.1.9
Precedence: list
Reply-To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot 
com>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Sender: realbasic-plugins-bounces at lists dot realsoftware dot com
Errors-To: realbasic-plugins-bounces at lists dot realsoftware dot com

Hi,

see
<http://support.realsoftware.com/feedback/viewreport.php?reportid=3Druniua
cd>

Please help to find a workaround.

Gru=DF
Christian

-- =

Over 600 classes with 14000 functions in one REALbasic plug-in. =

The Monkeybread Software Realbasic Plugin v7.3. =


<http://www.monkeybreadsoftware.de/realbasic/plugins.shtml>
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>