LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

An internal tool or library returned an error.

Solved!
Go to solution

I made a very small change to a source file today and compiled the source.  When I attempted to build the distribution, however, the build failed with the following messages: "Error configuring developer part options" and "An internal tool or library returned an error."  No other information was provided as to the possible source of the error.  This is a project that has been maintained for several years.  I tried building in both CVI 2015 and 2013 with the same results.  I was able to build another project with no errors.  

0 Kudos
Message 1 of 6
(4,900 Views)

Hi Double_D,

I know the second error you mention is often due to LabWindows/CVI being unable to locate a file required for your project. Take a look at the following KnowledgeBase, and make sure that all the files for the distribution can be found in the expected locations when you build. Are there any files which the build is not able to find, and are they files you created or specific to LabWindows/CVI?

http://digital.ni.com/public.nsf/allkb/4F6A2071241A86AA8625726D00039892

Have you tried reversing the small change you made to the source file? If so, did the same behavior still happen?

I would also suggest that you post the specific error codes you are encountering along with the full messages given. The more details you post the better people on the forums are able to assist.

Charlie J.
National Instruments
0 Kudos
Message 2 of 6
(4,879 Views)

Charlie,

 

No files are shown in red in the installer dialog.  Commenting out the added code didn't help, either; the code compiles fine, but the build of an executable installation package fails.  I provided all of the information provided by CVI.  No error codes are shown.

0 Kudos
Message 3 of 6
(4,874 Views)

Hi Double_D,

Have you tried creating a new distribution for the same project, and if so did you encounter the same behavior? I know you said another project built without problem so I'm curious if there might be something wrong with the specific project, as you have tried this on multiple versions. I would also suggest seeing if creating a copy of the project files and then creating a new project and adding the copies gives the same result. 

Could you also provide a screenshot of the exact message(s) you are seeing? Usually our error messages have some more description to them and I just want to confirm that you aren't getting that information.

Charlie J.
National Instruments
0 Kudos
Message 4 of 6
(4,867 Views)
Solution
Accepted by topic author Double_D

I have attached a screenshot of the error window.  I was able to build the distribution after creating a new .cds file.  The other file must be corrupted in some unknown manner.

0 Kudos
Message 5 of 6
(4,855 Views)

Hi Double_D,

Glad to hear that making a new distribution worked for you. I have never encountered an error message like that, but if the file was corrupted in some way it would make sense that the error message could be abnormal as well. Hopefully this is a one-off situation, but if it happens again let us know!

Charlie J.
National Instruments
0 Kudos
Message 6 of 6
(4,842 Views)