Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

demonrealms

What the....?

This topic is 5447 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just put this in my code:
DMUSIC_MIDI         dm_midi[DM_NUM_SEGMENTS];
And then it came up with these errors:
--------------------Configuration: prj_learn - Win32 Debug--------------------
Compiling...
prj_learn.cpp
C:\prj_learn\prj_learn.cpp(105) : error C2146: syntax error : missing '';'' before identifier ''dm_midi''
C:\prj_learn\prj_learn.cpp(105) : error C2501: ''DMUSIC_MIDI'' : missing storage-class or type specifiers
C:\prj_learn\prj_learn.cpp(105) : fatal error C1004: unexpected end of file found
Error executing cl.exe.

prj_learn.obj - 3 error(s), 0 warning(s)
Why is that? Thansk in advance, -sathenzar

Share this post


Link to post
Share on other sites
Advertisement
It means that the compiler doesn''t find the definition of ''DMUSIC_MIDI'' anywhere before the error point.

-Nik

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!