From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Compilation failed without errors

Solved!
Go to solution

Hello,

 

I'm french so, sorry for my bad english.

I have a problem with my 2013 CVI...

When i try to compile a simple project (1 file .c whit a simple main function), my build output displays only the 2 lines:

 

Build Status (test.prj - Debug)

Build failed.

 

The selected compiler in Build Options is Standard CVI Compiler...

I checked all Build Options and i found nothing wrong...

Please i need help....!Smiley Sad

 

Thanks a lot

 

 

0 Kudos
Message 1 of 11
(4,729 Views)

Check in Options» Build Options which warning level you have set and also that Show warning flags in Build Output Window option is selected. 

A list of all warnings the compiler can raise depending on the warning level can be found here



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 11
(4,700 Views)

Thanks for your answer.

 

I already checked warning level and it was on Standard.

I tried to set it to Extended but it did not solved my problem...

The option Show warning flags in Build Output Window was already checked.

 

So my problem is still here... Smiley Sad

0 Kudos
Message 3 of 11
(4,696 Views)

Hello,

 

Is your project located on a network drive? If yes, this is a known issue for CVI 2013, see this post.

If this is the case, the problem should be resolved by installing LabWindows™/CVI™ 2013 f1 Patch.

 

0 Kudos
Message 4 of 11
(4,691 Views)

Hi Solaris, 

I don't know what may be happening but some information more can give somebody the right clue to suggest you a sokution: which OS are you using.?  Is it 32 or 64 bit? 

Are you using some special library in your project? Which configuration are you trying to compile your project with (release Vs. Debug,  32 Vs.  64 bit)? 

And finally,  does this happen also if you try to compile one of the example project cvi comes with? 



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 5 of 11
(4,689 Views)

Searching the forum I found that this also can be caused by some extended characters in the project path(e.g. é).

See this post. I hope it helps

0 Kudos
Message 6 of 11
(4,688 Views)

Thanks a lot for your answer

 

But my project, and the target are all on local drives....

0 Kudos
Message 7 of 11
(4,687 Views)

Yes, sorry i give you some details:

- I am on Windows7 64bit,

- My project is the most simple as possible : 1 file .c with :

 

int main (int argc, char **argv)
{
  return 1;
}

 

- It contains no lib.

- I tried to compile all the possible configuration (Release/Debug 32 / 64 bit) and the problem is on the 4 configurations

 

0 Kudos
Message 8 of 11
(4,683 Views)

Thanks Constantin,

 

But in the path, i've no special character,  nor spaces or anything else...

Just D:/TEMP/test.prj...

0 Kudos
Message 9 of 11
(4,682 Views)

Does the error happen also with the sample projects shipped with CVI(c:\Users\Public\Documents\National Instruments\CVI2013\samples)?

Can you post your siple poject for analysis

0 Kudos
Message 10 of 11
(4,676 Views)