Closed ponagehl2 closed 6 years ago
Hi,
I assume you have installed Pylon? Have you used Pylon 4 or the newest Pylon 5?
Can you please run the following two commands in MATLAB, copy the resulting paths into the explorer and verify that both these folders exist and contain a couple of files or subfolders?
fullfile(getenv('PYLON_ROOT'),'include')
fullfile(getenv('PYLON_GENICAM_ROOT'),'library\CPP\include')
Hi,
I am using Pylon 5 since I am trying to connect to Basler ac3800 14um camera, which I believe is a newer model and can only be recognized using the newer version of Pylon.
The commands you provided above indicate that the Pylon root folder is for Pylon 4. Is there a way to modify this?
Appreciate the help, Kevin
Okay, thanks for the feedback. So, you can change these paths to point to the right place from within MATLAB. The important thing is to find the correct places:
PYLON_ROOT
, this is something like C:\Programs\Pylon 5\
or wherever Pylon 5 is installed. Please check that this folder has an includes
subfolder.PYLON_GENICAM_ROOT
is usually a subfolder of that, something like genicam
. You know that you have the right place, when you have the subfolders library\CPP\include
. Setting an environment variable is then as simple as
setenv('PYLON_ROOT', 'C:\the\path\you\found')
setenv('PYLON_GENICAM_ROOT', 'C:\the\other\path')
You have to call these functions before running make.m
(or simply copy them to the beginning of make.m
.
I hope that this solves these errors. However, I fear that you might run into other problems as reported here, as I have developed this driver for Pylon 4 and haven't been able to port it to Pylon 5.
Hi,
I followed through the installation guide until the last compilation step. And it gave me the following error message: fatal error C1083: Cannot open include file: 'pylon/PylonIncludes.h': No such file or directory
It seems to be missing a header file. I am wondering how I can resolve this issue.
Thanks, Kevin