Unsolved TLS initialization failed
-
@SGaist My compiler is Desktop(x86-windows-msvc2019_pe_32bit_Debug).
-
In the Run part of the Project panel, did you also modify the PATH environment variable so the OpenSSL dlls can be found ?
Do not do that system wide.
-
@SGaist To be honest, I don't really understand what to do.
Here's a screenshot of the Project panel. Could you please navigate me what to do?
-
Unfold the Run Environment part, you'll have there the variables you can modify.
-
@SGaist Here it is. Now what I need to modify?
-
I meant click on the "Details" arrow under Run Environment.
-
@SGaist Oh, my excuses.
Here it is
-
@SGaist So, now what I need to modify?
-
@Sahak After you selected the
Path
variable, you can usePrepend Path
to add the path to the libraries (DLLs) to yourPath
variable. Then at runtime, this directory searched when the DLLs are loaded.Regards
-
@aha_1980
I "Append the path" in PATH, as you see on the screenshot.Then the compiler doesn't work and forcefully finishes the program
-
You application seems to crash, what do you get if running it through the debugger ?