Giter VIP home page Giter VIP logo

Comments (6)

vadz avatar vadz commented on June 9, 2024

It's not really serious to open an issue without even showing the error message.

from soci.

vassilux avatar vassilux commented on June 9, 2024

So I can find error jsute warning with cmake

CMake Warning (dev) at C:/Program Files/CMake/share/cmake-3.28/Modules/FindPackageHandleStandardArgs.cmake:438 (message): The package name passed to find_package_handle_standard_args(ORACLE) does not match the name of the calling package (Oracle). This can lead to problems in calling code that expectsfind_packageresult variables (e.g.,_FOUND) to follow a certain pattern. Call Stack (most recent call first): cmake/modules/FindOracle.cmake:84 (find_package_handle_standard_args) src/backends/CMakeLists.txt:17 (find_package) This warning is for project developers. Use -Wno-dev to suppress it.

I tried change CMaleLists.txt with
file(GLOB SOCI_CMAKE_FILES "${CMAKE_CURRENT_SOURCE_DIR}/*.cmake") set(Oracle_INCLUDE_DIR "G:/Oracle/product/19.0.0/client_1/oci/include") set(Oracle_LIBRARIES "G:/Oracle/product/19.0.0/client_1/oci/lib")

Also tried with vcpkg
core and odbc was generated well
I home I'm clear now

from soci.

vadz avatar vadz commented on June 9, 2024

No, sorry not at all. If you don't get any errors, why can't you build it?

from soci.

vassilux avatar vassilux commented on June 9, 2024

I try to generate oracle backend and I don't understand why cmake generate juste core and odbc backend
maybe my cmake option are wrong ?
cmake -G "Visual Studio 14" -DWITH_BOOST=OFF -DWITH_ORACLE=ON -DORACLE_INCLUDE_DIR=G:\Oracle\product\19.0.0\client_1\oci\include -DORACLE_LIBRARIES=G:\Oracle\product\19.0.0\client_1\oci\lib\msvc C:\soci-release-4.0

from soci.

vassilux avatar vassilux commented on June 9, 2024

I added to os PATH oci include and lib directories and the VC2015 projet was create and I can build oracle backend
thanks

from soci.

vassilux avatar vassilux commented on June 9, 2024

I added to os PATH oci include and lib directories and the VC2015 projet was create and I can build oracle backend
thanks

from soci.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.