QT+VTK,在运行实例程序时出现连接错误。
vtk吧
全部回复
仅看楼主
level 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位下运行。
2015年12月11日 13点12分 1
level 12
你这个编译的是VTK的demo吗
2015年12月14日 00点12分 2
1