01-15-2014 04:55 AM - edited 01-15-2014 04:59 AM
Hello,
I'm migrating a project from CVI 8.1 to 2013 and build process is very long because all files and instruments are recompile, even if not modified.
As I've a big component stabilized, not changin now, I loose lots of time.
With version 8.1, excepted on Rebuild All command, only modified files were recompiled.
How can I reach back this operation mode?
01-15-2014 06:50 AM
Hello R1M!
From what I've understood by reading your post, you are reporting the fact that CVI is rebuilding your entire application from a Build operation, even if those files have not been modified. Is that correct?
If so, I'm suspect that the cause of the project rebuild may be triggered by the Version Info build setting. Does your project have the version information auto-increment flag turned on? The flag is set by adding a "+" to the Numeric Information fields from the Build » Target Settings » Version Info dialog. If so, when building a Release configuration, CVI 2013 performs a rebuild of the entire project. This is closely linked to a recent bugfix (#429548) found in CVI 2013 f1 Patch.
I would also like you to provide more information about your project build settings:
01-15-2014 06:56 AM
You understood right the request.
Version information are 1.0.0.0 without + sign 😞 and I build in debug version, not yet release.
I just opened the 8.1 project in 2013 environment.
01-15-2014 09:52 AM - edited 01-15-2014 09:53 AM
Hello again R1M!
One anomaly that could have happened on your machine, could be related to your date/time setting of your machine. For instance, if the modified date of your project files (e.g. instruments, source files, header files) is later than your system date, you can run into the situation, where the CVI build determines that your sources always need to be rebuilt, because your files are always newer. This can especially happen when creating your projects on virtual machines, copying them over to other VMs that aren't in time sync.
For instance if you modify a file in CVI 2013 from your imported project, after building the project a second time, that file might not get rebuilt again, since the modification date of that file is synced with your system time.
Was this information of any help?
If this explanation doesn't apply to your case, it would be very useful if you could indicate some build settings that you changed from the default settings in CVI 8.1, so that we can determine the cause of this symptom.
01-16-2014 01:04 AM
Sources are modified on the compiling and executing machine. No issue with times.
For options, I can't list the options I looked in and may be changed during discovering tests.
😞
01-16-2014 02:34 AM
So if the 2 options above do not apply to your case, I would like to request from you that you upload your project containing some files (a small amount of files) that you can still reproduce the issue, over to our incoming FTP website: ftp://ftp.ni.com/incoming/
We also need to know the exact CVI 2013 version you are using (either 2013 or f1 Patch?). If there are also additional steps we need to follow in order to reproduce the symptom (other than opening the 8.1 project in CVI 2013 and doing 2 builds), please mention them.
I need this information so that I can reliably try to reproduce the scenario, to determine if this is a bug and provide you with a workaround.
Thank you, and best regards!
01-16-2014 05:15 AM
I'm in touch with French NI support and they look at the issue, for this "all rebuild" point and also for an other application one.
I'll upload to your link the project "MARC TEST.zip" and you will see if you are able to see something. Please modify in the first #define BOARD_TO_BE_USED to DEMO_BOARD and you may have to install drivers to get the application go to operations.
01-20-2014 11:17 AM - edited 01-20-2014 11:34 AM
Hello R1M,
Thank you!
01-20-2014 02:10 PM
01-21-2014 09:45 AM - edited 01-21-2014 10:02 AM
Hello R1M!
Having the original 8.1 version could be helpful for us, but if you claim you can reproduce the problem with the exact copy of the CVI 2013 project you sent us, then this could be enough.
Thank you!