

- #FREE DOWNLOAD CODE BLOCKS FOR WINDOWS 10 HOW TO#
- #FREE DOWNLOAD CODE BLOCKS FOR WINDOWS 10 WINDOWS 10#
I instead went into the filesystem and openned C:\msys64\msys2_shell.cmd for all future instances. Openning MSYS2 by the desktop application after the first pacman -Syu gave me the dialogue to choose which shell: MSYS2, Mingw-w64 32 bit, Mingw-w64 64 bit. I did, and clicked OK for the dialogue "Processes are running in session: Close anyway?." Window now printed "Hangup signal received" and it is no longer responding. Warning: for example close your terminal window instead of calling exit Warning: terminate MSYS2 without returning to shell and check for updates again (5/5) upgrading pacman was at 100% and the warning pops up: I keep uninstalling and reinstallling but I hit the following problem. Uninstalled MSYS2 (via Add/Remove Programs) and reinstalled using the x86_64 from On pacman -Syu, I received error, "msys2-runtime and catgets are in conflict" and "msys2-runtime and libcatgets are in conflict." Entered y to remove both. Thus, I only have C:\msys64 in PATH (and what I had before, irrelevant to GTK). I read your conversation with Simon ( Unable to compile code with GTK and ) about the confusion between MinGW's terminal which includes msys1.0 and MSYS2 terminal which includes MinGW. Removed C:/MinGW directory from PATH and from computer, effectively uninstalling. Removed C:/gtk directory from PATH and from computer, aka all the tarnyko files. The step names correspond to your written instructions. Before I get to that, I want to be very clear about the precise steps I took. I am stuck on compiling a C/C++ program, if you can help more. I will kindly offer more proper feedback after I get everything to work. Thank you for writing up !! I bet it helps a lot of frustrated newbies like myself. John More Questions After Liberforce's Answer But, if anyone can help me through the rest, it would be appreciated.Īt this point I'm out of ideas. I hope this is the only obstacle, and I will be able to get the rest. The rest of the tutorials are aimed at getting Code::Blocks compiler (I think) to include gtk. pkg-config -cflags -libs says that I need to name a library, so I tried just gtk hopiing to get libraries containing that. I can only find gtk3 files, and not the actual version I installed anywhere. To the PKG_CONFIG_PATH environment variable Perhaps you should add the directory containing `gtk+-3.0.pc' Now I am able to run it, but get: Package gtk+-3.0 was not found in the pkg-config search path. I added it to C:\MinGW\bin to by in my path.
#FREE DOWNLOAD CODE BLOCKS FOR WINDOWS 10 HOW TO#
Pkg-config-lite to avoid the glib circular dependency issue that How to install pkg config in windows? describes and frankly I do not understand. So the similar stack overflow, youtube, and written tutorial all say to use pkg-config -cflags -libs gtk+-3.0 to check for a reasonable output to see if I have gtk correctly installed. It probably has something to do with MSYS2's specific path variable, I think? But it should search the system's PATH afterward? And I don't know how to change that specific path? Probably questions for another day. I can run gtk3-demo and gtk-demo-application from CMD but not MSYS2. GTK should be in my path in one form or the other.

I tried to install the all-in-one bundle for GTK 3.6.4 at, and extracted it to C:\gtk.

I added C:\msys64\mingw64\bin to PATH but that didn't seem to work.

That's the end of that, so I think gtk is officially installed, I just need to get it to talk to Code::Blocks. Trying the official GTK installation site, I downloaded MSYS2 and used pacman -Syu to install core system packages and pacman -Su to then update. This was to the youtube link's comment that the official is more stable than the one that can be installed with Code::Blocks. I attempted an installation guide ( ), stack overflow ( How do you install GTK+ 3.0 on Windows?), the official GTK installation guide ( ), a written guide ( ), and just noticed a very similar stack overflow ( Install GTK for c on Windows 10?)īefore this, my PATH environment variable only recorded C:\Users\Owner\AppData\Local\Microsoft\WindowsApps C:\Users\Owner\AppData\Roaming\npm C:\Users\Owner\AppData\Local\atom\bin %USERPROFILE%\AppData\Local\Microsoft\WindowsApps
#FREE DOWNLOAD CODE BLOCKS FOR WINDOWS 10 WINDOWS 10#
Could anyone nudge me in the right direction? I'm running Windows 10 (64-bit) on a Lenovo. I am having trouble installing gtk to start building GUIs in C++ on Code::Blocks.
