Jump to content

Packed Library with DLL


Recommended Posts

Built a packed library where VIs had error in the library.

"This VI uses a dependency that has changed. That change requires this VI to recompile. This VI is compiled into a Packed Project Library and cannot recompile by itself. You must rebuild the Packed Project Library to account for the changed dependency."

The VI in question is part of a Class. When I attempt to load the VI from the LabVIEW project, it has to search for a required .dll. I can point to the .dll while searching, so I know it's there. But apparently not where it is expected (Thus the search). I have saved it once open, but the .dll is searched every time I open it anyway.

Not experienced enough with oop as related to packed library (LVLIBP) to know how to fix this. since I'm pretty sure that's what the dependency issue is for the packed library.

Any ideas?

 

Link to comment
5 minutes ago, Allen Hunsaker said:

Built a packed library where VIs had error in the library.

"This VI uses a dependency that has changed. That change requires this VI to recompile. This VI is compiled into a Packed Project Library and cannot recompile by itself. You must rebuild the Packed Project Library to account for the changed dependency."

The VI in question is part of a Class. When I attempt to load the VI from the LabVIEW project, it has to search for a required .dll. I can point to the .dll while searching, so I know it's there. But apparently not where it is expected (Thus the search). I have saved it once open, but the .dll is searched every time I open it anyway.

Not experienced enough with oop as related to packed library (LVLIBP) to know how to fix this. since I'm pretty sure that's what the dependency issue is for the packed library.

Any ideas?

 

More info genericized. In the project, the hierarchy looks like this

1/DCS

         2/Methods

                         3/lvclass

                                         4/methods

                                                               5/private

                                                                                  6/Script.vi - this is the VI that searches for the DLL that I can't seem to save with DLL location.

                                                               5/Execute.vi... this vi calls the Script .vi but is not in the private folder as shown

         2/Test App

                         3/.dll is here

 

Creating the packed library puts the dll in the build project root

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.