level 1
nice发呆的考拉
楼主
新手小白,求大神赐教~~~~

是要在.pro里面添加什么语句吗,
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN9QGLFormatC1Ev'
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN10QGLContextC1ERK9QGLFormat'
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN9QGLFormatD1Ev'
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN9QGLFormatD1Ev'
:-1: error: collect2: ld returned 1 exit status
我用的是QT4(mingw)+自己用cmake编译的VTK5.8,在window 32位下运行。
2015年12月11日 13点12分
1
是要在.pro里面添加什么语句吗,D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN9QGLFormatC1Ev'
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN10QGLContextC1ERK9QGLFormat'
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN9QGLFormatD1Ev'
D:\ForStudy\QtProject\GraphicsView\main.cpp:-1: error: undefined reference to `_imp___ZN9QGLFormatD1Ev'
:-1: error: collect2: ld returned 1 exit status
我用的是QT4(mingw)+自己用cmake编译的VTK5.8,在window 32位下运行。