CONSSCONF_TEMPCONFTEST_9.C (3): Fatal error C1083: Cannot open include file: "Openssl/ssl.h": No such file or directory
Compile the MongoDB C + + driver legacy version 1.1.2. When inserting data into the game's MongoDB database endlessswarms, the start is normal. Since the process with user authentication is set up later, user authentication must be performed when Dbclientconnection is invoked. This time the connection error, prompted to recompile the MongoDB legacy driver, and then attach the parameters--ssl support.
SCons--64--ssl --cpppath= "D:\tool\boost_1_64_0"--libpath= "D:\tool\boost_1_64_0\bin \vc14\lib64"
A CMD hint error was found. Unable to find the header and Lib file where OpenSSL resides. Then go to download OpenSSL, compile and build the corresponding library. Add to environment variables, all kinds of tossing or not.
Later on the internet to find a way: https://segmentfault.com/q/1010000006224679/a-1020000006547408 This is a new way to circumvent the path to find ideas.
Or I start to modify the contents of the SCons construct compile process file.
Specific strategy:
I took the OpenSSL. The H file directory is placed under the Cpppath specified boost directory, and the DLL is copied to boost's lib to compile it properly.