Home » Developing U++ » External resources » an efficient embedded database library
|Re: an efficient embedded database library [message #38990 is a reply to message #5148]
||Mon, 04 February 2013 21:26
Registered: September 2006
I've used Metakit with Tcl before. It's a good database.|
I've been playing with the C++ version too.
I managed to build it with mingw/msys.
Here's how I did it:
Grab the metakit.tar.gz package with source code from the web page.
Put it in your home in MSYS.
Open MSYS shell. Type in the commands:
$ tar xvzf metakit-184.108.40.206.tar.gz
$ cd metakit-220.127.116.11
$ cd unix
I realize Mingw/Msys is not unix, but it works. You'll get a libmk4.so file. It has the wrong extension, but it's a DLL. Just make a copy of it as libmk4.a.
Create a C:\Metakit folder with 3 sub-directories:
place libmk4.so in \bin, libmk4.a in \lib and the contents of the include folder in \include.
Now just add these paths in the IDE and compile your application. Remember to distribute libmk4.so with your exe.
libmk4.so contains debug symbols, so it's huge. Use this command:
C:\mingw\bin\strip --strip-all libmk4.so
to get the release version.
[Updated on: Mon, 04 February 2013 21:33]
Report message to a moderator
Current Time: Mon Aug 03 10:40:06 CEST 2020
Total time taken to generate the page: 0.01722 seconds