简体   繁体   中英

how to compile and run opencv code from command prompt in windows 7

I need to compile and run opencv c++ code from command prompt in windows 7. When I searched in internet I found some results for Linux but not for windows 7.

How to run the opencv code from command prompt?

the steps should be the same like described in: Opencv Doku

The difference is in how you invoke the compiler afterwards. For how to invoke the visualstudio compiler from command promt have look at: VS Building on commandline

If you want to use mingw please refer to this article: Opencv mingw

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM