lxjianhui 发表于 2014-1-18 23:37:17

labwindows 中运行Vision范例报错,有人知道原因吗?

最近准备研究Labwindows,装了Labwindows 2013,再装了VDMVision软件,运行CVI下的Vision范例,编译老是出错,以下是Debug的信息:

Build Status (Particle Analysis Report Example.prj - Debug)
Particle Analysis Report Example.c
Link Particle Analysis Report Example_dbg.exe
error: Undefined symbol '_imaqCloseWindow' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqCountParticles' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqCreateImage' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqDisplayImage' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqDispose' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqLoadImagePopup' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqMeasureParticle' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqMoveWindow' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqReadFile' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqSetWindowTitle' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
error: Undefined symbol '_imaqThreshold' referenced in "c:\Users\Public\Documents\National Instruments\CVI\samples\Vision\2. Functions\Binary Processing\cvibuild.Particle Analysis Report Example\Debug\Particle Analysis Report Example.obj".
Build failed.

开始以为是找不到nivision.h文件,把nivision.h Copy到CVI include目录或当前文件目录下,还是一样报错,貌似是函数没有定义,但在nivision.h中函数应该已经定义了的,不知道问题在哪里,求高手出手相助!

lxjianhui 发表于 2014-1-22 22:06:57

自己顶下

[过去&未来]  发表于 2017-4-21 18:30:02

请问博主问题解决了吗?如果ok了,请问怎么解决的?

muahua 发表于 2017-5-5 08:35:36

我也是遇到这种情况,以前程序都可以运行的,可能是版本原因,换个低版本试试

cvifan 发表于 2017-5-5 08:54:05

激活视觉工具包了没有?

cvifan 发表于 2017-5-5 08:54:30

比如安装license或破解

cvifan 发表于 2017-5-5 08:56:59

如果装了工具包,那就是激活的问题,或安装的视觉工具包,跟CVI版本不对应,或者CVI安装之前装的视觉工具包,不外乎这几个问题
页: [1]
查看完整版本: labwindows 中运行Vision范例报错,有人知道原因吗?