I copied the Ch 14 example code into a source file, compiled it with MinGW linking with either the gsl/gslcblas static or dll libs, and ran it. It ran to completion without any exceptions. I ran it in gdb to be sure, and it ran normally. Here's the output I got:
The exception you reported sounds like a debugger breakpoint rather than an exception in the executable. What compiler are you using -
VC7, MinGW, or something else? Could you be running in debug mode and have a breakpoint set?
If you're still having problems, feel free to post more details.
Thanks,
Jerry
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello!!
While trying to run GSL doc's example (Ch 14, eigen values), we get a problem.
The program runs, displays the eigen values correctly, but in the last iteration of the loop, throws the following exception
An exception Breakpoint
A breakpoing has been reached
0x80000003 occured in the application at location 0x7801e605
Any ideas for help?
Thanks in advance
O.
Hi-
I'm not sure what's causing your difficulty.
I copied the Ch 14 example code into a source file, compiled it with MinGW linking with either the gsl/gslcblas static or dll libs, and ran it. It ran to completion without any exceptions. I ran it in gdb to be sure, and it ran normally. Here's the output I got:
c:\dev>gcc -Ic:/tools/gnu/include test-gsl.c c:/tools/gnu/lib/libgsl.a c:/tools/gnu/lib/libgslcblas.a -o test-gsl.exe
c:\dev>test-gsl
eigenvalue = 9.67023e-005
eigenvector =
-0.0291933
0.328712
-0.791411
0.514553
eigenvalue = 0.00673827
eigenvector =
-0.179186
0.741918
-0.100228
-0.638283
eigenvalue = 0.169141
eigenvector =
0.582076
-0.370502
-0.509579
-0.514048
eigenvalue = 1.50021
eigenvector =
0.792608
0.451923
0.322416
0.252161
The exception you reported sounds like a debugger breakpoint rather than an exception in the executable. What compiler are you using -
VC7, MinGW, or something else? Could you be running in debug mode and have a breakpoint set?
If you're still having problems, feel free to post more details.
Thanks,
Jerry