AnsweredAssumed Answered

Compile GNU Scientific Library for FRDM-M64F

Question asked by Francesco Clemente on Mar 31, 2017
Latest reply on Apr 3, 2017 by Paddock

hello everyone,

I am trying to solve a system of non-linear equations on FRDM-M64F dev board. For this reason, I found that the GNU Scientific library is an appropriate tool. However my problem is that I can't find a way to include it in my project. I tried two things:

1. compile the source using a static library project.

In this case, I create a project and include all of the sources of the library in the "Source" directory, then compile. I immediately get an error saying:

 

../Source/wavelet/bspline.c:33:20: fatal error: config.h: No such file or directory

 

I imagine this is because no "./configure" command (which should generate the config.h file) was launched before "make", but I could not find a way on how to do this. Any help?

 

2. use a pre-compiled library

I downloaded a pre-compiled library from here and tried to use it in the project. However, even if the library and headers are correctly included in the project (-I , -l , -L), I get

 

../Source/wavelet/bspline.c:33:20: fatal error: config.h: No such file or directory

 

so it seems that the compiler cannot find the references in the libgsl.a file.

 

 

Any suggestions? Even an alternative to the GSL library would fit.

Outcomes