Skip to content

Build problem on Linux (ubuntu 22.04): No known features for CXX compiler "GNU" version 9.3.0. #308

@compressionist

Description

@compressionist

Hey all, I'm having an issue on a Linux machine (ubuntu 22.04):

When running "cmake . -B build -DCMAKE_CUDA_COMPILER=/usr/local/cuda-11.6/bin/nvcc" I get

-- Using X11 for window creation
-- OptiX_INSTALL_DIR value: /usr/local/NVIDIA-OptiX-SDK-7.4.0-linux64-x86_64
-- pybind11 v2.7.1 
CMake Warning (dev) at /snap/cmake/1005/share/cmake-3.22/Modules/CMakeDependentOption.cmake:84 (message):
  Policy CMP0127 is not set: cmake_dependent_option() supports full Condition
  Syntax.  Run "cmake --help-policy CMP0127" for policy details.  Use the
  cmake_policy command to set the policy and suppress this warning.
Call Stack (most recent call first):
  dependencies/pybind11/CMakeLists.txt:98 (cmake_dependent_option)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Targeting GPU architectures: 75
-- Configuring done
CMake Error in CMakeLists.txt:
  No known features for CXX compiler

  "GNU"

  version 9.3.0.

How to fix it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions