QE: argv not declared
jkrauska opened this issue · 0 comments
jkrauska commented
/home/ladmin/src/snark-challenge/reference-02-quadratic-extension/libff/main.cpp:38:25: error: ‘argv’ was not declared in this scope
auto inputs = fopen(argv[2], "r");
^~~~
compilation terminated due to -Wfatal-errors.
libff/CMakeFiles/main.dir/build.make:62: recipe for target 'libff/CMakeFiles/main.dir/main.cpp.o' failed
make[3]: *** [libff/CMakeFiles/main.dir/main.cpp.o] Error 1
CMakeFiles/Makefile2:568: recipe for target 'libff/CMakeFiles/main.dir/all' failed
make[2]: *** [libff/CMakeFiles/main.dir/all] Error 2
CMakeFiles/Makefile2:575: recipe for target 'libff/CMakeFiles/main.dir/rule' failed
make[1]: *** [libff/CMakeFiles/main.dir/rule] Error 2
Makefile:344: recipe for target 'main' failed
make: *** [main] Error 2
~/src/snark-challenge/reference-02-quadratic-extension
mv: cannot stat 'build/libff/main': No such file or directory
mv: cannot stat 'build/libff/generate_inputs': No such file or directory