Compiling under MinGW

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
rhempel
Prole
Posts: 4
Joined: Sat Apr 04, 2009 4:15 pm

Compiling under MinGW

Post by rhempel »

OK, I'm back after a bit of a break. I want to compile Love2D from source under MinGW - and I've got the 0.5.0 source tree handy.

I got the SDL and DevIL libs and headers and everything is built and linking using my own build framework.

Only problem is that there's no WinMain() in the source and it's the only unreferenced symbol.

Is there a build tree somewhere that has the source for building a Windows app under MinGW.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Compiling under MinGW

Post by bartbes »

Since rude builds using msvc++, I don't think so..
You might just define main=WinMain, that should work, or change the name of the function. (You should check with arguments though)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests