Dear All,
I'd like to know how am I supposed to run the minimalistic soci example for 
c++, I compiled the source code of Soci 3.2.3 and it produces the expected 
libraries listed below. But also below simple program code doesn't work and 
reports the following error . "D:\.....\Firebird_main.cpp|10|error: 'Session' 
was not declared in this scope|"
How am I supposed to resolve it?
// SIMPLE PROGRAM #include <iostream>
#include "soci.h"#include "soci-firebird.h"
using namespace std;
int main(){    Session sql(firebird, "service=D:\....\Test.FDB user=SYSDBA 
password=masterkey");
    cout << "Hello world!" << endl;    cout << "Hello world!" << endl;    
return 0;}
// COMPILED LIBRARIES 
"C:\...\SOCI323_Build\lib\libsoci_firebird_3_2.dll.a""C:\...\SOCI323_Build\lib\libsoci_core_3_2.a""C:\...\SOCI323_Build\lib\libsoci_core_3_2.dll.a""C:\...\SOCI323_Build\lib\libsoci_empty_3_2.a""C:\...\SOCI323_Build\lib\libsoci_empty_3_2.dll.a""C:\...\SOCI323_Build\lib\libsoci_firebird_3_2.a"

                                          
------------------------------------------------------------------------------
Don't Limit Your Business. Reach for the Cloud.
GigeNET's Cloud Solutions provide you with the tools and support that
you need to offload your IT needs and focus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
_______________________________________________
soci-devel mailing list
soci-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/soci-devel

Reply via email to