I am teaching C++ and I am using Code::Blocks as the IDE. I would like to give a project to my students that requires Gnu Scientific Library (GSL). What is the best (and, preferably, platform independent) solution to incorporating GSL to a project? Hopefully, a simple set of instructions would work, as not all of my students are very proficient yet.
Windows, Macs, and Linux are all used by my students.
I have thought that downloading the GSL source code and adding the directory of the GSL (recursively) to the project would do the job. But for reasons I don't quite understand, I couldn't get it to work. The library headers and source files are listed under the project, but the compilation gets terminated early on. It is failing to locate header files in the first place.
Any suggestions and pointers will be much appreciated.