강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

JC Lee님의 프로필 이미지
JC Lee

작성한 질문수

강사님! 강의 1. 13 비주얼 스튜디오 기본적인 사용 방법 mingw_w64 컴파일이 안됩니다.ㅠㅠ

작성

·

109

0

강사님 강의를 따라 mingw-w64 설치한 후 재 부팅한 후 gcc main.c 를 입력하면 저는 아래와 같이 나오면서 컴파일이 안됩니다. ㅠㅠ
도움을 요청합니다...
PS C:\Users\Jong Cheol Lee\Documents\my_c_files> dir
디렉터리: C:\Users\Jong Cheol Lee\Documents\my_c_files Mode LastWriteTime Length Name ---- ------------- ------ ---- -a---- 2021-07-29 오전 10:02 0 main.c
PS C:\Users\Jong Cheol Lee\Documents\my_c_files> gcc gcc.exe: fatal error: no input files compilation terminated.
PS C:\Users\Jong Cheol Lee\Documents\my_c_files> gcc main.c C:/Program Files (x86)/mingw-w64/i686-8.1.0-posix-dwarf-rt_v6-rev0/mingw32/bin/../lib/gcc/i686-w64-mingw32/8.1.0/../../../../i686-w64-mingw32/lib/../lib/libmingw32.a(lib32_libmingw32_a-crt0_c.o):crt0_c.c:(.text.startup+0x39): undefined reference to `WinMain@16' collect2.exe: error: ld returned 1 exit status PS C:\Users\Jong Cheol Lee\Documents\my_c_files>

답변

답변을 기다리고 있는 질문이에요
첫번째 답변을 남겨보세요!
JC Lee님의 프로필 이미지
JC Lee

작성한 질문수

질문하기