forum.alglib.net

ALGLIB forum
It is currently Fri Nov 01, 2024 1:02 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: Compilation error
PostPosted: Tue Apr 16, 2013 4:32 pm 
Offline

Joined: Tue Apr 16, 2013 4:21 pm
Posts: 3
Hello everyone,
I am beginner with Alglib, I am not able to compile its program under g++ compiler in Ubuntu,
Please let me know if anyone can help.
I receive the following error at the time of compilation.
> g++ -o program test.cpp statistics.cpp

statistics.cpp:(.text+0x31e73): undefined reference to `alglib_impl::ae_minreal(double, double, alglib_impl::ae_state*)'
/tmp/ccWQhuLU.o: In function `alglib_impl::wsr_w28(double, alglib_impl::ae_state*)':
statistics.cpp:(.text+0x320e0): undefined reference to `alglib_impl::ae_minreal(double, double, alglib_impl::ae_state*)'
/tmp/ccWQhuLU.o: In function `alglib_impl::wsr_w29(double, alglib_impl::ae_state*)':
statistics.cpp:(.text+0x3234d): undefined reference to `alglib_impl::ae_minreal(double, double, alglib_impl::ae_state*)'
/tmp/ccWQhuLU.o:statistics.cpp:(.text+0x325ba): more undefined references to `alglib_impl::ae_minreal(double, double, alglib_impl::ae_state*)' follow
collect2: ld returned 1 exit status


it is showing the above error.
thank you


Top
 Profile  
 
 Post subject: Re: Compilation error
PostPosted: Wed Apr 17, 2013 6:04 pm 
Offline
Site Admin

Joined: Fri May 07, 2010 7:06 am
Posts: 925
Hello!

You should compile all .cpp files in /src directory of ALGLIB archive.


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 8 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:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group