#help me with including openssl libraries (macos)
14 messages · Page 1 of 1 (latest)
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.
so you dont know how include paths work, and you want to use a 3-rd party library
what do you need openssl for
What IDE?
i have vscode
calculate sha-1 hashing
if that's the only thing, consider running the shell command sha1sum in linux, or Get-FileHash in windows powershell
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.
how do i locate the location of the openSSL include directory. I'm struggling to find that
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.
Have you looked into /usr/include
Usually libraries like SDL2 are found there
do you get an error when compiling or is it just vscode intellisense giving errors