rascam | Rust library for the Raspberry Pi Camera | Camera library
kandi X-RAY | rascam Summary
kandi X-RAY | rascam Summary
Rust library for interacting with the Raspberry Pi Camera. This provides a friendly, high level API over the mmal-sys library.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of rascam
rascam Key Features
rascam Examples and Code Snippets
Community Discussions
Trending Discussions on rascam
QUESTION
I have successfully built a C++ project using MSYS2 / MinGW64 / CMake tools. Now I would like to edit it and debug it in Visual Studio, as it is a nice IDE and the default development tool in Windows. Sadly, I am not able to build the project in Visual Studio because it cannot find libraries.
Here is the CMakeLists.txt
file I'm using where, among other things, I specify where are the include folders, the link files and link directories:
ANSWER
Answered 2018-Dec-08 at 17:39As other users commented (thanks, @DavidGrayson), the gcc.exe
and g++.exe
compilers that are installed in the MSYS2 configuration do not use the format that Visual Studio requires for debug symbols. In consequence, it is not possible to use Visual Studio for debugging executables built with Mingw.
To be able to debug (and build and edit), use some other IDE, more MinGW friendly, like Code::Blocks.
Still, to answer my own question, I describe here the procedure to configure the project in Visual Studio to edit the source files, build and launch the executable. For this procedure, no need to use CMake for anything:
- Launch Visual Studio 2017
- File -> Open -> Folder...
- Select the folder that contains the top
CMakeLists.txt
. - It should find automatically that this is a CMake project, and try to load it. Maybe it complains about some errors.
- CMake -> Change CMake Settings -> Choose your top
CMakeLists.txt
. - In the dialog, look for Mingw64-Release (actually, there is a *Mingw64-Debug, but you will not be able to debug anyway).
- If everything went well, a
CMakeSettings.json
has appeared on your project, and Visual Studio rebuilds the project, this time without errors. - Choose an executable target.
- Launch.
It should build then execute the application.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install rascam
Rust is installed and managed by the rustup tool. Rust has a 6-week rapid release process and supports a great number of platforms, so there are many builds of Rust available at any time. Please refer rust-lang.org for more information.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page