12-16-2008 02:02 PM - edited 12-16-2008 02:03 PM
I can build my project into an EXE and Installer without problem but when I try to build a Source Distribution I get the following error:
As you can see the source file C:\Documents and Settings\Program Files\National Instruments\LabVIEW 8.6\resource\objmgr\daqmx.rc
does not exist. Of course not, you can't get to Program Files from Documents and Settings. Has anyone else seen this problem and/or found a workaround?
Solved! Go to Solution.
12-19-2008 02:50 PM
Hi jmcbee,
You are correct that the path does not exist, so I am wondering why the build is looking in that path. Could you post the project to see if that is reproducible on other machines?
Otherwise, you can remove the .rc file from your Source Distribution unless you are using events to programmatically register and handle NI-DAQmx events, as that seems to be the function of this file. In the Properties for the Source Distribution, click on Additional Exclusions and check the "Remove unused members of project libraries" box.
Regards,
Stephen S.
12-19-2008 03:36 PM
Hi Stephen,
You are correct, I am programmatically registering NI-DAQmx events. The project seems to be too large to attach to this post, do you have another way I can get it to you?
12-22-2008 06:16 PM
Hi jmcbee,
You can put the project at our ftp site and let me know when you do that so I can download it from there.
Ipshita C.
02-17-2009 03:27 PM
02-17-2009 04:54 PM
02-18-2009 10:36 AM
Sorry Gmart accidently posted our Internal URL to that knowledge Base, here is the external Link
How Can I Remove the daqmx.rc File from a Source Distribution Created in LabVIEW 8.5 or Later?
Hunter