Jump to content
  • Advertisement
Sign in to follow this  

Can't compile, screwed up compiler I think

This topic is 4762 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 am trying to compile this tutorial [http://www.aaroncox.net/tutorials/arcade/Introduction.html], it mostly works, but I have a problem, using this function: void DisplayText(string text, int x, int y, int size, int fR, int fG, int fB, int bR, int bG, int bB); It complains at me saying "parameter 1 of `void DisplayText(std::string, int, int, int, int, int, int, int, int, int)' has incomplete type `std::string'" each time I use that function, if I get rid of the string bit and just set the text to "whatever" in the actual function, it will compile, but everything says "whatever" instead of what I want it to say. I am using Dev-C++. Cheers for any help.

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • 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!