Can't find exe after compilation succeeds

孤者浪人 提交于 2021-02-07 18:29:20

问题


I am unable to find an executable file after successfully debugging the code of face detection in microsoft visual studio 2008 using opencv. There is no error only three warnings but it shows the build has succeeded.


回答1:


You can go into project settings and check for the output folder, look for your binaries there.

Binaries don't necesseraly mean exe files, they can also be dll's or lib's. Are you sure your program generates an exe?

EDIT: As per your comment... it asks for an exe file? Are you just compiling, or hitting F5, because F5 will go in debug mode. If no exe is generated, you'll be prompted to pick an exe to run, as dll's cant be ran.




回答2:


In the project property pages: Configuration Properties -> General -> Output Directory. That value tells you where the compiler leaves its output.



来源:https://stackoverflow.com/questions/8148418/cant-find-exe-after-compilation-succeeds

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!