undefined reference to `WinMain@16'

前端 未结 6 2373
花落未央
花落未央 2020-11-21 06:46

When I try to build a program using Eclipse CDT, I get the following:

/mingw/lib/libmingw32.a(main.o):main.c:(.text+0x106): undefined r

6条回答
  •  耶瑟儿~
    2020-11-21 07:15

    Try saving your .c file before building. I believe your computer is referencing a path to a file with no information inside of it.

    --Had similar issue when building C projects

提交回复
热议问题