Skip to content

Unable to run the make file on an M1 Mac #2

@utkarshjogani

Description

@utkarshjogani

Hi there,
I was trying to run the AdamAttack using the make file as directed in the README. I get this error as shown in the image. fatal error: 'gmp.h' file not found
Screen Shot 2022-11-14 at 9 09 56 PM

To fix it,
I used the locate command to find the path of gmp and used the path in the include header so that it could point to the gmp as required.
#include </opt/homebrew/include/gmp.h>

It worked but now I am getting another set of errors which I am unable debug.

Screen Shot 2022-11-14 at 9 42 32 PM

Could it be because the program is supposed to be run on an x86 machine and I am trying to run it on an Apple silicon M1 Mac?
I see x86-specific SIMD intrinsics like "ia32" in their names.

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