[ 33%] Linking CXX executable untitled.exe
CMakeFiles\untitled.dir/objects.a(test.cpp.obj): In function main':
main'
C:/Users/Lee/CLionProjects/untitled/test.cpp:2: multiple definition of
CMakeFiles\untitled.dir/objects.a(main.cpp.obj):C:/Users/Lee/CLionProjects/untitled/main.cpp:3: first defined here
collect2.exe: error: ld returned 1 exit status
mingw32-make.exe[3]: *** [CMakeFiles\untitled.dir\build.make:100: untitled.exe] Error 1
mingw32-make.exe[2]: *** [CMakeFiles\Makefile2:75: CMakeFiles/untitled.dir/all] Error 2
mingw32-make.exe[1]: *** [CMakeFiles\Makefile2:82: CMakeFiles/untitled.dir/rule] Error 2
mingw32-make.exe: *** [Makefile:117: untitled] Error 2
最开始是Cmake有问题 用大佬帖子里的方法改了系统文件夹名字之后好了
然鹅
不知道是什么情况 麻烦大佬们帮忙看看