Hi.
I created a “CUDA 13.1 Runtime” project with Viual Studio 2022.
I had to add openssl functions to the project.
I installed openssl successfully on my Windows 11.
Next, I modified my VS project to tell compiler and linker about the existence of openssl.
This worked for a standard “Consople App” project, but not for a “CUDA 13.1 Runtime”.
- The
#include <openssl/md5.h>showed E1696. - Build failed with
identifier “MD5_CTX” is undefined.
I followed published documentations regarding VS 2022 configuration for openssl, however the nvcc section is for obvious reasons not identical to the standard cc section.
VS 2022 project compiler configuration:
CUDA C/C++
Common
Additional Include Directories
C:\Program Files\OpenSSL-Win64\include;%(Include)
What am I missing in the VS 2022 project nvcc compiler configuration?
Thanks