This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

MDK Version 5 - Legacy Support - Lua - FRDM-KL25Z - Include problem

Hi I am working with my thesis project which is porting the scripting language Lua to a FRDM-KL25Z platform. I downloaded the SDK from the official web which is MDK Version 5 - Legacy Support, since I am using a Version 4 project which is exported from mbed online project. I am able to debug and blinking the led. So I started to put the related .c and .h files which I want to use from the Lua src files. When I first put the lua.h and set the path in the options, there is an error says"error in include chain (luaconf.h) : invalid token at start of a preprocessor expression", but it does include this luaconf.h in the lua.h. So is there anyone who has any idea to fix the problem?

error.png