User forums > Help
How to use CB with GTK3 on Windows 10
stahta01:
--- Quote from: stahta01 on April 22, 2018, 04:46:34 am ---Found the directions https://www.gtk.org/download/windows.php
--- Quote ---Step 1: Install MSYS2
--- End quote ---
The likely off topic problem is you failed to update MSys2 as part of step 1 of the directions.
But, I am thinking this is too off topic to help you get MSys2 installed.
Tim S.
--- End quote ---
Link to off site directions that might help with step 1
https://github.com/stahta01/cb_misc/blob/master/Notes/MSys2/How%20update%20MSys2%20under%20windows%2010.txt
Tim S.
arkkimede:
At this moment all the environment and installation of MSYS2 is correct.
I've installed MSYS2 for 64 bit machine.
If I use it like unix, the application written on UBUNTU is compiled linked and it run correctly.
Now I want to use CB.
The first question is related to the wizard of GTK.
If on the icon of GTK you select right button it is possible to edit it.
It refers to GTK2 and not GTK3 and search win32 library
So: it is possible to modify the wizard in order to use GTK3 and it can works whit 64 bit or I have to install MSYS2 with 32bit?
thanks
BlueHazzard:
--- Quote ---So: it is possible to modify the wizard in order to use GTK3 and it can works whit 64 bit or I have to install MSYS2 with 32bit?
thanks
--- End quote ---
of corse it is possible...
but you don't need the script to create a gtk project, just make it by your own. But it think you have also set up a msys compiler
stahta01 can help you here...
stahta01:
I will try to setup an project using GTK3 and MSys2 32 bit under Windows 10.
The wxWidgets projects I do it does not matter whether it is MSys2 MinGW 32 bit or 64 bit.
It should be the same for GTK3 projects.
Edit: Once, I started I remembered I did this several days ago.
Tim S.
stahta01:
Unzip the file attached and try building it.
It might work; but, I will likely have to give you directions on how to setup the MSys2 MinGW GCC Compiler in Code::Blocks.
Note: To me it is clear how to setup Code::Blocks; but, newbies have a lot of problems.
I am now an expert on setting up GCC based compilers in C::B.
Edit: Link to C::B Project without the adding of main.c to it. https://github.com/stahta01/MSys2_CodeBlocks_Projects/tree/master/gtk
Edit2: Packages install command for 32 bit; change "i686" to "x86_64" for 64 bit.
--- Code: ---pacman -S --needed --asdeps mingw-w64-i686-gcc mingw-w64-i686-gtk3
--- End code ---
Tim S.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version