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  |
lectus
Messages: 329 Registered: September 2006 Location: Brazil
|
Senior Member |
|
|
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-2.4.9.7.tar.gz
$ cd metakit-2.4.9.7
$ cd unix
$ ./configure
$ make
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:
\bin
\lib
\include
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
|
|
|
Goto Forum:
Current Time: Fri Apr 25 13:15:31 CEST 2025
Total time taken to generate the page: 0.00912 seconds
|