Comments (6)
Hi @mrortach As you are using Visual Studio, I wonder whether you need to set up linkages to realsense2.dll. If the full RealSense SDK has been installed on Windows using the Intel.RealSense.SDK-WIN10 installer file then the SDK provides three .props property sheet files for doing this. They can be found at C: > Program Files (x86) > Intel RealSense SDK 2.0
Once the SDK is installed and you can access the three props files in the SDK folder, the link below has a C++ Visual Studio tutorial shared by a RealSense user for creating a starter project using the props files.
https://github.com/EduardoWang/visual-studio-real-sense-record-and-playback-project
from librealsense.
I tried to compile pyrealsense2 version 2.54.2.5684 for Python 3.12 using the method you suggested, but it didn't work.
from librealsense.
As the errors reference GL, I wonder whether they are occurring because -DBUILD_GRAPHICAL_EXAMPLES=TRUE is not included in your CMake build instruction. When building librealsense from source, this instruction is required in order to build the SDK with OpenGL graphics support included.
When setting -DBUILD_GRAPHICAL EXAMPLES to True, -DBUILD_EXAMPLES must also be true. So adding these two flags to your CMake build instruction would make it look like this:
cmake .. -DFORCE_RSUSB_BACKEND=ON -DCMAKE_BUILD_TYPE=Release -DBUILD_PYTHON_BINDINGS=bool:true -DPYTHON_EXECUTABLE="C:/***/AppData/Local/Programs/Python/Python312/python.exe" -DBUILD_EXAMPLES=TRUE -DBUILD_GRAPHICAL_EXAMPLES=TRUE
from librealsense.
Another approach to installation may be to install the 2.54.2 SDK without pyrealsense2 by using the Intel.RealSense.SDK-WIN10 installer file and de-selecting the Python wrapper component on the installer's configurartion options so that the Python 3.7 version of the wrapper is not installed.
https://github.com/IntelRealSense/librealsense/releases/tag/v2.54.2
Then once the 2.54.2 SDK is installed, build the Python wrapper separately from source code for Python 3.12.
from librealsense.
I partially did it yesterday, but today I couldn't get it done.
from librealsense.
What errors do you get when building the Python wrapper on Windows separately after the SDK is installed, please?
from librealsense.
Related Issues (20)
- Announcement: Read about applications of Intel RealSense technology on the RealSense Blog
- Kernel Patch not working on ubuntu 5.0.0-23-generic HOT 6
- Bad face reconstruction quality with D435 camera HOT 8
- Python / RuntimeError: No device connected HOT 11
- No device connected(imshow example in wrappers) HOT 7
- failed to convert special folder: errno=42 HOT 1
- Repository of realsense and sudo apt-get update failed due to 403 forbidden HOT 2
- Invalid Value Error HOT 1
- Align the depth and rgb frames from the .bag file (D415 camera). HOT 1
- Seeking Guidance on Hand-Eye Calibration for Camera-Mounted Robot Arm (D405) HOT 3
- Regarding the issue of the inability to install realsense in Ubuntu 24.04 version HOT 3
- pyrealsense2 Python 3.12 incompatibility HOT 1
- RuntimeError: Frame did not arrive within 5000 HOT 7
- Problema no Intel.RealSense.Viewer.exe HOT 1
- How are callbacks internally implemented? HOT 7
- error in Realsence Viewer HOT 5
- pyrealsense2 not installed when built from source HOT 1
- Steps between depth HOT 1
- pyrealsense2
- pyrealsense2 HOT 2
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 librealsense.