Makefile all platforms

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
diho
Posts: 46
Joined: Fri May 20, 2011 9:01 pm
Location: Netherlands

Makefile all platforms

Post by diho »

Does anyone have a makefile to build your irrlicht application for all platforms from a linux platform (cross compiling)

-diho
diho
Posts: 46
Joined: Fri May 20, 2011 9:01 pm
Location: Netherlands

Re: Makefile all platforms

Post by diho »

Or at least cross compile it for windows?
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: Makefile all platforms

Post by hendu »

The default makefile works for me with mingw. EDIT: oh you mean your app and not irr itself. You just need to link some windows-specific libs in that case.

LIBS += -lole32 -luuid -lcomctl32 -lwsock32 -lopengl32 -lwinmm
LIBS += -luser32 -lgdi32 -ldxguid
diho
Posts: 46
Joined: Fri May 20, 2011 9:01 pm
Location: Netherlands

Re: Makefile all platforms

Post by diho »

Thanks Hendu, linking those extra libs did the trick!
Post Reply