Hello
I want to use MathGL in Qt
This is my steps:
- I download "Win32 GPL binaries for MinGW (build for i686)"
- I have 'includes' here: C:\MathGL\include
- I have 'libs' here: C:\MathGL\libs
- I read it: http://mathgl.sourceforge.net/doc_en/Using-QMathGL.html
- I installed 'GSL' by Cygwin from here: http://www.gnu.org/software/gsl/
- I wrote in *.pro:
INCLUDEPATH += "C:/cygwin/usr/include"
LIBS += "C:/cygwin/lib/libgsl.dll.a"
INCLUDEPATH += "C:/MathGL/include"
LIBS += "C:/MathGL/libs/libmgl-qt4.dll.a"
I wrote the code:
Qt Code:
#include <mgl2/qmathgl.h> ui(new Ui::Dialog) { ui->setupUi(this); // Create and setup QMathGL QMathGL *QMGL = new QMathGL( this ); }To copy to clipboard, switch view to plain text mode
But I receive this error:
I hope you will help me. Thank you in advanceStarting D:\GoogleDrive\Qt\MathGL\build-QMathGLSample-Desktop_Qt_5_4_0_MinGW_32bit-Debug\debug\QMathGLSample.exe...
The program has unexpectedly finished.
Bookmarks