realbasic-nug
[Top] [All Lists]

Re: Declares different on Win v Mac?

To: REALbasic NUG <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Declares different on Win v Mac?
From: Ken Mankoff <mankoff at gmail dot com>
Date: Tue, 9 Aug 2005 15:35:40 -0400
Delivered-to: realbasic-nug at lists dot realsoftware dot com
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:references; b=FmF3P1k1ePnYpXwl9g3srioB2xMGaslJigePwFDAwfHpNLCNwjwytdHXeSAZCputmjspfSEKKFGk/04MGSrYtbeqKNY8RzOTCEC0shsPAIJXPhKw56yRZ2uRIjPx8Iz/Vi1MUM1Y/9qG+Wz3RW28Bkw2o0XFB1tOvoQgu0BOvpo=
References: <5c8121ef0508091052c482c3d at mail dot gmail dot com> <46ade30920c0f0e7aad61bab085c251c at declareSub dot com> <5c8121ef05080911236b9a2123 at mail dot gmail dot com> <EC6E389D-410E-46E6-B6CB-0830AA5F6A57 at ljug dot com> <5c8121ef05080912024361f9a5 at mail dot gmail dot com>
On 8/9/05, Ken Mankoff <mankoff at gmail dot com> wrote:
> 
> 
> On 8/9/05, Brady Duga <duga at ljug dot com> wrote:
> > 
> > 
> > On Aug 9, 2005, at 11:23 AM, Ken Mankoff wrote:
> > > The errors:
> > > err = nc_inq_dim( ncid, dimid, namePtr, length )
> > > nc_inq_dim is highlighted, and RB says, "Parameters are not
> > > compatible with 
> > > this function".
> > 
> > Are you using the same version of Rb on Mac and Windows? What happens
> > if you try to build the Windows version from the Mac?
> 
> 
> Yes I am using RB2005r2 on both Mac and Windows.
> 
> If I try to compile the Windows version from the Mac I get the same 
> compile-time errors. ?!?!
> 

OK, this is a strange twist:

If I delete the constant "library = c:\EVA\netcdf.dll" on windows, then I 
can build the windows version on both Mac and Windows.

Now, when I run it, it crashes when it tries to access the declare. But it 
does compile.

Why does giving it a library location make it not compile? Especially when 
in the case of compiling the windows version on the Mac, that library should 
not exist on the mac, it is just a string/name...

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

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

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