11-20-2013 11:18 AM
11-20-2013 11:31 AM
11-21-2013 04:43 PM
Hey S2rt,
Do you have anything defined at the top of your c file with #ifndef, #ifdef, #define or anything like that? You would get that particular error if something defined starts with an underscore followed by a capital letter or starts with a number.
Kelsey Johnson
Applications Engineer
11-22-2013 12:03 PM
11-22-2013 01:18 PM
11-25-2013 07:44 AM
Hi guys,
I am having the same problem as S2rt. The error message looks the same. I get it for every file in my project using CVI 2013 with f1 patch, if I load the same .cws file in the CVI 2012SP1, everything works fine as expected.
I am using doxygen comments, so the files start like
/*! \file * */ #include <userint.h> #include <ansi_c.h>
but I also get this error code for the NI-WordReport Instrument.
/*============================================================================*/ /* L a b W i n d o w s / C V I */ /*----------------------------------------------------------------------------*/ /* Copyright (c) National Instruments 1999-2013. All Rights Reserved. */ /*----------------------------------------------------------------------------*/ /* */ /* Title: WordReport.c */ /* Purpose: Source file for CVI Word Report Generation Instrument Driver */ /* Notes: This library communicates with the Microsoft Word Automation */ /* Server. The Microsoft Word Automation Server must be first */ /* generated before using this library. */ /* */ /*============================================================================*/ //------------------------------------------------------------------------------------------------- //------------------------------------------------------------------------------------------------- // Implementation Overview:
Any news about this topic? Possibly a configuration problem or another bug in the 2013 release ?
11-25-2013 09:30 AM
Problem goes away when using CVI7.1 or 2012. As ichaus says, looks like another CVI2013 bug.
11-25-2013 06:45 PM
Hi S2rt and ichaus,
Can you give me any background on what you are doing in CVI?
Does this happen any time you create a new project, or just with certain projects? Are there any other common factors, such as drivers you are calling or things being included?
S2rt, you said it happens before it even enters your files? Can you give me a screenshot of the build window? When the problem disappeared—did that mean you were successfully able to build it?
Any information you can give will help us work out if this is a bug or some kind of compatibility problem. Thanks!
Kelsey Johnson
Applications Engineer
11-26-2013 02:30 AM
Hi Kelsey,
I have a project running over several years, always updating to the actual CVI version. As mentioned, when I load the cws file in CVI2013 I get this error, loeding the same cws file in CVI2012 everything works fine.
I tried the delivered wordrpt.cws CVI sample program in CVI2013, which also uses the above mentioned WordReport.c file. This is also working.
I tried two different computers, both showed the same error with my project and CVI2013.
Below I included my build output window, there I marked another error which occurs only in the CVI2013 release besides the already mentioned one:
11-26-2013 08:48 AM