microsoft / SealPIR

Example implementation of the SealPIR protocol
MIT License
140 stars 54 forks source link

About ctest #16

Closed Nakamotto closed 2 years ago

Nakamotto commented 2 years ago

After cmake .,i encounter the below error when ctest . image Thanks for your time in advance! :)

sga001 commented 2 years ago

That's happening because you haven't compiled sealpir yet.

Try this:

cmake .
make
ctest .

(I think you skipped the middle step).

If this doesn't work, I wonder if it is a path issue on Windows. I tested it on:

(1) Ubuntu (2) Linux subsystem for windows (3) OS X

And it was fine on all 3. I have not tested on Windows by itself, so it is possible ctest is off somehow. You can always run the tests manually. The binaries are in bin/<test name>

Nakamotto commented 2 years ago

Yes, I run it on windows. As you say, I manually run the binaries successfully. Thanks! :)