Jump to content

Undefined reference to _WinMain@16

Recommended Posts

Does anyone compile matte's code in cygwin?


$ gcc -mno-cygwin -ID:/Pixar/prman-11.3.1/include -o x dumpgrids.c

during compile time I got this errors

2.a(main.o)(.text+0x9b):main.c: undefined reference to `WinMain@16'

Does someone know how to fix it?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now