Re: helloworld build error


Ming-Wei Shih
 

This is likely due to the environment variable is not set. Can you follow the instruction here: https://github.com/openenclave/openenclave/blob/master/docs/GettingStartedDocs/Windows_using_oe_sdk.md#configure-environment-variables-for-open-enclave-sdk-for-windows?

Thanks,
Ming-Wei

From: oesdk@... <oesdk@...> On Behalf Of Zhao, Xiaonan via lists.confidentialcomputing.io
Sent: Friday, April 10, 2020 12:24 AM
To: oesdk@...
Subject: [EXTERNAL] [oesdk] helloworld build error

Hi, dear all,

Test environment:
SGX PSW: Intel(R)_SGX_Windows_x64_PSW_2.7.100.2.exe,
SGX SDK: open-enclave.0.8.2.nupkg, installed path: C:\openenclave
cmake version 3.16.19112601-MSVC_2

When build helloworld project, met following errors, how to solve it?

******************************************************************************************

CMake Error at CMakeLists.txt:15 (find_package):
Could not find a configuration file for package "OpenEnclave" that is
compatible with requested version "".

The following configuration files were considered but not accepted:

C:/openenclave/lib/openenclave/cmake/openenclave-config.cmake, version: 0.8.2 (64bit)



-- Configuring incomplete, errors occurred!
See also "C:/openenclave/share/openenclave/samples/helloworld/build/CMakeFiles/CMakeOutput.log".

******************************************************************************************



Thank you,
Xiaonan

Join oesdk@lists.confidentialcomputing.io to automatically receive all group messages.