View Full Version : Problem with PacMan example

05-22-2007, 01:48 PM
I am able to compile and run all the examples exept for pacman which gives me this error:

1>libcmt.lib(calloc.obj) : error LNK2005: _calloc already defined in LIBCMTD.lib(dbgheap.obj)
1>libcpmtd.lib(xdebug.obj) : warning LNK4098: defaultlib 'libcmt.lib' conflicts with use of other libs; use /NODEFAULTLIB:library
1>.\Debug/Pacman.exe : fatal error LNK1169: one or more multiply defined symbols found

Is there anything i have missed to compile and install?

05-23-2007, 02:24 PM
Sorry, i can not help. It works on linux.
Make sure that you, use the latest SVN (subversion) of the ClanLib 0.8 branch.

05-24-2007, 02:23 AM
Try ignoring the library LibCMT or LibCMTd, and see if that helps. It looks like its conflicting with other libraries (happens all the time).

05-26-2007, 09:09 PM
Thanks chambers, that helped me, it works like a charm now :D