Jump to content
wildparky

Undefined reference to _WinMain@16

Recommended Posts

Does anyone compile matte's code in cygwin?

http://graphics.stanford.edu/~mmp/code/dumpgrids.c

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

during compile time I got this errors

/usr/lib/gcc-lib/i686-pc-mingw32/3.3.1/../../../../i686-pc-mingw32/lib/libmingw3
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

×