10-30-2009 05:02 AM
Hi,
I'd like to know if someone has succeed to get rid of the post-build problem that occurs whenever we compile a project
In fact, in the build steps menu, we can access to actions that are done before or after compilation.
I just want to copy some DLLs in an other directory using :
copy ..\..\Repertory1\Bin\*.dll ..\Bin\
copy ..\..\Repertory2\Bin\*.dll ..\Bin\
copy ..\..\Repertory3\Bin\*.dll ..\Bin\
And when i compile the project, some symbols "Appears" magically and the copy is failed. When you come back to the build steps menu, you can see for example :
copy ..\..\Repertory1\Bin\*.dll ..\Bin\˜
copy ..\..\Repertory2\Bin\*.dll ..\Bin\
copy ..\..\Repertory3\Bin\*.dll ..\Bin\£
11-04-2009 09:05 AM
Hi,
which version of LabWindows/CVI do you have?
Can you post a small project that demonstrates this problem?
Regards
Yann C.
France
01-23-2013 06:13 PM
I am having the same issue and have not been able to resolve it yet. Where you able to? If so, how? Thanks.
LW2010
01-25-2013 03:35 PM
This issue was never continued past here. Could you post a project as was suggested before?
01-28-2013 06:27 AM
I can't post the very large project that this is happening in regularly. When event does occur it is difficult to eliminate. Cleaning the extra characters out of the post-build steps window doesn't always work, sometimes we have to go into the .prj file in notepad with LabWindows not running to delete the extra characters.
The very small attached project when it was part of our larger workspace exhibited same behavior, but when removed from workspace it does not exhibit the extra characters in the post-build step window as often (only once in the last 10 or so attempts).
It appears that issue occurs more frequently when an incorrect entry is made in a post-build step. Extra characters will get saved to the post-build step in the .prj file not just in the incorrect line, but in most, but not all subsequent lines. Correcting that issue in the post-build step will work in this small project usually requires fixing the project file outside of LabWindows in our real project.
The attached was run on our D drive and will sometimes show the issue.
5 bitmap files were added since sometimes the extra characters get appended on many lines.
Also fault usually seems to start occurring after the copy of a larger file.
To begin inducing faults, change the second build step to write to Folder4 (which doesn't exist) and build the project Then fix it, it may or may not recover properly.
copy D:\\BuildDemo\\builddemo.exe D:\\BuildDemo\\Folder1\\Folder2\\Folder3
copy D:\\BuildDemo\\Folder1\\random1.bmp D:\\BuildDemo\\Folder1\\Folder2\\Folder3
copy D:\\BuildDemo\\Folder1\\random2.bmp D:\\BuildDemo\\Folder1\\Folder2\\Folder3
copy D:\\BuildDemo\\Folder1\\random3.bmp D:\\BuildDemo\\Folder1\\Folder2\\Folder3
copy D:\\BuildDemo\\Folder1\\random4.bmp D:\\BuildDemo\\Folder1\\Folder2\\Folder3
copy D:\\BuildDemo\\Folder1\\random5.bmp D:\\BuildDemo\\Folder1\\Folder2\\Folder3