Comments (2)
Hi Denis,
I have an idea, what the problem could be. I have created the whole driver with Pylon 4 and it appears that Pylon 5 has some differences. As I don't have a Linux installation with Matlab and Pylon 5, I couldn't try it out, so can you please try the following:
In the file basler_set_get.cpp
, in each function get_float
, get_int
, get_string
, and get_bool
, there are the following two lines:
std::string s_result = p_parameter->ToString();
printf("Read Parameter \"%s\": %s\n",s_param_name, s_result);
Please try replacing them in each of the mentioned functions by the following:
GenICam::gcstring s_result = p_parameter->ToString();
printf("Read Parameter \"%s\": %s\n",s_param_name, s_result.c_str());
I'm afraid that the same happens in line 128 of the same file, then we would need some workaround there too. But can you try what I posted above first, and see if that works?
Best,
Hannes
from matlab_baslercamdriver.
Thank you very much for your answer. I tried the fix you suggested + changed the type of the output of function get_string in both the .h and .cpp file. Now, the compilation is OK. There are still problems during linking, maybe due to changes from Pylon4 to Pylon5 library (e.g., "undefined reference to
`Pylon::CTlFactory::GetInstance()"). I am still trying to fix them and will let you know when I succeed.
from matlab_baslercamdriver.
Related Issues (20)
- Trigger HOT 4
- Mex won't find header files that are called via #include <header.h> even though they are in include path HOT 1
- Trying and failing to install Boost HOT 11
- Problem when connecting multiple cameras HOT 2
- Cannot build, mex fails with no information HOT 1
- Build error of make.m HOT 4
- Another make build issue HOT 7
- trigger mode HOT 4
- Compilation Problem HOT 3
- Compilation problem: Boost libraries not found HOT 2
- Compilation error HOT 2
- d ..
- Pylon5 and triggered acquisition HOT 1
- Problem with baslerSetParameter() for Boolean types HOT 2
- Problem with make in Matlab 2017b on Mac HOT 1
- MATLAB: Building with 'Microsoft Windows SDK 7.1 (C++)' error HOT 3
- Pylon 4 x64 HOT 1
- run make.m got : error Unknown shared library support
- Error using baslerGetData HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from matlab_baslercamdriver.