Author Topic: Windows, CodeBlocks и Msys  (Read 4130 times)

Offline tumanovalex

  • Multiple posting newcomer
  • *
  • Posts: 23
Windows, CodeBlocks и Msys
« on: May 25, 2020, 10:01:58 pm »
Windows 10 Home 64 bit, Code Blocks 20.03 64 bit, installed by copying files from codeblocks-20.03 mingw-nosetup to disk.zip to W:\CodeBlocks64. The following questions arose:
1. Where are the Code Blocks settings stored and how to delete all the settings and make all the default settings?
2. How do I configure CodeBlocks when using Msys2? I installed Msys2 64 bit, configured CodeBlocks (the settings are specified in the attached file Settings.jpg), however, I get the following errors:
Code
gcc.exe -LW:\msys64\mingw64\lib;W:\msys64\mingw64\include\glib-2.0 -o bin\Debug\cbGtkGladeWin_iWorks.exe obj\Debug\main.o   -lgtk-win32-3.0 -lgobject-2.0 -lglib-2.0
W:/CodeBlocks64/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgtk-win32-3.0
W:/CodeBlocks64/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lgobject-2.0
W:/CodeBlocks64/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/8.1.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lglib-2.0
collect2.exe: error: ld returned 1 exit status
Process terminated with status 1 (0 minute(s), 0 second(s))
4 error(s), 0 warning(s) (0 minute(s), 0 second(s))
How do I configure Global variables and CodeBlocks correctly?
« Last Edit: May 25, 2020, 10:05:58 pm by tumanovalex »