LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Post Build Step copy not working

I have added a post build step to copy the .lib file to another location.  When I build my DLL, I get the message system cannot find the file specified.  It seems that the post build step is occurring before the .lib file is created.  I am running version 7.1.1.  Is this a known issue or is there something I am missing?  Note that if I rebuild my application the post build step will succeed because it copies the .lib file created from the previous build.  Any suggestions/insight would be appreciated
0 Kudos
Message 1 of 10
(5,098 Views)

Yes, this seems to be a bug in CVI. The post-build step is running before the lib file is being written to disk. This will be fixed in the next patch or release of CVI. Thanks for reporting this to NI. I cannot think of any simple workarounds other than to copy the files manually after the build.

Best regards,

Mohan

0 Kudos
Message 2 of 10
(5,074 Views)
Is there going to be a patch for 7.1.1 or is this something in the upcoming patch for 8.0?
0 Kudos
Message 3 of 10
(5,035 Views)
NI is only planning to patch 8.0.

Luis
NI
0 Kudos
Message 4 of 10
(5,027 Views)

Hello,

 

I am using CVI 8.0.0

I have got the same problem.  With - it seems - the same cause: when there is no previous-build output file the copy-command in a post-build-step-batch gives an error, and if there is a previous-build output file than it copies this old file.

Building twice is a work-around but I often forget it. Is there a patch for version 8.0.0 ?

Regards, Jos

 

0 Kudos
Message 5 of 10
(4,771 Views)
Hi Jos,

LabWindows/CVI 8.0.1 is available for download. This is a maintainence version which replaces LabWindows/CVI 8.0.  LabWindows/CVI 8.0.1 is a free update for LabWindows/CVI 8.0 customers.

LabWindows/CVI 8.0.1 uses the same serial numbers as LabWindows/CVI 8.0. If, for example, you already have an activated version of LabWindows/CVI Base, and you install LabWindows/CVI 8.0.1 Base, the 8.0.1 version will automatically try to activate itself using your existing activation code.

This update specifically addresses this bug, as well as many others.

You can download this update from the links found in the following Knowledge Base entry:

LabWindows/CVI 8.0.1: Maintenance Release for LabWindows/CVI 8.0

Message 6 of 10
(4,731 Views)
Hello Jos,

This particular bug was fixed in CVI 8.0.1. You can download it here.

Luis
Message 7 of 10
(4,733 Views)

Thanks all,

Jos

0 Kudos
Message 8 of 10
(4,719 Views)
I have LabWindows 8.1 and I appear to have this same bug.  I thought this was fixed in an earlier release.
0 Kudos
Message 9 of 10
(4,699 Views)
The bug that this thread was discussing was indeed fixed in CVI 8.0.1. Can you describe your symptoms in some detail? It might be a different, unknown issue.

Luis
0 Kudos
Message 10 of 10
(4,685 Views)