Skip to content

Add libgmp-dev as a dependency in README #5

Open
@ecomaikgolf

Description

@ecomaikgolf

As NTL is getting built with GMP support (thirdparty/build.sh):

./configure SHARED=on NTL_GMP_LIP=on NTL_THREADS=on NTL_THREAD_BOOST=on NTL_EXCEPTIONS=on  \

It's missing when compiling if not installed

g++ -I../include -I.  -g -O2 -pthread -march=native   -o gen_gmp_aux gen_gmp_aux.cpp  -lgmp  -lm
gen_gmp_aux.cpp:29:10: fatal error: gmp.h: No such file or directory
   29 | #include <gmp.h>
      |          ^~~~~~~

Compilation was done with a fresh default Ubuntu 22.04 container

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