Open bsdinis opened 4 years ago
SampleCodes RemoteAttestation example requires a sample_libcrypto.h file, which is not in the repository.
SampleCode
RemoteAttestation
sample_libcrypto.h
Thus, when trying to build with make clean all, this is the output:
make clean all
% mk clean all make[1]: Entering directory '/path/to/linux-sgx/SampleCode/RemoteAttestation' service_provider/ecp.cpp:38:10: fatal error: 'sample_libcrypto.h' file not found #include "sample_libcrypto.h" ^~~~~~~~~~~~~~~~~~~~ 1 error generated. make[1]: *** [Makefile:258: service_provider/ecp.o] Error 1 make[1]: Leaving directory '/path/to/linux-sgx/SampleCode/RemoteAttestation' make: *** [Makefile:198: all] Error 2
Running find on SampleCode confirms that this file is missing.
find
$ find . | grep sample_ ./RemoteAttestation/isv_app/sample_messages.h
You need to build and install SGX SDK installer, then build SampleCode in SGX SDK folder. Not all sample codes are available in SGX source folder.
SampleCode
sRemoteAttestation
example requires asample_libcrypto.h
file, which is not in the repository.Thus, when trying to build with
make clean all
, this is the output:Running
find
onSampleCode
confirms that this file is missing.