forum.alglib.net http://forum.alglib.net/ |
|
Compilation error http://forum.alglib.net/viewtopic.php?f=2&t=819 |
Page 1 of 1 |
Author: | mehdi [ Tue Apr 16, 2013 4:32 pm ] |
Post subject: | Compilation error |
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 |
Author: | Sergey.Bochkanov [ Wed Apr 17, 2013 6:04 pm ] |
Post subject: | Re: Compilation error |
Hello! You should compile all .cpp files in /src directory of ALGLIB archive. |
Page 1 of 1 | All times are UTC |
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group http://www.phpbb.com/ |