Closed Marky-Shi closed 2 years ago
This may have something to do with the SGX environment settings on my machine, and when I compile in source code, the terminal will return such an error. Then I tried to introduce the missing file as an absolute path and the compilation passed.
A recommended way would be to add a line to your shell rc file, like this echo "source /opt/intel/sgxsdk/environment" >> ~/.zshrc
(I'm using zsh). This would automatically set all the needed environment variables to proper values.
When I compiled sgx_unwind I encountered some errors, here is the configuration of my machine, I hope you can help solve it, thank you very much. OS:ubuntu 20.04 Rust : rustc 1.61.0-nightly (458262b13 2022-03-09) Intel sgx sdk version: 2.17 sgx driver version: 2.11.054c9c4c