I recently installed GSL for use in my computing homework. I installed it from a pre built library and linked it to CodeBlocks, then ran the test example for GSL (the bessel function) to make sure it worked. Everything going fine.
Then I tried the example for linear algebra given here: https://www.gnu.org/software/gsl/manual/html_node/Linear-Algebra-Examples.html#Linear-Algebra-Examples
I get an odd error message:
gls: ..\linalg\lu.c:63: ERROR: LU decomposition requires square matrix
Default GSL error handler invoked.
This application has requested the Runtime to terminate in an unusual way.
Please contact the application's support team for more information.
Then the program crashes with a 225 error code.
Putting in markers, I know my program makes it to the decomposition command before failing (which would be a good guess from the error code).
This has been confirmed by 2 of 3 people. One runs a Windows machine with code blocks like me, and uses the same pre built package I do. The other runs on a mac with a different piece of software to write, compile, and run his C. The third person is on Windows again, used the same prebuilt installation, but his runs fine in codeblocks, so I don't know what the thing is there.