Code: #include <iostream> #include <string> using namespace std; int main() { string zm_tekstowa; zm_tekstowa = "cos tam"; cout << zm_tekstowa; } Compilation, simple: g++ main.cpp :) KK Dnia 13 listopada 2020 13:12 Eli Zaretskii <eliz****@gnu*****> napisał(a): Date: Fri, 13 Nov 2020 11:58:28 +0100 From: kk.kr****@wp***** <kk.kr****@wp*****> When I use any string variable my program compiling ok, but when I run my application I get error: The procedure entry point _znkst7__cxx1112basic_stringic could not be located in the library. Can you show a simple test program which causes this? Also, how do you invoke the compiler to compile and link the program? ______________________________ MinGW-Users mailing list MinGW****@lists***** This list observes the Etiquette found at www.mingw.org www.mingw.org We ask that you be polite and do the same. Disregard for the list etiquette may cause your account to be moderated. ______________________________ You may change your MinGW Account Options or unsubscribe at: lists.osdn.me lists.osdn.me Also: mailto:mingw-users-request at lis -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.osdn.me/mailman/archives/mingw-users/attachments/20201113/19290093/attachment.html>