help, linker errors when adding library file to project
I'm trying to create a game using Carnegie Mellon's graphics library, and would have been done days ago if not for one problem:
The game uses random numbers quite extensively in the game, so to generate those I'm using the standard deal (cstdlib and ctime included, rand() function with system clock as seed). It will compile, but when it goes to link, the following errors occur:
If anyone would be able to help me circumvent this, it would be greatly appriciated. Thanks in advance.
LINK : warning LNK4098: defaultlib "LIBC" conflicts with use of other libs; use /NODEFAULTLIB:library
CMUgraphics.lib(auxil.obj) : error LNK2001: unresolved external symbol __imp__timeGetTime@0
Debug/Simon.exe : fatal error LNK1120: 1 unresolved externals
Error executing link.exe.