Created
September 25, 2019 15:31
-
-
Save cybertramp/54d11e42d2a186af4dd3d5c6f5a2a560 to your computer and use it in GitHub Desktop.
Compile command when using opencv.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # Compile | |
| g++ -I/usr/local/include/opencv4 -O0 -g3 -Wall -c -fmessage-length=0 -no-pie -v -MMD -MP -MF"main.d" -MT"main.o" -o "main.o" "../main.cpp" | |
| # Linking | |
| g++ -L/usr/local/lib -o "opencv_homework1" ./main.o -lopencv_core -lopencv_imgproc -lopencv_imgcodecs -lopencv_highgui -lopencv_ml -lopencv_videoio -lopencv_video -lopencv_features2d -lopencv_calib3d -lopencv_objdetect -lopencv_flann |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment