forum.alglib.net

ALGLIB forum
It is currently Sun Dec 22, 2024 8:11 am

All times are UTC


Forum rules


1. This forum can be used for discussion of both ALGLIB-related and general numerical analysis questions
2. This forum is English-only - postings in other languages will be removed.



Post new topic Reply to topic  [ 2 posts ] 
Author Message
 Post subject: problem while compling with g++
PostPosted: Thu Dec 16, 2010 9:48 am 
Offline

Joined: Thu Dec 16, 2010 9:39 am
Posts: 1
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.


Top
 Profile  
 
 Post subject: Re: problem while compling with g++
PostPosted: Thu Dec 16, 2010 10:37 am 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 927
You should compile both example and all ALGLIB files. At the very least, you should compile ap.cpp, interpolation.cpp and its dependencies.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 25 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group