Re: Access NetCDF library
Re: Access NetCDF library
- Subject: Re: Access NetCDF library
- From: Johan Kool <email@hidden>
- Date: Sun, 13 Apr 2003 14:46:49 +0200
Success!
I am glad to report I succeeded in getting the library to work with my
app (for now)! The .mm extension was certainly the key to getting the
C++ working within the Objective-C file. In order to acces the NetCDF
library import these files into your project:
libnetcdf.a
ncvalues.cpp
ncvalues.h
netcdf.cpp
netcdf.h
netcdfcpp.h
Ofcourse this is after you've compiled the library from the terminal
(configure; make). In your code add this line to the top:
#import "netcdfcpp.h"
For some this may be all just plain basics, but for a newbie like me it
can be really a brain crusher!
For the more advanced programmers, what does this error mean?
netcdfcpp.h:157: warning: friend declaration requires class-key, i.e.
`friend class NcFile'
To Tom: if you can provide more info and/or a glimpse at how you
incorporated this functionality without this particular library I'll be
certainly interested!
Regards,
Johan Kool
_______________________________________________
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.