-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compile with g++ #10
Comments
Assuming your in the 'main' directory.
Give the following commands
You get the executable FaceRecognition.
|
Thank you very much!! It worked |
You are running the g++ commands is the wrong folder, as can be seen by the error Better to use cmake as explained here #12 |
Hi,
First of all, nice work. Thanks for sharing.
I don't have much experience with c++, so sorry for the dumb question.
How can i compile and run the script outside of codeblocks using g++?
I moved all .hpp and .cpp files to the same folder and i run this command on raspberry PI console:
g++ main.cpp -o run -I/usr/local/include/opencv4 -I/usr/local/include/ncnn `pkg-config --cflags --libs opencv4`
I got this error:
Obs: I'm testing only the retinaface. The following code runs perfectly in codeblocks with the project that you provide.
Files in folder:
main.cpp
The text was updated successfully, but these errors were encountered: