User forums > General (but related to Code::Blocks)

GTK in Code:Blocks (Windows 10)

<< < (2/4) > >>

Miguel Gimenez:
C::B 20.04 bundles a new compiler (minGW-64 vs TDM), and it seems incompatible with the one used to build the libraries. Probably the bundled compiler generates 64-bit object files by default, or the ABI is different. Check which compiler was used to build you prebuilt libraries or build your own.

eric1708:
I can't know what compiler was used to build the GTK library that I have. I also can't built my own. It remains that, about two years ago, I was able to compile everything. For sure, at the time, the Code:Blocks version was different.

On the Code:Blocks "download" site, I just see that there is also a 32 bits version available (and I assume it comes with a 32 bits version of gcc). Do you think this could save me?

Again, thanks for your help.

Eric.

Miguel Gimenez:
You can install any compiler and set C::B to use it, you just need some care setting the PATH variable if compiling out of C::B.

Where did you download the binaries from? May be you can get some compiler info there.

eric1708:
I simply downloaded the bundle here: http://www.codeblocks.org/downloads/26 (from the CodeBlocks web site). There is a bundle that comes with a gcc version, all included.

Ok, I'll try to install the 32 bit version of this bundle and see what it gives.

I will report what it gives here.

Cheers, Eric.

Miguel Gimenez:
Sorry for not being clear, I was asking for the origin of the GTK prebuilt libraries.

About C::B, I would do the following:
  - Uninstall C::B 20.03 and the bundled compiler
  - Install the last nightly build from http://forums.codeblocks.org/index.php/topic,24160.0.html
  - Download a compiler from https://sourceforge.net/projects/mingw-w64/files/ (select Toolchains targetting Win32 or Win64, depending on your needs)
  - Install the compiler in C:\MinGW
  - Configure GCC Compiler in C::B so it uses the new compiler

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version