We use SGX SDK for our software. So far we didn't have any issues with Intel SGX SDK till v188.8.131.52281. When we build our software using SGX SDK (184.108.40.206339) following linker errors from the one of the SGX library (sgx_trts.lib)
1>sgx_trts.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __guard_iat_table
1>sgx_trts.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __guard_iat_count
1>sgx_trts.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __guard_longjmp_table
1>sgx_trts.lib(loadcfg.obj) : error LNK2001: unresolved external symbol __guard_longjmp_count
Could you please someone tell me which library we need to include to resolve the above linker issues.
Our software targeted for Win10 - 64bit
Thanks in advance.
We are using Visual Studio 2013 for building our software.
Hope setting C/C++ --> Code Generation --> Control Flow Guard to "/guard:cf" will solve this issue. But we need make changes in the project settings to compile on VC2015/VC2017 as this "/guard:cf" switch/option is not available in the VC2013.
Please let us know is there anyway we can build our software using VC2013. If not then we have to move to VC2015/VC2017.
Thanks & Regards,
Unfortunately, support for Visual Studio 2013 was removed in SGX SDK v220.127.116.11339, as noted in the release notes. Support for VS2017 was added at the same time. We would recommend upgrading to VS2017.