Code::Blocks Forums
User forums => General (but related to Code::Blocks) => Topic started by: typicalc on May 22, 2016, 08:55:13 am
-
Everytime I try create a GTK+ project it fails at "Please select the location of GTK ..".
and then "The patch you entered seem valid, but this wizard can't locate.."
How do I download and install newest GTK+? Most tutorial want you to download a zip file, but unfortunately the links are down and it appears that the developers prefer using an MSYS2 system for download.
I've downloaded ans used MSYS2 a bit but I am howing trouble with how to install GTK+ for use in codeblocks? What are the commands to enter to the MSYS2 command prompt?
My platform is Windows 7.
-
The wizard is implemented as a squirrel script.
You can modify it to make it suite your installation.
To do so right click -> edit script in the wizard selection dialog.
Otherwise you can make console project and start modifying it to add gtk+ options.
-
I don't think I have GTK+ installed yet. I Thought it was installed along with MINGW & Codeblocks.
I searched my HD and found a folder
C:\gtk342_static\include\gtk-3.0\gtk
.. that had gtk.h. No gtk.lib found.
Should I be at the MSYS2 terminal and type something to download and install it?
-
I don't think I have GTK+ installed yet. I Thought it was installed along with MINGW & Codeblocks.
Codeblocks does not ship any third party library... You always have to install them by yourself...
Should I be at the MSYS2 terminal and type something to download and install it?
there are tons of ways how to download and install gtk, but that is not a topic for this forum...
you can search with google for tutorials like:
https://youtu.be/xzNOgVQJPxU
if you have any problems integrate it in codeblocks you can ask again, but specific questions please...
greetings
-
FYI: Most of the CB Wizards have issues working with MSys2 libs.
It might be easier to start a empty project instead of using a wizard.
Tim S.