strawlab / pylon-cxx

Rust wrapper of the Pylon libraries for Basler cameras
Apache License 2.0
23 stars 6 forks source link

Building on Windows #15

Closed platlas closed 1 month ago

platlas commented 1 month ago

Hi, I have Pylon version 5 on Windows 11. And PYLON_DEV_DIR is set to C:\Program Files\Basler\pylon 5\Development but I'm not able to build the library. I have also tried to include C:\Program Files\Basler\pylon 5\Development\lib\x64 into PATH env variable.

There are many errors like: C:\...\pylon-cx-main\include\pylon-cxx-rs.h(48): error C2065: 'CBooleanParameter': undeclared identifier. Not sure what I'm doing wrong.

platlas commented 1 month ago

Seems like version Pylon 5.1 is missing these files. But it works with 5.2.