问题描述:

Hi I have managed to get Allegro working within XCODE 5.1.1. I am working through the tutorials and examples and have come across this error when defining the class:

Can anyone help? The writing is not purple as should be either, have I missed a vital include file or something?

网友答案:

Found the problem on a post here https://www.allegro.cc/forums/thread/613728 I needed to create the file as C++ and not C as I had done. This fixed it.

相关阅读:
Top