Hi,
I'm trying to build a package, which includes 2 classes foo and bar, where bar is a child of foo. The build process stops with the following message:
There was an error building your package during the source distribution step.
Please make sure that you have properly installed OpenG Builder and that you have run it by selecting Tools>>OpenG Builder from LabVIEW menu.
OpenG Builder is running fine, since I have build several packages with it (before and after the error message). Only this package does not work and I think, the reason is the inclusion of the 2 classes.
I'm using LabVIEW 8.5 (German version). All OpenG packages are up to date. The classes are using standard VIs (mainly TDMS palette) and some of my self made package VIs.
Can you confirm this behavior?
Regards,
Marc
JKI Discussion Forums
Page 1 of 1
Error building package which includes 2 classes
#2
Posted 26 June 2009 - 07:16 PM
Hi Marc,
Currently, VIPM has some trouble building classes that use dynamic dispatch. This is due to the fact that LabVIEW requires that each class's implementation have the same VI name as the parent's VI. When VIPM builds the package, it cannot put both VIs into the same LLB, since LLB's are flat. We're looking into ways to resolve this issue.
Thanks,
-Jim
Currently, VIPM has some trouble building classes that use dynamic dispatch. This is due to the fact that LabVIEW requires that each class's implementation have the same VI name as the parent's VI. When VIPM builds the package, it cannot put both VIs into the same LLB, since LLB's are flat. We're looking into ways to resolve this issue.
Thanks,
-Jim
#3
Posted 01 February 2012 - 03:07 AM
Has this issue been resolved? If not, is there a known workaround?
I'm thinking about putting the child class in a separate package but I don't know if I'll have problems with namespacing, and I find it's not a very efficient way if I want to distribute my plugins all separate: it could make for an impressive number of packages. It probably would anoy people if I started posting these on LVTN for example...
Just a thought, would it be possible to change the filenames in the package as a pre-build instruction and rename them with proper namespacing on install?
François.
I'm thinking about putting the child class in a separate package but I don't know if I'll have problems with namespacing, and I find it's not a very efficient way if I want to distribute my plugins all separate: it could make for an impressive number of packages. It probably would anoy people if I started posting these on LVTN for example...
Just a thought, would it be possible to change the filenames in the package as a pre-build instruction and rename them with proper namespacing on install?
François.
Jim Kring, on 26 June 2009 - 07:16 PM, said:
Hi Marc,
Currently, VIPM has some trouble building classes that use dynamic dispatch. This is due to the fact that LabVIEW requires that each class's implementation have the same VI name as the parent's VI. When VIPM builds the package, it cannot put both VIs into the same LLB, since LLB's are flat. We're looking into ways to resolve this issue.
Thanks,
-Jim
Currently, VIPM has some trouble building classes that use dynamic dispatch. This is due to the fact that LabVIEW requires that each class's implementation have the same VI name as the parent's VI. When VIPM builds the package, it cannot put both VIs into the same LLB, since LLB's are flat. We're looking into ways to resolve this issue.
Thanks,
-Jim
#4
Posted 02 February 2012 - 01:39 AM
I just put different libraries/classes in different .LLBs (or folders) in the same package. No dramas. Is that something you can do?
#5
Posted 02 February 2012 - 04:12 PM
jgcode, on 02 February 2012 - 01:39 AM, said:
I just put different libraries/classes in different .LLBs (or folders) in the same package. No dramas. Is that something you can do?
Hummm, lately I tried to put the classes in llb files and I got errors that VIPM could not detect the LabVIEW version of the files. At first, I attributed that to a file corruption and I took the VIs out of the llb when I resaved them. I thought that was it, but I reput it in a llb and couldn't build again.
If I can make it work with LLBs, I'd be glad to do it. Does it mean I need to deploy with "Destination Type" == Directory ?
This post has been edited by normandinf: 02 February 2012 - 04:12 PM
Share this topic:
Page 1 of 1



Back to top








