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.
Hi, I tried to follow the script in README to compile the prover in server mode.
However I encountered following error when running
npx task buildProverServer:My environment is Ubuntu 20.04. Is it because
fq.oandfr.oweren't built successfully? Any suggestion would help, thanks.