News:

When registered with our forums, feel free to send a "here I am" post here to differ human beings from SPAM bots.

Main Menu

GTK issue

Started by AzureZero, February 02, 2022, 06:36:21 PM

Previous topic - Next topic

AzureZero

Hey

I've started trying my hand with GTK, well GTKmm using a example.
It took a long time to get all the needed headers included in the search directories.

Now I got the example to run, and now am starting to play with it and got an error when adding a GTK::Box (along with a few other GTK classes)

I don't know if I did something dumb since this is my first time working with GTK or GTKmm.

"getting a lot of posting errors when I try to post up build log or messages"

AndrewCot


stahta01

https://wiki.codeblocks.org/index.php?title=FAQ-Compiling_%28general%29#Q:_How_do_I_report_a_compilation_problem_on_the_forums.3F

Once you find a website that supports either GTK or your compiler toolchain, they will likely want a build log the above link tells how to post a build log.

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

AzureZero

#3
Hoping I can post the Build records now
--Nope--
I think some input sanitization might be happening, not allowing me to post the build logs and message in code tags

So back-up plan, here are the build message and log as text files.

this is a weird issue I'm having as Gtk::Grid works fine, but Gtk::Box gives the error.

BlueHazzard

You are doubling your options quite a lot...
Build options, libraries should only go in one place and this is Project->Build options->Klick project name on the left-> now fill all options you like

About the build error, have you added
#include <gtkmm/box.h>
at the top?

Generally this forum is not for gtk questions....

About the forum issue:
The forum has some known problems with unicode characters. Do you paths contains some special characters?


stahta01

Quote from: BlueHazzard on February 03, 2022, 11:00:15 PM
You are doubling your options quite a lot...
Build options, libraries should only go in one place and this is Project->Build options->Klick project name on the left-> now fill all options you like

About the build error, have you added
#include <gtkmm/box.h>
at the top?

Generally this forum is not for gtk questions....

About the forum issue:
The forum has some known problems with unicode characters. Do you paths contains some special characters?

Please read my post it is the error message using unicode single quotes that caused the issues with posting the build log.
https://forums.next.codeblocks.org/index.php/topic,24832.msg169348/topicseen.html#msg169348

Tim S.
C Programmer working to learn more about C++.
On Windows 10 64 bit and Windows 11 64 bit.
--
When in doubt, read the CB WiKi FAQ. [url="http://wiki.codeblocks.org"]http://wiki.codeblocks.org[/url]

BlueHazzard

QuotePlease read my post it is the error message using unicode single quotes that caused the issues with posting the build log.
https://forums.next.codeblocks.org/index.php/topic,24832.msg169348/topicseen.html#msg169348

Thank you for testing, somehow i missed this post...

AzureZero

Quote from: BlueHazzard on February 03, 2022, 11:00:15 PM
You are doubling your options quite a lot...
Build options, libraries should only go in one place and this is Project->Build options->Klick project name on the left-> now fill all options you like

About the build error, have you added
#include <gtkmm/box.h>
at the top?

Generally this forum is not for gtk questions....

About the forum issue:
The forum has some known problems with unicode characters. Do your paths contains some special characters?

Thank you
I can't believe I missed that, now I feel like a fresh stupid newbie missing the obvious solution due to auto-completion and seeing all the classes as available.

For the forum error, I don't know since I copied it from the Code::Block's Build Log and Build Message windows when I tried to compile.
So I don't know if code::blocks made it unicode, or my OS did.