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
|