Problems linking gsl 2.1
I'm using Qt 5.8 and gsl 2.1 (compiled with cygwin64), this is what i use in the .pro file to link gsl:
INCLUDEPATH += C:/gsl/LIBS
LIBS += -LC:/gsl/lib -lgsl -lgslcblas -lm
when i include the headers and compile i don't have any problem even when i declare and object, but when i tray to use any function i got this error:
C:\Users\CIFAS-1\untitled4\mainwindow.cpp:9: error: undefined reference to `gsl_matrix_alloc'.
Please any one has some idea?
compiled with cygwin64
Do you use exactly the same compiler you used to build gsl?
On Windows you cannot mix different compilers.
I use to compile gsl cygwin64 and to run the example the Qt creator default compiler
@avillaj88 There is no default compiler in QtCreator.
Which compiler do you use in QtCreator?
What exact Qt version did you install?
Use same compiler for both, Qt and gsl.
This post is deleted!
I already solve the problem, I found a compiled version of gsl for mingw32 here https://code.google.com/archive/p/gsl-w32/downloads , it is another version but works great.