Skip to content

Issue with compiling ate-pairing dependency #104

Open
@AHaliq

Description

@AHaliq

My machine:

ProductName:	Mac OS X
ProductVersion:	10.14.6
BuildVersion:	18G9027

I'm compiling libff with emscripten targetting webassembly and I'm getting the following error upon running make

zm2.cpp:3644:22: fatal error: use of undeclared identifier 'Xbyak'
                static std::vector<Xbyak::uint8> buf;

Inspecting zm2.cpp, we can see this only happens if MIE_USE_X64ASM is set to false

you can view my full project here to reproduce the issue: https://github.com/AHaliq/WebAssemblyReact
emscripten call starts at scripts/cryptoutils.sh line 49
cryptoutils adds libff at deps/cryptoutils/src/CMakeLists.txt line 14

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