Skip to content

buildProverServer can't find fq.o and fr.o #13

Description

@a00012025

Hi, I tried to follow the script in README to compile the prover in server mode.

npm install
git submodule init
git submodule update
npx task buildPistache
npx task buildProverServer

However I encountered following error when running npx task buildProverServer:

g++ -I. -I../src -I../depends/pistache/include -I../depends/json/single_include -I../depends/ffiasm/c ../src/main_proofserver.cpp ../src/proverapi.cpp ../src/fullprover.cpp ../src/binfile_utils.cpp ../src/wtns_utils.cpp ../src/zkey_utils.cpp ../src/logger.cpp ../depends/ffiasm/c/misc.cpp ../depends/ffiasm/c/naf.cpp ../depends/ffiasm/c/splitparstr.cpp ../depends/ffiasm/c/alt_bn128.cpp fq.cpp fq.o fr.cpp fr.o -L../depends/pistache/build/src -lpistache -o proverServer -fmax-errors=5 -pthread -std=c++17 -fopenmp -lgmp -lsodium -g -DSANITY_CHECK
g++: error: fq.o: No such file or directory
g++: error: fr.o: No such file or directory
Command failed: g++ -I. -I../src -I../depends/pistache/include -I../depends/json/single_include -I../depends/ffiasm/c ../src/main_proofserver.cpp ../src/proverapi.cpp ../src/fullprover.cpp ../src/binfile_utils.cpp ../src/wtns_utils.cpp ../src/zkey_utils.cpp ../src/logger.cpp ../depends/ffiasm/c/misc.cpp ../depends/ffiasm/c/naf.cpp ../depends/ffiasm/c/splitparstr.cpp ../depends/ffiasm/c/alt_bn128.cpp fq.cpp fq.o fr.cpp fr.o -L../depends/pistache/build/src -lpistache -o proverServer -fmax-errors=5 -pthread -std=c++17 -fopenmp -lgmp -lsodium -g -DSANITY_CHECK

My environment is Ubuntu 20.04. Is it because fq.o and fr.o weren't built successfully? Any suggestion would help, thanks.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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