0
Currently, whenever I try to run a code (c++) I get this error message: I searched several sites and thought that the error might be in "Microsoft Visual C++ Redistributable", but I tried to reinstall it and it did not help. Since I use the Mingw compiler, I also tried to reinstall it, but it didn’t do any good either. A while ago I could execute codes normally, I do not know from what point this problem appeared. I use Windows 10 and am using the Geany IDE. I don’t think the IDE has anything to do with the problem, since programs generated via "Makefile" are also giving this same error.
This is the error message: Could not find the procedure entry point _Znkst7__cxx1112basic_stringicst11char_traitsicesalcee7compareepkc in the dynamic link library (here appears the directory of the file I am trying to run).
– André Medeiros
Another thing, I’ve already added the Mingw directory to the Path.
– André Medeiros
you can edit the question by adding the necessary information.
– Danizavtz
Try compiling the program with the flag
-static-libstdc++
or put the Mingw/bin in the PATH, then the STL’s Runtime dll will link to the program while running.– aviana