06-01-2010 09:51 AM
I have not had this problem until recently and cannot recall anything changing in the system I work on, though it is a shared computer. After I build the executable, it runs fine on the computer I built it on, but not on the computer with the runtime on it. The two have worked fine before, but even when I use an old build that has previously worked, I get this error again. Can anyone please help. Thank you.
06-01-2010 10:02 AM
Ed Gonzalez wrote:I have not had this problem until recently and cannot recall anything changing in the system I work on, though it is a shared computer. After I build the executable, it runs fine on the computer I built it on, but not on the computer with the runtime on it. The two have worked fine before, but even when I use an old build that has previously worked, I get this error again. Can anyone please help. Thank you.
To me, that sounds like you are missing some libraries/packages on the computer with runtime.
Did you create an installer with the executable or just the executable itself?
You may need to make an installer, and check that all the dependencies are included
06-01-2010 10:05 AM
I have only made the executable. I will try making an installer. Thank you for your help and I will let you know if this was the solution.
07-09-2010 11:11 AM
I've tried the installer, but to be honest, I am not sure what I am doing with it. What should I do with the installer to get the correct subvis that I need on the runtime computer? I have attached an image of my error showing the subvis I need. Thank you again for all of your help.
07-09-2010 11:31 AM - edited 07-09-2010 11:31 AM
When creating the installer, did you include the IMAQ support files?
After creating the installer, did you run it to install all the files?
07-09-2010 12:04 PM
I did not. What exactly does an installer do? Does it just install the drivers or will it install the executable as well? Previous versions that I built exe's on the computer and worked previously will not work if I build them again.
07-09-2010 12:53 PM
The installer includes the run-time engine and whatever associated files and drivers that are needed by the executable. However, you have to configure the build options to select what gets included, such as IMAQ support.
Your previous (or this) build would likely work on the development PC because all the support files and the run-time engine are already there. If you copy the exe file to a PC without the run-time engine, it will not work. If you create an installer and deploy (install) on another PC, but omit to include the support files, you'll get a run-time error. So, the installer needs to include all support files.
07-12-2010 02:02 AM
I think Ray has nailed it right. When you create the installer you need to add imaq support. In addition if you are using image processing function you might very well get a vision deployment error as well. You should also add a vision licence support with the installer.