Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: DrBwts on March 06, 2013, 10:40:30 pm
-
OK I am trying to use GSL in CodeBlocks (am I crazy?)
I have the version from GNU Win that sets itself up. My problem is that accessing the functions from CodeBlocks.
I searched the forum and followed the advice but it still wont compile (GNU GCC) my programs as I get "No such file or directory" as soon as the first GSL header is found.
I have put paths to 'libgsl.a' & 'libgslblas.a' in the linker settings. I have put the path '\GnuWin32\include\gsl' in the search directory for the compiler & linker (along with GnuWin32\lib in the linker search path).
But still get the "No such file or directory error.
What am I missing?
-
http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F (http://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28errors%29#Q:_How_do_I_troubleshoot_a_compiler_problem.3F)
Post the "build log" (not the build messages) and the includes it is having issues finding.
Tim S.
-
Thanks I think I have worked it out.
The headers in my code were "gsl/gsl_...." I needed to point at just the "include" direcetory not the "include/gsl" directory.