Quantcast
Channel: LabWindows/CVI topics
Viewing all articles
Browse latest Browse all 5356

2013 cvi cannot identify #include

$
0
0

hi,i'm a newer to cvi.

my program works well in 2010,

At  first it alos works well in 2013.but now it has the folloing error.

 

the following statements are needed in "rs232,c", #include <rs232.h> do you want to add them to the top of the file.(rs232.c is the c file name.)

i click the yes,but it doesn't work

actually the c file already has " #inclue <rs232.h>"

is there something important i miss?

 

tks

 

 

 

 

 

 

Build Status (rs232.prj - Debug)
 rs232.c - 8 errors
  29, 5    error: implicit declaration of function 'OpenComConfig' is invalid in C99. Make sure that you include the function prototype.
  31, 5    error: implicit declaration of function 'SetCTSMode' is invalid in C99. Make sure that you include the function prototype.
  31, 18    error: use of undeclared identifier 'LWRS_HWHANDSHAKE_OFF'
  35, 5    error: implicit declaration of function 'FlushInQ' is invalid in C99. Make sure that you include the function prototype.
  36, 5    error: implicit declaration of function 'FlushOutQ' is invalid in C99. Make sure that you include the function prototype.
  80, 20    error: implicit declaration of function 'GetInQLen' is invalid in C99. Make sure that you include the function prototype.
  83, 18    error: implicit declaration of function 'ComRd' is invalid in C99. Make sure that you include the function prototype.
  180, 14    error: implicit declaration of function 'ComWrt' is invalid in C99. Make sure that you include the function prototype.
Build failed.

 

20131202_094346.jpg


Viewing all articles
Browse latest Browse all 5356


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>