User forums > General (but related to Code::Blocks)
CB C++ Issue with GNU C++ 17 (ISO)
nenin:
--- Quote from: jmClifford on March 13, 2024, 04:40:13 am --- The compiler error for C++ 17 (ISO) is gone. But I now have a run time error involving wx_Widgets. This is attached (I hope) and is a Entry Point Not Found in a wx*.dll.
I am asking if my approach on simpling replacing the old compiler location with the new is OK, and to remove the run time error I possible need to re-compile the wx_Widgets libraries as a I have done previously. ?? This compile took some time.!
Regards JC......
--- End quote ---
At my experience all linked C++ dlls should be build with the same compiler you are using for your application. So, you have to build you version of the wxWidgets or to use the same compiler as was used for these dlls.
Also there are strong reasons to avoid install mingw in path with spaces.
Grit Clef:
--- Quote from: jmClifford on March 13, 2024, 04:40:13 am ---......
I am asking if my approach on simpling replacing the old compiler location with the new is OK, and to remove the run time error I possible need to re-compile the wx_Widgets libraries as a I have done previously. ?? This compile took some time.!
Regards JC......
--- End quote ---
As I experienced, you can try adding -jx to make command, where x represents the thread number of gcc called simultaneously, to take full advantages of CPU and speed up compilation. I can ensure that it'll take no more than 20 minutes to finish compiling wxWidgets.
jmClifford:
Hi. Thanks for the help.
I have MinGW 13.2 working (after 2 X 1 hour builds; release and debug).
The "To_Do" program operates even without nominating GNU C++ 17.
I can access the items in the <filesystem> now, which I was failing on before. This is mainly file/folder exits().
I will consider the -jx option (wrt threads) next time. Or maybe sooner, since I am interested in this for myself (my programming).
Regards JC......
Navigation
[0] Message Index
[*] Previous page
Go to full version