Re: helloworld build error
I followed that wiki step by step, OE is installed in c:/openenclave, and cmake is in c:/openenclave/lib/openenclave/cmake.
Are there any causes of this error?
Sent: Saturday, April 11, 2020 12:55 AM
To: oesdk@...; Zhao, Xiaonan <xiaonan.zhao@...>
Subject: RE: helloworld build error
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
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