[gecode-users] Linking problems in Visual Studio

Guido Tack tack at gecode.org
Sun Aug 22 13:40:12 CEST 2010


Steven Villegas wrote:
> 1>LIBCMT.lib(wincrt0.obj) : error LNK2001: unresolved external symbol
> _WinMain at 16
> 1>C:\Users\Steven Augusto\Documents\Visual Studio
> 2010\Projects\GECODE\Release\GECODE.exe : fatal error LNK1120: 1
> unresolved externals
> ========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
> 
> any hints about the problem??

That's not a Gecode problem, you're trying to create a Windows Application (as opposed to a Windows Console Application), where the main function must be called WinMain or wWinMain.

Cheers,
	Guido

-- 
Guido Tack, http://people.cs.kuleuven.be/~guido.tack/




More information about the users mailing list