clion不知道为什么报错````
c:/mingw/bin/../lib/gcc/mingw32/6.3.0/../../../libmingw32.a(main.o):(.text.startup+0xa0): undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status CMakeFiles\explore.dir\build.make:121: recipe for target 'explore.exe' failed mingw32-make.exe[3]: *** [explore.exe] Error 1 CMakeFiles\Makefile2:66: recipe for target 'CMakeFiles/explore.dir/all' failed mingw32-make.exe[2]: *** [CMakeFiles/explore.dir/all] Error 2 mingw32-make.exe[1]: *** [CMakeFiles/explore.dir/rule] Error 2 CMakeFiles\Makefile2:78: recipe for target 'CMakeFiles/explore.dir/rule' failed Makefile:117: recipe for target 'explore' failed mingw32-make.exe: *** [explore] Error 2
心累,想去Linux上写c了
VS2013
devc++