View Single Post
Old May 24, 2015, 21:29   #112
Elfin Jedi
Join Date: Mar 2013
Posts: 102
Elfin Jedi is on a distinguished road
I am trying to build Angband with Netbeans using mingw as compiler. But I am not a computer programmer, and I keep getting this error:

Successfully compiled main.c.
c:/mingw/bin/../lib/gcc/mingw32/4.8.1/../../../libmingw32.a(main.o).text.startup+0xa7): undefined reference to `WinMain@16'
collect2.exe: error: ld returned 1 exit status
make.exe[3]: *** [angband.exe] Error 1
make.exe[2]: *** [all] Error 2
make.exe[1]: *** [subdirs] Error 2
make.exe": *** [all] Error 2

I don't know what to do about it.

Last edited by Elfin Jedi; May 25, 2015 at 00:54.
Elfin Jedi is offline   Reply With Quote