Okay,
I think it's time to try make a real database application using C++ and WxWidget. The tools needed which I already have so far:
We still need client library for accessing the database server. WxWidgets has database access functions using ODBC. But, I don't like ODBC, I prefer to have client library which access the database natively.
After some google research, ibpp seems the best c++ firebird client library. I downloaded the library from http://www.ibpp.org/. But, a library is no use at all without documentation and it's very unfortunate ibpp only provides online documentation. As we live in Indonesia we certainly need an offline documentation so we can work without internet connection.
Thanks to uncle google (again), I found a free utility which can save an entire website for offline reading from here: http://www.httrack.com/page/2/en/index.html. Installing under linux takes the usual route:
$ wget -c http://www.httrack.com/httrack-3.43-4.tar.gz
$ tar -xf httrack-3.43-4.tar.gz
$ cd httrack-3.43.4
$ ./configure
configure doesn't complain anything! I the proceeded
$ make
# make install
Great!, now I have "WebHTTrack Website Copier" in my Applications->Internet menu, unfortunately nothing comes up when I clicked it.... :(
Stuck? of course no! I tried to run it from terminal and here is what came up:
$ webhttrack/usr/local/bin/htsserver: error while loading shared libraries: libhttrack.so.2: cannot open shared object file: No such file or directory
/usr/local/bin/webhttrack(6248): could not spawn htsserver
So it missed libhhtrack.so.2, it turns out that this file is located in /usr/local/lib. Make a soft link to it in the /usr/lib solves the problem:
# ln -s /usr/local/lib/libhttrack.so.2 /usr/lib/libhttrack.so.2
Next step is firing webhttrack, make a new project and point the url address to ibpp online documentation (http://www.ibpp.org/reference), and 2 minutes later I have the documentation in my harddisk.
I think it's time to try make a real database application using C++ and WxWidget. The tools needed which I already have so far:
- C++: it is a native language with linux. Almost every linux distribution have it, and if you don't have it and you're using ubuntu, just install package base-essential with synaptic or apt-get.
- WxWidgets: the main library which supposed to make our life easier.
- Code::Blocks: the IDE
- Firebird database server.
We still need client library for accessing the database server. WxWidgets has database access functions using ODBC. But, I don't like ODBC, I prefer to have client library which access the database natively.
After some google research, ibpp seems the best c++ firebird client library. I downloaded the library from http://www.ibpp.org/. But, a library is no use at all without documentation and it's very unfortunate ibpp only provides online documentation. As we live in Indonesia we certainly need an offline documentation so we can work without internet connection.
Thanks to uncle google (again), I found a free utility which can save an entire website for offline reading from here: http://www.httrack.com/page/2/en/index.html. Installing under linux takes the usual route:
$ wget -c http://www.httrack.com/httrack-3.43-4.tar.gz
$ tar -xf httrack-3.43-4.tar.gz
$ cd httrack-3.43.4
$ ./configure
configure doesn't complain anything! I the proceeded
$ make
# make install
Great!, now I have "WebHTTrack Website Copier" in my Applications->Internet menu, unfortunately nothing comes up when I clicked it.... :(
Stuck? of course no! I tried to run it from terminal and here is what came up:
$ webhttrack/usr/local/bin/htsserver: error while loading shared libraries: libhttrack.so.2: cannot open shared object file: No such file or directory
/usr/local/bin/webhttrack(6248): could not spawn htsserver
So it missed libhhtrack.so.2, it turns out that this file is located in /usr/local/lib. Make a soft link to it in the /usr/lib solves the problem:
# ln -s /usr/local/lib/libhttrack.so.2 /usr/lib/libhttrack.so.2
Next step is firing webhttrack, make a new project and point the url address to ibpp online documentation (http://www.ibpp.org/reference), and 2 minutes later I have the documentation in my harddisk.
Comments
Post a Comment