问题
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