record
03-16-2005, 02:35 PM
Hi,
although the question was asked two years ago for C (http://www.nr.com/forum/showthread.php?s=&threadid=184&highlight=makefile)
, maybe someone has now an answer:
I try to compile a simple C++ application which uses two functions of the numerical recipes (bessj0 and powell) with this command:
g++ appl.c -L. -lNR_C++ -o appl
, but the functions are not known ("undefined reference to NR: powell...")
What's the reason for that?
Thanks.
although the question was asked two years ago for C (http://www.nr.com/forum/showthread.php?s=&threadid=184&highlight=makefile)
, maybe someone has now an answer:
I try to compile a simple C++ application which uses two functions of the numerical recipes (bessj0 and powell) with this command:
g++ appl.c -L. -lNR_C++ -o appl
, but the functions are not known ("undefined reference to NR: powell...")
What's the reason for that?
Thanks.