Jump to content
  • Advertisement

Archived

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

demonrealms

What the....?

This topic is 5529 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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!