bgrimstad / splinter

Library for multivariate function approximation with splines (B-spline, P-spline, and more) with interfaces to C++, C, Python and MATLAB
Mozilla Public License 2.0
414 stars 115 forks source link

undefined reference to `SPLINTER::* #101

Open icsl-Jeon opened 6 years ago

icsl-Jeon commented 6 years ago

I installed the package via "make install" I'am going to use this package in C++ however, when compile the example code, undefined reference error come out. maybe this is link error, but what name of lib should I link in CMakeFiles? link_libraries("?")

gablank commented 6 years ago

Hello,

Sorry for the late reply!

What example are you trying to compile? Could you also provide me with the complete output of the compiler, the compiler you are using and what commit you are building from?

Birght-lab commented 2 years ago

Hello, The same thing happened to me. I don't know how to solve it.

cd ~/splinter/test g++ main.cpp main.cpp:11:10: fatal error: Catch.h: no such file or directory 11 | #include ...

Birght-lab commented 2 years ago

Hello, The same thing happened to me. I don't know how to solve it.

cd ~/splinter/test g++ main.cpp main.cpp:11:10: fatal error: Catch.h: no such file or directory 11 | #include ...

I'm sorry to upload such a problem. When I link the splinter-static-3-0 and the SPLINE, it becomes OK.