diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-09 08:59:02 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2014-10-09 08:59:02 +0200 |
commit | 7d8b1ff684b412da292e0fc734748975188a0f10 (patch) | |
tree | 2673e3da51cc80bfc38a426048b30a4d71c31d4c /tolua/INSTALL | |
parent | 62c5bb90525baf0d82c23892c2666f611750d63c (diff) | |
download | crawler-7d8b1ff684b412da292e0fc734748975188a0f10.tar.gz crawler-7d8b1ff684b412da292e0fc734748975188a0f10.tar.bz2 |
first trials with a Google normalizer called from Lua, std::string is the problem currently
and the missing wrapper for the URL class
also added a local 'tolua', we will have to hack it
Diffstat (limited to 'tolua/INSTALL')
-rw-r--r-- | tolua/INSTALL | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/tolua/INSTALL b/tolua/INSTALL new file mode 100644 index 0000000..f98a68f --- /dev/null +++ b/tolua/INSTALL @@ -0,0 +1,31 @@ +* Installation + + Building tolua on a Unix system should be very easy: + + 1. Edit "config" to suit your platform, if at all necessary. + 2. Then, type "make". + + See below for instructions for Windows and Macintosh. + +* What you get + + If "make" succeeds, you get: + * an executable to generate binding code in ./bin; + * the C library to be linked in your application in ./lib; + * the include file needed to compile your application in ./include. + These are the only directories you need for development, besides Lua. + + There is testing codes in src/tests and, if you are lucky, there is a manual page + in html in ./doc. You don't need these directories for development. + +* Installation on Windows + + The instructions for building tolua on a Mac or Windows machine depend on + the particular compiler you are using. + The simplest way is to create a folder with all .c and .h files, and + then create a project for the executable and the library, as follows: + + tolua.exe: all *.c *.h in src/bin. + tolua.lib: all *.c *.h in src/lib. + + Under directory ./win32, there is a project sample for Visual C++ 6. |