[pdp-discuss] Extending PDP with external libraries
Frank Leoné
ftmleone at hotmail.com
Tue May 1 04:20:17 MDT 2007
Hello to you all,
I'm trying to extend PDP++ with extra mathematical operations, especially
solving linear systems of matrices. To do so, I need libraries like TNT
(http://math.nist.gov/tnt/), Lapack++ (http://lapackpp.sourceforge.net/) or
newmat (http://www.robertnz.net/nm10.htm). But if I try to include
"tnt/tnt.h" in, for example, stats.h and run make all, I get the following
errors:
error: cstdlib: No such file or directory
error: iomanip: No such file or directory
error: iostream: No such file or directory
etc., for all the default C++ libraries, even though they are installed (in
/usr/include/c++/4.1). If I make come code myself, include the same library
and compile it using g++ without any arguments I don't get any errors at
all. So the makefile seems to miss the default libraries.
How can this be? And, more importantly, how can it be solved? I tried to
include the usr/include-dir in the makefile, but it didn't help.
Thanks in advance, I really appreciate it,
with kind regards,
Frank
_________________________________________________________________
Talk with your online friends with Messenger
http://www.join.msn.com/messenger/overview
More information about the PDP-Discuss
mailing list