sgx

Intel SGX training lab: cannot compile examples (sgx_tstdcxx.lib missing)


I've installed the latest version of Intel SGX SDK and PSW on Windows 10 (build 18362.356). I downloaded the Intel SGX Lab Bundle and opened the first solution (Lab 1.1 Feature Detection). When I compile any project in that solution, the linker complains, stating that:

cannot open input file 'sgx_tstdcxx.lib'

After reviewing the content of the folder /bin of SGX SDK, the file is indeed missing (it seems there is only a file with a similar name: sgx_tstdc.lib). Does anyone know how to properly compile the solution?


Solution

  • libsgx_tstdc++ has been deprecated. Replace it by libsgx_tcxx.