[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem linking netcdf - Undefined References...
From: |
lars . uffmann |
Subject: |
Re: Problem linking netcdf - Undefined References... |
Date: |
18 Aug 2006 23:41:55 -0700 |
User-agent: |
G2/0.2 |
Paul Pluzhnikov wrote:
> It seems you've tried all possible combinations, except the correct
> one:
Lol :) That sounds like me...
> g++ -o test test.cpp -lnetcdf_c++ -lnetcdf
Thanks a BUNCH - that solved _all_ my problems :)
Introducing
CXXFLAGS = [...] -lnetcdf_c++ -lnetcdf
in the Makefile also solved the problem for my big project...
> To understand why the order of archive libraries on command line
> matters, read this:
> http://webpages.charter.net/ppluzhnikov/linker.html
Thanks for that link also, I'll rate your response to my problem A ;)
Best Regards,
Lars