lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]



Might it be that the 'system' and 'getenv' functions really are not there?

Like in WinCE devices, there are no environment variables. In this case, you need to make short dummies for them (or comment out the usage in Lua library code).

-ak


29.3.2005 kello 06:02, Nelson Wong kirjoitti:

 Hi all,

I am currently trying to port Lua to Mac-base system (Console!!),
however, I got following linker errror, where OS specific operations
are not found.

luaz.lib(liolib.c.obj) : error LNK2019: unresolved external symbol
system referenced in function io_execute
luaz.lib(liolib.c.obj) : error LNK2019: unresolved external symbol
getenv referenced in function io_getenv
...

Does anyone has the same experience, or know how to resolve this problem?

Thanks in advance.

Nelson