Skip to content

Compilation/installation issue #324

@prasuchit

Description

@prasuchit

Hi,

I'm trying to install PufferLib on a cloud desktop and when I run the pip install pufferlib --no-build-isolation command, I see the following errors:

In file included from pufferlib/ocean/checkers/binding.c:1:0:
pufferlib/ocean/checkers/checkers.h: In function ‘c_render’:
pufferlib/ocean/checkers/checkers.h:752:7: error: case label does not reduce to an integer constant
case AGENT_PAWN:
^~~~
pufferlib/ocean/checkers/checkers.h:763:7: error: case label does not reduce to an integer constant
case AGENT_KING:
^~~~
pufferlib/ocean/checkers/checkers.h:781:7: error: case label does not reduce to an integer constant
case OPPONENT_PAWN:
^~~~
compilation terminated due to -fmax-errors=3.
error: command '/usr/bin/cc' failed with exit code 1

My gcc version is (GCC) 13.2.0, my OS is Amazon Linux 2 and I have all the relevant dependencies correctly installed. Kindly help.

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