Forwarded as a service
--submission from outside of list subscription--
---------- Forwarded message ----------
Cc: Matthew Bettencourt <matt@xxxxxxxxxxxxxxxx>, netcdfgroup@xxxxxxxxxxxxxxxx
Hi,
I had to make a few tweaks to get the c++ compiler test to pass for the
c++ libraries to compile and install correctly.
Basically, in configure when it is checking whether the c++ compiler
works. Change the main to the following.
#include "confdefs.h"
#ifdef __cplusplus
extern "C" void exit(int) throw();
#endif
#include <iostream>
int main() {
std::cout << "";
return 0;
}
EOF
I can send you my changes in a new tar.gz file. Also, Russ Rew, if you
would like to post the changes to the Unidata site, I would be happy to
provide the tar ball to you.
Jessica
On Wednesday, Jun 25, 2003, at 18:44 Atlantic/Reykjavik, Mr. Chad W.
Saxon wrote:
> make
> c++ test.o BoundingBox.o SRFData.o -L/usr/X11R6/lib
> -L/u/home/csaxon/DTRA/netcdf-3.5.1-beta10 -lnetcdf_c++ -lnetcdf -lglut
> -lGLU -lGL -lXmu -lX11 -lXi -lm -o test
> /usr/bin/ld: cannot find -lnetcdf_c++
> collect2: ld returned 1 exit status
> make: *** [test] Error 1
>
> i do a make, this is what it gives me...
>
>
>
> On Wed, 25 Jun 2003, Matthew Bettencourt wrote:
>
>> It will not compile is pretty vague IYKWIM... It is linking errors??
>> M
>>
>
------- End of Forwarded Message
Unidata Support