#help me with including openssl libraries (macos)

14 messages · Page 1 of 1 (latest)

wary sand
#

i have already installed openssl. when i try to include a library like this:
#include <openssl/sha.h>
the ide tells me to update my include paths.
i don't know how to do that pls help

topaz forumBOT
#

When your question is answered use !solved to mark the question as resolved.

Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question use !howto ask.

umbral sun
#

what do you need openssl for

lone otter
#

What IDE?

wary sand
#

i have vscode

wary sand
umbral sun
lone otter
#

I do not use VS Code, so I am unsure. But, I think you can create a c_cpp_properties.json file in the .vscode folder of your project and add one or more includePath elements that point to the install location of the openSSL include direcctory. The exact format of that .json file I am unable to provide, but I suspect can be found with some searches in the VS Code help or google.

wary sand
lone otter
#

It will be wherever you installed it when you ran the setup script. If you want to brute force search the entire machine you can use windows explorer and search "This PC" for sha.h. Using the command prompt window you could change directory to root (cd \) and the dir /B/S sha.h and then go get a cup of coffee and wait for the results.

velvet cargo
#

Usually libraries like SDL2 are found there

velvet cargo