06-13-2013 12:32 PM
Hello all,
Actually we are using the same project on different computers, and the project will be on different path for each computer.
As we have to install the project on another computer, we just copy-paste the whole source code files, and re-link the lost files. Mainly for includes which were correct for the last source computer.
Instead of re-create the absolute include files path for each computer, is it possible to put these path in relative, as for compilation files ?
06-14-2013
06:12 AM
- last edited on
03-07-2025
01:59 PM
by
Content Cleaner
Hello, do you know this link?
https://digital.ni.com/public.nsf/allkb/EC8988337B183AEB86256C940064A322?OpenDocument
Regards
Samuel G. | GEMESIS
Certified LabVIEW Architect
Certified TestStand Developer
06-17-2013 11:03 AM
Hello Samuel,
Thank you for your repply.
Yes I followed the explaination of this topic.
So I edited the .prj file with note.exe, and it works.. For a while.. Until you save your project again, and the path return to relative = false.
for example, I got this in the .prj file :
Include Path 1 Is Rel = False
Include Path 1 = "/c/Users/Applications_Banc/sources/include"
I will replace by this :
Include Path 1 Is Rel = True
Include Path 1 Rel To = "Project"
Include Path 1 Rel Path = "../include"
Include Path 1 = "/c/Users/Applications_Banc/sources/include"
This works perfectly : when I launch CVI, it loads the files and I can compile correctly.
But anytime I save the project, it will return to the first lines.
The idea is : how to retain the relative path, as I will have to make/save changes in the project (I mean : "read only" is not a solution)?