Reputation: 3
[ 6%] Built target ChainedLib
[ 12%] Built target ChainedApp
[ 15%] Linking CXX executable ColorConsole
/usr/bin/ld: cannot open output file ColorConsole: Is a directory
collect2: error: ld returned 1 exit status
make[2]: *** [ColorConsole] 오류 1
make[1]: *** [CMakeFiles/ColorConsole.dir/all] 오류 2
make: *** [all] 오류 2
I install plog library. cmake CMakeList.txt complete. but, makefile is fail I don't know cause
Upvotes: 0
Views: 86
Reputation: 182743
You have a directory called ColorConsole
. The makefile tries to produce a file with that name. The solution is most likely to remove (or rename) the directory.
Upvotes: 1