You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-10Lines changed: 10 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -232,7 +232,7 @@ The libsnark library relies on the following:
232
232
So far we have tested these only on Linux, though we have been able to make the
233
233
libsnark work, with some features disabled (such as memory profiling or GTest tests),
234
234
on Windows via Cygwin and on Mac OS X. See also the notes on [portability](#portability)
235
-
below. (If you port libsnark to additional platforms, please let us know!)
235
+
below. (If you port libsnark to additional platforms, please let us know!)
236
236
237
237
Concretely, here are the requisite packages in some Linux distributions:
238
238
@@ -263,7 +263,7 @@ Fetch dependencies from their GitHub repos:
263
263
264
264
Create the Makefile:
265
265
266
-
$ mkdir build && cd build && cmake ..
266
+
$ mkdir build && cd build && cmake ..
267
267
268
268
Then, to compile the library, tests, and profiling harness, run this within the `build directory:
269
269
@@ -287,7 +287,7 @@ This will install `libsnark.a` into `/install/path/lib`; so your application sho
287
287
288
288
In addition, unless you use `WITH_SUPERCOP=OFF`, `libsnark_adsnark.a` will be installed and should be linked in using `-lsnark_adsnark`.
289
289
290
-
When you use compile you application against `libsnark`, you must have the same conditional defines (`#define FOO` or `g++ -DFOO`) as when you compiled `libsnark`, due to the use of templates. One way to figure out the correct conditional defines is to look at `build/src/CMakeFiles/snark.dir/flags.make` after running `cmake`. ([Issue #21](https://github.com/scipr-lab/libsnark/issues/21))
290
+
When you use compile you application against `libsnark`, you must have the same conditional defines (`#define FOO` or `g++ -DFOO`) as when you compiled `libsnark`, due to the use of templates. One way to figure out the correct conditional defines is to look at `build/libsnark/CMakeFiles/snark.dir/flags.make` after running `cmake`. ([Issue #21](https://github.com/scipr-lab/libsnark/issues/21))
291
291
292
292
### Building on Windows using Cygwin
293
293
@@ -315,16 +315,16 @@ Tutorials
315
315
316
316
libsnark includes a tutorial, and some usage examples, for the high-level API.
317
317
318
-
*`src/gadgetlib1/examples1` contains a simple example for constructing a
318
+
*`libsnark/gadgetlib1/examples1` contains a simple example for constructing a
319
319
constraint system using gadgetlib1.
320
320
321
-
*`src/gadgetlib2/examples` contains a tutorial for using gadgetlib2 to express
321
+
*`libsnark/gadgetlib2/examples` contains a tutorial for using gadgetlib2 to express
322
322
NP statements as constraint systems. It introduces basic terminology, design
323
323
overview, and recommended programming style. It also shows how to invoke
324
324
ppzkSNARKs on such constraint systems. The main file, `tutorial.cpp`, builds
0 commit comments