[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem linking netcdf - Undefined References...

From: Paul Pluzhnikov
Subject: Re: Problem linking netcdf - Undefined References...
Date: Fri, 18 Aug 2006 16:16:09 -0700
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

"Lars Uffmann" <> writes:

> And while now my program using netcdf compiles fine, the linker will
> complain about undefined references - I tried compiling with

It seems you've tried all possible combinations, except the correct

  g++ -o test test.cpp -lnetcdf_c++ -lnetcdf

To understand why the order of archive libraries on command line
matters, read this:

In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]