Giter Site home page Giter Site logo

buliding problem about operon HOT 3 CLOSED

heal-research avatar heal-research commented on July 17, 2024
buliding problem

from operon.

Comments (3)

foolnotion avatar foolnotion commented on July 17, 2024

Hello,

We are using manifests to manage dependencies, which is a relatively new feature of vcpkg. First of all please make sure you are using a recent CMake (>3.20) and vcpkg. This feature should be already enabled by default but if not, please see e.g. https://stackoverflow.com/questions/66358575/c-vscode-cmake-vcpkg-manifests-are-not-enabled on how to enable it.

from operon.

mdzyy avatar mdzyy commented on July 17, 2024

Thank you very much, i recheck the version: the Cmake is 3.23.1, and the vcpkg is 2022-03-30. And all the dependencies were also rechecked:
image

Then another problem occured when i execute the cmake oredr:

-- Running vcpkg install
Error: while loading aria-csv:
The port directory (E:\program files\vcpkg\ports\aria-csv) does not exist
Error: failed to load port from E:\program files\vcpkg\ports\aria-csv
note: updating vcpkg by rerunning bootstrap-vcpkg may resolve this failure.
-- Running vcpkg install - failed
CMake Error at E:/program files/vcpkg/scripts/buildsystems/vcpkg.cmake:850 (message):
vcpkg install failed. See logs for more information: E:\program
files\vcpkg\operon\build\vcpkg-manifest-install.log
Call Stack (most recent call first):
D:/program files/CMake/share/cmake-3.23/Modules/CMakeDetermineSystem.cmake:124 (include)
CMakeLists.txt:8 (project)

I rerun the bootstrap-vcpkg.bat as requested but it still didn't work. Could you point out my mistake, thank you very much!

from operon.

foolnotion avatar foolnotion commented on July 17, 2024

Hi,

It looks like you need to specify the ports directory, e.g. from the operon folder:

cmake -S . -B build -G "Visual Studio 16 2019" -A x64 -DCMAKE_TOOLCHAIN_FILE=..\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_OVERLAY_PORTS=.\ports

You can also see the output of our windows CI pipeline (Configure CMake step): https://github.com/heal-research/operon/runs/6285374400?check_suite_focus=true

from operon.

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.