From ftmleone at hotmail.com Tue May 1 04:20:17 2007 From: ftmleone at hotmail.com (Frank Leoné) Date: Tue May 1 04:20:21 2007 Subject: [pdp-discuss] Extending PDP with external libraries In-Reply-To: <200704182340.54395.Randy.OReilly@colorado.edu> Message-ID: 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 From baisa at colorado.edu Tue May 1 09:41:11 2007 From: baisa at colorado.edu (Brad Aisa) Date: Tue May 1 09:41:15 2007 Subject: [pdp-discuss] Extending PDP with external libraries In-Reply-To: References: Message-ID: <200705010941.11724.baisa@colorado.edu> Hopefully someone with a bit more recent experience compiling 3.2=20 will answer, but I just wanted to make a plug (pun intended!)=20 for the very very soon to be released pdp 4.0 -- pdp4 has a=20 plugin system that makes extending pdp and/or including your own=20 favorite libraries very easy! On Tuesday 01 May 2007 04:20, Frank Leon=E9 wrote: > 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 > > _______________________________________________ > PDP-Discuss mailing list > PDP-Discuss@psych.Colorado.EDU > http://psych.colorado.edu/mailman/listinfo/pdp-discuss =2D-=20 Brad Aisa Professional Research Assistant Department of Psychology University of Colorado - Boulder From Randy.OReilly at colorado.edu Tue May 1 14:40:06 2007 From: Randy.OReilly at colorado.edu (Randall C. O'Reilly) Date: Tue May 1 14:40:10 2007 Subject: [pdp-discuss] Extending PDP with external libraries In-Reply-To: <200705010941.11724.baisa@colorado.edu> References: <200705010941.11724.baisa@colorado.edu> Message-ID: <200705011440.06955.Randy.OReilly@colorado.edu> yep, I would definitely just wait for 4.0, which also includes the gsl (gnu scientific library) that does all that stuff. - Randy On Tuesday 01 May 2007 09:41, Brad Aisa wrote: > Hopefully someone with a bit more recent experience compiling 3.2 > will answer, but I just wanted to make a plug (pun intended!) > for the very very soon to be released pdp 4.0 -- pdp4 has a > plugin system that makes extending pdp and/or including your own > favorite libraries very easy! > > On Tuesday 01 May 2007 04:20, Frank Leoné wrote: > > 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 > > > > _______________________________________________ > > PDP-Discuss mailing list > > PDP-Discuss@psych.Colorado.EDU > > http://psych.colorado.edu/mailman/listinfo/pdp-discuss From ftmleone at hotmail.com Wed May 2 02:43:24 2007 From: ftmleone at hotmail.com (Frank Leoné) Date: Wed May 2 02:43:30 2007 Subject: [pdp-discuss] Extending PDP with external libraries In-Reply-To: <200705011440.06955.Randy.OReilly@colorado.edu> Message-ID: Hi! Thanks for the replies, now I'm even more looking forward to v.4 :) Is any of the testreleases on the server far enough to use these features, while still loading my files from v. 3.2a09? And is there any expected release date for v.4? For now I'll just try to add another feature, which allows me to solve it visually instead of by using algebra :) with kind regard, Frank _________________________________________________________________ Talk with your online friends with Messenger http://www.join.msn.com/messenger/overview From baisa at colorado.edu Wed May 2 18:46:26 2007 From: baisa at colorado.edu (Brad Aisa) Date: Wed May 2 18:46:29 2007 Subject: [pdp-discuss] Extending PDP with external libraries In-Reply-To: References: Message-ID: <200705021846.26335.baisa@colorado.edu> A beta version that should be suitable for evaluation (but=20 unfortunately without much documentation yet) will be available=20 in about 2 weeks. There is a project converter, but you should be warned that v4 is=20 very different as regards the concepts of Environment and=20 Process -- we have completely replaced those concepts with new=20 constructs (Data and Programs, respectively). Also, the=20 converted projects are in no way backwards compatible -- we are=20 not Microsoft... :) (well.. recalling the file incompatibilities=20 of some new versions of Office in the past, maybe I should be=20 saying we *are* Microsoft! ;) ) But the core network stuff is basically the same, and your core=20 networks, specs, etc. should convert and you should see=20 everything as it was before. This does raise a good question about what would be the best way=20 to introduce the wider pdp community to the new version. Maybe=20 we could schedule some kind of web-based demos. If anyone=20 reading the list would be interested in participating, maybe you=20 could send me an email and let me know... regards, Brad On Wednesday 02 May 2007 02:43, Frank Leon=E9 wrote: > Thanks for the replies, now I'm even more looking forward to > v.4 :) Is any of the testreleases on the server far enough to > use these features, while still loading my files from v. > 3.2a09? And is there any expected release date for v.4? > > For now I'll just try to add another feature, which allows me > to solve it visually instead of by using algebra :) > > with kind regard, > > Frank > > ______________________________________________________________ >___ Talk with your online friends with Messenger > http://www.join.msn.com/messenger/overview > > _______________________________________________ > PDP-Discuss mailing list > PDP-Discuss@psych.Colorado.EDU > http://psych.colorado.edu/mailman/listinfo/pdp-discuss =2D-=20 Brad Aisa Professional Research Assistant Department of Psychology University of Colorado - Boulder