User forums > Using Code::Blocks

linking GTK with codeblocks?

<< < (3/6) > >>

southernsontn:

--- Quote from: stahta01 on January 05, 2016, 01:33:10 am ---If you are a Git User

--- End quote ---

not at the moment, but I should probably check it out

stahta01:
I gave up on Fixing the CB Wizard for GTK3; I just do NOT have the time right now.

I am attaching an User Template for building GTK3 CB Projects using MSys2 MinGW 64 bit GCC.
It uses the Code::Blocks GCC compiler alias.

You can put User Templates into "%APPDATA%\CodeBlocks\UserTemplates"
In my case it is "C:\Users\stahta01\AppData\Roaming\CodeBlocks\UserTemplates"
Edit: I would just save the zipped file; and see if it works after unzipping and if it does do a save as template operation in CB.

Tim S.

Deleted attachment.


southernsontn:
I understand completely. Thanks for the time invested. I'll try your workaround and see if I can get something going.

southernsontn:
I tried the template that you attached, and while it loaded, nothing would compile... it got stuck at the gtk header file. I tried a few things, but nothing worked.

with that being said, I'm going to start back over from scratch and try a few things. If I can get everything working, I'll come back and post my solution.

southernsontn:
well, if you're still interested: I see now what the problem is. The files installed through Msys2 are, for some reason, incomplete. same thing goes for GTK2 through Msys2. I have actually managed to track down some of the necessary files (mostly .dlls) through various means, and I can now start a GTK+ project with GTK2. The Hello world sample won't compile though, it's still missing a few things. Once I get a working, compiling program with GTK2, I'll go back and try to rebuild a complete GTK3 library.

I am learning far more about code blocks than I ever intended to, but I suppose that's a good thing.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version