Hyub
Hyub

Reputation: 3

I want to know this cause and solution

[ 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

Answers (1)

David Schwartz
David Schwartz

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

Related Questions