Skip to content

Building examples fails: lp_solve won't compile because of C++17 flags #440

@Mohit-Lakra

Description

@Mohit-Lakra

I was trying to build the hpolytopeVolume example in volesti/examples/, but the build keeps crashing during the lp_solve compilation phase.

The Problem: It looks like the CMake configuration is accidentally pushing C++ flags (specifically -std=c++17) onto the C files in lp_solve. Since I'm using clang, the compiler hits that flag and immediately kills the build because C++17 isn't a valid standard for C files.

I’m seeing a bunch of these errors:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions