Answer the question
In order to leave comments, you need to log in
GNU Scientific Library + QT 5.2 win7x64. What causes error 0xc0000135 on startup?
There was a need to use GSL on qt under windows 7x64. GSL taken from here Gsl for Windows .
When running a simple debugging application, it crashes with error 0xc0000135.
Including libraries using QtCreator
win32: LIBS += -L$$PWD/lib/ -lgsl
INCLUDEPATH += $$PWD/gsl
DEPENDPATH += $$PWD/gsl
win32:!win32-g++ PRE_TARGETDEPS += $$PWD/lib/gsl.lib
else:win32-g++: PRE_TARGETDEPS += $$PWD/lib/libgsl.a
#include "mainwindow.h"
#include <QApplication>
#include <stdio.h>
#include <vector>
#include "gsl_wavelet.h"
int main(int argc, char *argv[]){
QApplication a(argc, argv);
MainWindow w;
w.show();
const int SIGNAL_LENGHT = 2650;
double data[SIGNAL_LENGHT];
freopen("inp.txt","r",stdin);
for (int i=0;i<SIGNAL_LENGHT;i++){
scanf("%d",data[i]);
}
gsl_wavelet *wavelet;
gsl_wavelet_workspace *work;
wavelet = gsl_wavelet_alloc(gsl_wavelet_daubechies,4);
work = gsl_wavelet_workspace_alloc(SIGNAL_LENGHT);
gsl_wavelet_transform_forward(wavelet, data, 1, SIGNAL_LENGHT, work);
gsl_wavelet_free (wavelet);
gsl_wavelet_workspace_free (work);
return a.exec();
}
Answer the question
In order to leave comments, you need to log in
We look at the project's Path variable, most likely it does not see the GSL
UPD binary. By the way, fresh GSl for vin can be found here
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question