Home > other >  Realize the lua scan qr code and parsing library file is added to the c library for lua calls the me
Realize the lua scan qr code and parsing library file is added to the c library for lua calls the me

Time:11-22

As of today, learning lua language has been a lot of days; Today want to record some tips, share;

First c library and the connection of lua interface is a virtual stack, I first get a I want to be loaded into the c a repository for lua calls. So file (library);




On Ubuntu, will the three. So files in the directory in the c library source code third_party/lib here



And head files in the same directory of the include folders,

the most important steps to

1) on the Makefile library libzbar increase. So the execution method of



2) increase the interface function to c libraries;





After completing this step, just recompile make source;

After can call interface in lua function;





  • Related