Skip to content
This repository has been archived by the owner on Jan 7, 2023. It is now read-only.

Error building solution #69

Open
afif-ishamsyah opened this issue May 17, 2021 · 7 comments
Open

Error building solution #69

afif-ishamsyah opened this issue May 17, 2021 · 7 comments

Comments

@afif-ishamsyah
Copy link

Hi, I tried this sample using on Windows 10. I successfully installed SGX and OpenSSL, but I got 2 errors while building the solution :

  1. MSB3073 The command ""********\sgx-ra-sample\vs\x64\Debug\mrsigner.exe" x64\Debug\enclave_sigstruct_raw > x64\Debug\enclave_mrsigner.txt

  2. LNK1104 cannot open file 'libcrypto64MDd.lib'

I am using VS 2019 and Windows SDK 10.0. What should I do?

Thank you

@jmechalas
Copy link
Contributor

This error suggests that the 64-bit OpenSSL libraries are not being found.

@afif-ishamsyah
Copy link
Author

Is the newest version of OpenSSL (1.1.1) not supported?

@XNinety9
Copy link

I use OpenSSL 1.1.1k on Ubuntu 20.04, no issue so far.

@jmechalas
Copy link
Contributor

libcrypto64MDd.lib is the debug version of the library. Did you download a complete OpenSSL package or might you have grabbed a release without debug libraries?

@afif-ishamsyah
Copy link
Author

Hi, I managed to fix the libcrypto64MDd.lib error. The problem is this step :

"Navigate to "Linker -> Additional Library Directories" and edit "Additional Library Directories" to include your OpenSSL library path. This is pre-set to C:\OpenSSL-Win64\lib\VC\ which is the default install location."

Instead of OpenSSL library path, I just set it to the default lib\VC path.

I am still trying to find the solution for the first error

@KW213
Copy link

KW213 commented Aug 6, 2021

Hi, I also got the first error while building, have you find the solution yet?

@afif-ishamsyah
Copy link
Author

No, I still dont find a solution

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants