News:

Accounts with zero posts and zero activity during the last months will be deleted periodically to fight SPAM!

Main Menu

GNU Win's GSL library and code blocks????

Started by DrBwts, March 06, 2013, 10:40:30 PM

Previous topic - Next topic

DrBwts

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?


stahta01

#1
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.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

DrBwts

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.