Before building the app, make sure the build.rs file reflects the correct location of your SGX installation. The build.rs file assumes you have installed the Intel® SGX SDK at /opt/intel/sgxsdk. Edit this path in the build.rs file if it is not correct.
For Windows, specify the directory where SGX libraries are located, e.g.
let sdk_dir = env::var("SGX_SDK").unwrap_or_else(|_| "C:\\Program Files (x86)\\Intel\\IntelSGXSDK\\bin\\x64\\Release".to_string());
$ cd sgx-decode-pib-rs-master $ cargo build
4. Execute the tool:
$ cd target/debug $ sgx-decode-pib <PIB>
Where <PIB> is the Platform Info Blob returned by IAS. It looks something like this: 00023232392323213012312213213000234941234…