Skip to content

PSOPT 5.0 MacOS Installation - target_compile_features no known features for CXX compiler #34

@Urbanair1

Description

@Urbanair1

Greetings,

I am unable to install PSOPT in MacOS because of the following error. Please recommend!

(base) ARSLA18090409:build urbanair1$ cmake -DBUILD_EXAMPLES=ON -DCXX=g++-10 -DCC=gcc-10 ..
-- AdolC has not been installed on this system and will be automatically added to this project.
-- Configuring done
-- Generating done
-- Build files have been written to: /Users/urbanair1/PSOPT/build/adolc-download
[100%] Built target adolc
CMake Error at CMakeLists.txt:30 (target_compile_features):
target_compile_features no known features for CXX compiler

"AppleClang"

version 10.0.1.10010046.

-- Configuring incomplete, errors occurred!
See also "/Users/urbanair1/PSOPT/build/CMakeFiles/CMakeOutput.log".

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