On Fri, Mar 8, 2013 at 2:23 PM, Ulrich Heinicke <
[email protected]> wrote:
> i use the following parameter for building the solution to generate the
> libraries:****
>
> ** **
>
> -DWITH_ORACLE=ON -DSOCI_ORACLE=ON
> -DORACLE_INCLUDE_DIR=C:/oracle/product/11.2.0/client_2/oci/include
> -DORACLE_LIBRARIES=C:/oracle/product/11.2.0/client_2/oci/lib/msvc****
>
> ** **
>
> but there is no project generated for build the oracle backend, because
> the output from cmake gives the warning:****
>
> ** **
>
> Some required dependencies of Oracle backend not found: Oracle****
>
> ** **
>
> How can I fix this? I have the administrator installation of the oracle
> client 11.2.0.3 on my machine.****
>
Hi,
I had this problem too. As I remember only way to make it work was to add
enviroment variable ORACLE_HOME which points at directory with Oracle
files. In your case I think it should be:
C:/oracle/product/11.2.0/client_2/oci.
I unfortunatelly have no time to check if it will work for sure. But cmake
in version 3.1.0 needs existance of this variable ORACLE_HOME, check:
https://github.com/SOCI/soci/blob/v3.1.0/src/cmake/modules/FindOracle.cmake
P.S.
It seems that in current version of SOCI cmake works in the same way. Maybe
existance of this variable shouldn't be mandatory for compiling with oracle
libs.
--
Krzysztof Bieleń
------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the
endpoint security space. For insight on selecting the right partner to
tackle endpoint security challenges, access the full report.
http://p.sf.net/sfu/symantec-dev2dev
_______________________________________________
soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users