Advertisement

Lesson 21...

Started by October 16, 2002 03:48 PM
1 comment, last by HardSniper 22 years, 4 months ago
I am trying to build lesson 21 of nehe''s tutorials, but I am getting the following errors from VC++6. Any ideas? Linking... test.obj : error LNK2001: unresolved external symbol __imp__timeGetTime@0 test.obj : error LNK2001: unresolved external symbol __imp__PlaySoundA@12 Debug/lesson21_test.exe : fatal error LNK1120: 2 unresolved externals Error executing link.exe. lesson21_test.exe - 3 error(s), 0 warning(s) ps. I wrote the code out myself and got this error, then tried compiling nehe''s code and got it too. Thanks, Steve
HardSniper
if you''re using MSVC++ add this to the top of your winmain file:

#pragma include(lib, "winmm.lib")

if you''re using devc or any other ide i think you''ll have to manually
add the library to your project.
(it might work on borland and codewarrior)

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::

''In C we had to code our own bugs. In C++ we can inherit them.''

-eldee;another space monkey;[ Forced Evolution Studios ]
Advertisement
thanks!

This topic is closed to new replies.

Advertisement