forum.alglib.net
http://forum.alglib.net/

problem while compling with g++
http://forum.alglib.net/viewtopic.php?f=2&t=141
Page 1 of 1

Author:  Landsknecht [ Thu Dec 16, 2010 9:48 am ]
Post subject:  problem while compling with g++

Hello,

We are two French students. We have to implement a spline interpolation (using akima method) but we always get the same errors while compiling with g++ on kubuntu. We also tried to compile the 1D cubic spline interpolation example (http://www.alglib.net/translator/man/manual.cpp.html#example_spline1d_d_cubic).

We obtain that kind of error for every alglib's class :
Code:
x.cpp:(.text+0x1e): undefined reference to `alglib::real_1d_array::real_1d_array(char const*)'


Thank you in advance.

Author:  Sergey.Bochkanov [ Thu Dec 16, 2010 10:37 am ]
Post subject:  Re: problem while compling with g++

You should compile both example and all ALGLIB files. At the very least, you should compile ap.cpp, interpolation.cpp and its dependencies.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/