Open teacup-laser opened 3 years ago
The Basler pylon usb camera drivers are missing, if you just distribute the application alone.
Please check the section "3.2.3 pylon Camera Driver Packages" in the document Pylon Software deployment guide
You can extract msi installer for the drivers from the full SDK install ( as described in the deployment guide ).
For your application you than wrap this into a small installer ( e.g. by using NSIS or WIX) , that installs the driver msi and your application onto the target machine.
This is specific to windows. On Linux and MacOS we are using generic driver architecture that is always available.
Problem After making an executable for my USB 3 basler camera using the following modification to the spec file:
I get an executable that runs just fine on the PC that I used to build on.
Now I try to run the same executable on a new PC (still using windows 10). When running the executable I get the following error when I try and use the camera: error message:
_genicam.RuntimeException: No device is available or no device contains the provided device info properties. : RuntimeException thrown (file 'tlfactory.cpp', line 694)
Another notable thing: The green light on the basler camera does not stay on with the new machine. I checked and the port I am using is still USB 3. The light comes on green and turns off after a few seconds. On the build device this does not happen though.
What I have tried: Using different implementations of the binaries to add the pylon dlls:
The Goal: Be able to build the executable on my windows 10 machine and then have anyone also running windows 10 be able to just run the executable.