Re: helloworld build error

Ming-Wei Shih

This is likely due to the environment variable is not set. Can you follow the instruction here:


From: oesdk@... <oesdk@...> On Behalf Of Zhao, Xiaonan via
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,

Join { to automatically receive all group messages.