mingw 5.2 strange message with std::string [duplicate] - c++

This question already has answers here:
the procedure entry point __gxx_personality_v0 could not be located
(5 answers)
Closed 3 years ago.
a program with std::string anywhere will compile fine, but when run it fails with the message
The procedure entry point
_ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1Ev could not be located in the dynamic link library libstdc++-6.dll.
I cannot find more information on it though, how can I remedy this problem?

turns out I had the wrong compiler, I needed 4.8 from the other MinGW

Related

Problem suggesting and completing code in dev c ++ [duplicate]

This question already has answers here:
How do I turn on code completion in Dev-C++?
(3 answers)
Closed 1 year ago.
I recently installed dev c ++ 6.3, but it does not suggest and complete the code. How can I enable this feature?
go to Tools->Editor Options->Completion->The tab code completion->Enable code completion
However, you shouldn't be using it.use the latest code:blocks or vscode

stdlibc++ headers not found error on xcode 10 [duplicate]

This question already has answers here:
ld: library not found for -lstdc++.6
(7 answers)
Closed 4 years ago.
We have some c libraries written for our iOS project and after upgrading to Xcode 10, when compiling we get the error:
error: include path for stdlibc++ headers not found; pass ‘-std=libc++’
on the command line to use the libc++ standard library instead
[-Werror,-Wstdlibcxx-not-found]
1 error generated.
Where do we need to make changes in out makefiles? Because I don't find the '-std='argument in them.
Find the answer in Apple's developers forum.
https://forums.developer.apple.com/thread/106114
The sdk tools needs to be copied from older Xcode.

Forward slash or backslash when declaring includes on C++ [duplicate]

This question already has answers here:
Is the backslash acceptable in C and C++ #include directives?
(6 answers)
Closed 5 years ago.
I had always used <bits/stdc++> library for my codes, however, I noticed that <bits\stdc++.h> works as well on CodeBlocks 16.01 on GNU GCC compiler, Windows 7/10 environment.
My question is Which of those is right, and if not both, why is one wrong?
I have successfully compiled code with that include in more than one computer.
Which of them is right, if the both are not, why is one of them right and the other one not?
Only the forward slash / is right. Compilers under Windows systems use an extension that can handle both.

How to get the file version in Qt? [duplicate]

This question already has answers here:
How do I programmatically get the version of a DLL or EXE file?
(6 answers)
Closed 6 years ago.
How to get the file version from File properties\Details\File version in Qt?
I didn't find it in QFileInfo.
This is not implemented in Qt. You can find an example of how to do it integrated with Qt here.

In win32 c++, is there a way to tell if a DLL is 64-bit? [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
How can I test a windows dll to determine if it is 32bit or 64bit?
I'm in win32 c++ code. I have the path to a DLL on disk and I want to know whether it is 64-bit or 32-bit. Is there a way to do this? I can't seem to find any reference on functions that let you peek inside DLLs.
Thanks,
Phil
If this dll is in one of the known folders: MSDN, you could decide it easily.
+1 for your first comment.