Closed LiliMeng closed 8 years ago
Solved!:-D
Change the Line26 and 27 the demo to Demo in CMakeLists.txt as the original executable name demo is the same with directory name demo:-D
add_executable(Demo demo/demo.cpp) target_link_libraries(Demo ${PROJECT_NAME} ${OpenCV_LIBS} ${DLib_LIBS})
Hi,
Linking CXX executable demo /usr/bin/ld: cannot open output file demo: Is a directory collect2: error: ld returned 1 exit status make[2]: * [demo] Error 1 make[1]: * [CMakeFiles/demo.dir/all] Error 2 make: *\ [all] Error 2