Giter Site home page Giter Site logo

Comments (5)

nilsfriess avatar nilsfriess commented on June 1, 2024

Can you tell us more about your environment? How are you calling CMake, which compiler are you using etc.?

from adaptivecpp.

garadeaniket avatar garadeaniket commented on June 1, 2024

cmake -DCMAKE_INSTALL_PREFIX=/path/to/build -DCMAKE_C_COMPILER=/path/to/bin/gcc -DCMAKE_CXX_COMPILER=/path/to/bin/g++ -DCLANG_EXECUTABLE_PATH=path/to/bin/clang++ -DCLANG_INCLUDE_PATH=/path/to/include/clang/ -DCMAKE_CXX_COMPILER=/path/to/bin/clang++ -DBOOST_ROOT=/path/to/build/ -DWITH_CUDA_BACKEND=ON
-DCUDA_TOOLKIT_ROOT_DIR=/path/to/cuda -DACPP_VERSION_SUFFIX="-"

gcc version 12.2.0
clang version 15.0.7

from adaptivecpp.

nilsfriess avatar nilsfriess commented on June 1, 2024

You are passing two different compilers for CMAKE_CXX_COMPILER, not sure if this causes the problem, but I guess that's not what you want.

Can you try

cmake -DCMAKE_INSTALL_PREFIX=/path/to/install -DCMAKE_CXX_COMPILER=clang++ -DBOOST_ROOT=/path/to/boost -DWITH_CUDA_BACKEND=ON -DCUDA_TOOLKIT_ROOT_DIR=/path/to/cuda -DACPP_VERSION_SUFFIX="-"

Make sure to clean you build directory before that.

Note that CMAKE_INSTALL_PREFIX should be the path where you want the project to be installed. And BOOST_ROOT should point to the path where boost is installed (if you're on Ubuntu or similar and installed boost via apt-get then you probably don't need to specify this manually).

from adaptivecpp.

garadeaniket avatar garadeaniket commented on June 1, 2024

I tried with the above command u mentioned but getting the same error and also nothing has been generated in build folder .The error seems more of missing package (Findfilesystem).Any idea about this?

from adaptivecpp.

nilsfriess avatar nilsfriess commented on June 1, 2024

Could you please post the full CMake command you're using again and the complete output you're getting. And could you give us some details about your build environment, in particular your OS?

We are testing with clang15 in CI and I also just tried to build AdaptiveCpp with gcc 12, which also worked.

from adaptivecpp.

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.