./configure --with-openssldir=/opt/openssl/1.1.0i --enable-sgx-simulation
make
./run-client
The following fix will allow the sgx-ra-sample to run in Simulation mode. This is not a permanent fix; revert the file to the original when not running in Simulation mode.
$ source /opt/intel/sgxsdk/environment
$ make clean
$ make
$./run-client
Error 0x200e means SGX_ERROR_MODE_INCOMPATIBLE, which is caused when the target enclave 32/64-bit mode or SIM/HW mode is incompatible with the mode of the current Untrusted Runtime System (uRTS).
The sgx-ra-sample will fail attestation if run in Simulation mode.
Remote attestation fails if the Intel® Software Guard Extensions (Intel® SGX) enclave that is being attested is run in Simulation mode because the enclave does not have the Intel SGX hardware protections.