Code::Blocks Forums

Developer forums (C::B DEVELOPMENT STRICTLY!) => Development => Topic started by: Vampyre_Dark on January 14, 2007, 09:43:47 pm

Title: Irr project wizard
Post by: Vampyre_Dark on January 14, 2007, 09:43:47 pm
I just tried out the Irrlicht project wizard, and it doesn't compile out of the box with VS. You get a linker error because it's a windows application with no WinMain entry point.

Fix:

#pragma comment(linker, "/subsystem:windows /entry:mainCRTStartup")

Works fine now...