rajkundu / libmp-example

Use Mediapipe with CMake: Example LibMP Usage Application
Apache License 2.0
20 stars 3 forks source link

how can I run this project in visual studio? #4

Open liuweie opened 1 year ago

liuweie commented 1 year ago

hello , thanks for your contribution ! I do not want to use cmake to compile , but use visual studio to run main.cpp, Is this possible? I have tried it but many errors occured.

rajkundu commented 1 year ago

Hello! Unfortunately, I do not have experience myself using Visual Studio. My guess is that after compiling LibMP, you would need to add the resulting DLL file, import library, and include paths to your VS project. Also, you will need to include the ProtoBuf and OpenCV libraries. (In this repository's CMake project, I import MediaPipe's versions of these two libraries.)

Basically, you'll need to follow along to CMakeLists.txt and do the same configuration in your own project, but in Visual Studio.

If anyone else has experience with VS, please share any tips!