mingw-cross-env-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Mingw-cross-env-list] Problem cross compiling TOra


From: Tony Theodore
Subject: Re: [Mingw-cross-env-list] Problem cross compiling TOra
Date: Thu, 1 Oct 2015 16:06:01 +1000

> On 1 Oct 2015, at 15:14, Tony Theodore <address@hidden> wrote:
> 
> Install the appropriate client under `<path to mxe>/usr/<target>` and it 
> should be found.

That works for finding the client, this should get you past the configuration 
and well into the build:

export MXE_DIR=/usr/src/mxe
export MXE_TARGET=i686-w64-mingw32.shared
export ORACLE_HOME=$MXE_DIR/usr/$MXE_TARGET/instantclient_12_1

$MXE_TARGET-cmake \
    -DBOOST_ROOT=$MXE_DIR/usr/$MXE_TARGET/include/ \
    -DQT5_BUILD=ON \
    -DENABLE_PGSQL=ON \
    -DENABLE_DB2=OFF \
    -DENABLE_TERADATA=OFF \
    -DWANT_INTERNAL_LOKI=ON \
    -DWANT_INTERNAL_QSCINTILLA=OFF \
    -DORACLE_OCI_VERSION=12C \
    <path to tora source>

The `-DORACLE_OCI_VERSION` skips the need for a runtime check (no need for 
wine).

Cheers,

Tony




reply via email to

[Prev in Thread] Current Thread [Next in Thread]