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

_______________________________________________
help-gplusplus mailing list
help-gplusplus@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gplusplus

Reply via email to