I am trying to run the code from this Website: https://quuxplusone.github.io/blog/2020/01/26/openssl-part-3/ but i get the following error message
C:/Strawberry/c/bin/../lib/gcc/x86_64-w64-mingw32/8.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lssl -lcrypto
collect2.exe: error: ld returned 1 exit status
I dont know what is the problem, since when i use
gcc -o client clientserv.cpp -lssl -lcrypto
to Compile other code it works fine but using the command from the website doesnt work.
Edit: The command used on the website is
g++ -std=c++14 clientserv.cpp $(pkg-config --cflags --libs openssl) -o https-server