PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

LUA

I have encoutered a problem while implementing LUA in PPC applications. When I compile something using lua for Windows, all is right, but then I try to compile for PocketPC (ARM) it says "fatal error: can't include signal.h, errno.h". What that could be?
I use Visual Studio 2005 and LUA 5.1.
I had the same problem and I ended removing manually all errno references from the LUA source code (Excluding os library there were very little)

yes , I'm a bit radical :P but I prefered spending 10 minutes doing that than 1 hour searching for the problem...
Kak wrote:yes , I'm a bit radical :P


Yes, you are :lol:. I solved the problem by downloading CE ported version from lua.org, thou it's only 5.0.
Which version are you using? I didn't find any ppc ones listed on lua.org, but I've found several at other locations ( http://lua-users.org/wiki/LuaAddons ).
I get LUA from http://lua-users.org too. I mixed up a little, I'v wished to say that I get to this site from lua.org.