Re: Access NetCDF library
Re: Access NetCDF library
- Subject: Re: Access NetCDF library
- From: Nick Zitzmann <email@hidden>
- Date: Sat, 12 Apr 2003 05:46:53 -0700
On Saturday, April 12, 2003, at 05:12 AM, Johan Kool wrote:
In order to read the data into my Cocoa app I have to acces the
library in my Objective-C code. The problem is that couldn't find how
to do this neatly. I suppose I have to include the entire folders
named "libsrc" and "cxx" into my project. But what statement do I put
above my code to access it? #include "netcdfcpp.h" from "cxx" seemed
like a logical choice to me, but it was generating over 400 error
messages!
Is there any way to build a static version of that library? It might be
a better idea to build a static library and then include the static
library in your project instead. Static libraries end with the
extension ".a".
Amongst others it complained about the absence of iostream.h, which I
could find somewhere on my computer, but it seems like it is
depreciated old code, better not used.
That's correct; the non-deprecated header file is called just
"iostream".
Am I right that I can use C++ in the Objective-C files of Cocoa?
Yes. If you want to use C++ within Objective-C, you must give your
source files the extension ".mm".
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://dreamless.home.attbi.com/
"Building the future and keeping the past alive are one and the same
thing." - Metal Gear Solid 2
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.