Compiling sqlighting for Windows
£10-20 GBP
Pagado a la entrega
The task is to provide a working "recipe" for compiling sqlighting for windows (to generate .exe/.dll etc) [login to view URL]
I have basic experience with Linux, but it has only taken me so far; the expertise I need you to have is:
- mingw builds
- configuring Makefiles, .la files etc.
I suspect I'm doing something wrong with library paths, and that this will be a pretty quick job for someone familiar with these tools. The packages are quite small if you'd like to give it a try, my method is below, so it could be that there's a gotcha I've missed.
The overall aim is to discover if sqlightning will work as a drop-in replacement for regular sqlite.
Method tried within Ubuntu bash shell (WSL)
==========================================================================
apt-get install tcl8.5-dev (dev version required for the build process, as it has a .sh script necessary)
--Install libraries
git clone [login to view URL]
(then make, make install)
--Sqlightning
git clone [login to view URL]
vi configure (change the cross-compiling flag to yes - not sure)
--The Make process was looking for some .h files, so symbolic links to the libraries created
ln -s /usr/include/asm-generic/* /usr/i686-w64-mingw32/include/sys
ln -s /usr/include/asm-generic/* /usr/i686-w64-mingw32/include/asm-generic
--From a build directory /bld
../sqlightning/configure --build=i686-w64-mingw32 --host= i686-w64-mingw32 --with-tcl=/usr/lib/tcl8.5/
--After getting the message: link: warning: undefined symbols not allowed in i686-w64-mingw32 shared libraries
Added LT_INIT([win32-dll]) to sqlightning/[login to view URL]
The results of "make" attempt in the attached log file.
Nº del proyecto: #15595531