NI LabVIEW,CVI,数据采集等产品讨论区

取消
显示结果 
搜索替代 
您的意思是: 

parameters Redeclaration in nimachinevision.h and nivision.h

i just get an application from someone else ,when i build an exe file for this workspace,it says some of the parameter is redeclaration see blow i do not how to solve usually the nivision.h is include in the file nimachinevision.h ,how can i solve this issue?

 NIMachineVision.c - 7 errors
  "nimachinevision.h"(120,37)   Redeclaration of 'FindTransformMode_enum'.
  "nimachinevision.h"(121,5)   Redeclaration of 'IMAQ_FIND_REFERENCE' previously declared at nivision.h:1576.
  "nimachinevision.h"(122,5)   Redeclaration of 'IMAQ_UPDATE_TRANSFORM' previously declared at nivision.h:1577.
  "nimachinevision.h"(123,5)   Redeclaration of 'IMAQ_FIND_TRANSFORM_MODE_SIZE_GUARD' previously declared at nivision.h:1578.
  "nimachinevision.h"(124,20)   Redeclaration of 'FindTransformMode'.
  "nimachinevision.h"(216,34)   Redeclaration of 'AxisReport_struct'.
  "nimachinevision.h"(220,13)   Redeclaration of 'AxisReport'.
 VIDEO.c - 7 errors
  "nimachinevision.h"(120,37)   Redeclaration of 'FindTransformMode_enum'.
  "nimachinevision.h"(121,5)   Redeclaration of 'IMAQ_FIND_REFERENCE' previously declared at nivision.h:1576.
  "nimachinevision.h"(122,5)   Redeclaration of 'IMAQ_UPDATE_TRANSFORM' previously declared at nivision.h:1577.
  "nimachinevision.h"(123,5)   Redeclaration of 'IMAQ_FIND_TRANSFORM_MODE_SIZE_GUARD' previously declared at nivision.h:1578.
  "nimachinevision.h"(124,20)   Redeclaration of 'FindTransformMode'.
  "nimachinevision.h"(216,34)   Redeclaration of 'AxisReport_struct'.
  "nimachinevision.h"(220,13)   Redeclaration of 'AxisReport'.

 

0 项奖励
1 条消息(共 1 条)
2,617 次查看