On 19 July 2013 06:25, asif saeed <[email protected]> wrote:
> Here is my command-line:
>
> cmake -G "Visual Studio 11" -DSOCI_STATIC=ON -DWITH_BOOST=ON
> -DBOOST_RELEASE_VERSION=1.54 -DBOOST_INCLUDE_DIR=E:\libs\boost_1_54_0\boost
> -DBOOST_LIBRARIES=E:\libs\boost_1_54_0\stage\lib  -DWITH_ORACLE=ON
> -DORACLE_INCLUDE_DIR=E:\Oracle\product\10.1.0\Client_1\oci\include
> -DORACLE_LIBRARIES=E:\Oracle\product\10.1.0\Client_1\oci\lib\msvc
> -DORACLE_TEST_CONNSTR:STRING="service=devdb user=ultradba password=ultra"
> ..\soci-3.2.1-source

The source path should be the last argument in the command line.

> -DWITH_POSTGRESQL=ON -DPOSTGRESQL_VERSION=9.2.4-1

No need to specify version, this is determined by CMake.

> -DPOSTGRESQL_INCLUDE_DIR=E:\postgresql-9.2\include
> -DPOSTGRESQL_LIBRARIES=E:\postgresql-9.2\lib

By convention, CMake *_LIBRARIES options take path (or ; separated
list of paths)
to library (or libraries) files, not folder path(s).

-DPOSTGRESQL_LIBRARIES=E:\postgresql-9.2\lib\libpq.lib

"Full paths to libraries to link SOCI against to enable the backend support"
http://soci.sourceforge.net/doc/3.2/installation.html

If this wording is unclear, please suggest improvement.

Best regards,
--
Mateusz  Loskot, http://mateusz.loskot.net

------------------------------------------------------------------------------
See everything from the browser to the database with AppDynamics
Get end-to-end visibility with application monitoring from AppDynamics
Isolate bottlenecks and diagnose root cause in seconds.
Start your free trial of AppDynamics Pro today!
http://pubads.g.doubleclick.net/gampad/clk?id=48808831&iu=/4140/ostg.clktrk
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users

Reply via email to