How to use SOCI C++ Database library?
Posted
by
NeDark
on Stack Overflow
See other posts from Stack Overflow
or by NeDark
Published on 2010-12-31T17:44:51Z
Indexed on
2011/01/02
20:54 UTC
Read the original article
Hit count: 198
I'm trying to implement soci in my program but I don't know how. I'm using C++ on linux, on a project on netbeans. I have followed the steps in http://soci.sourceforge.net/doc/structure.html to install it, and I tried to copy the files soci.h from /src/core and soci-mysql.h from /src/backends/mysql in my proyect but it gives compilation error (these files include other soci files, but it's illogical to copy all files into the directory...). I have read the guide several time but I don't understand what I'm doing wrong, the examples only include these files.
Thanks.
Edit: I have given more information in a comment below the answer. I don't know what steps I have to do to implement soci.
© Stack Overflow or respective owner