Go to advanced search

by MikeG58
Sat Mar 03, 2018 11:16 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

I've been waiting, mainly to finish my reading and reviewing of "The Linux Command Line Handbook", so I can get some free time to install Linux Mint as a virtual machine on my desktop. I hate to do that kind of thing when I'm rushed, because, there's a good chance I'll mess up some of the settings. ...
by MikeG58
Sat Mar 03, 2018 11:11 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

I don't know if it means anything or not, but, I believe there is a discussion about it here on the Raspberry Pi site, and, I did download it from my repository. I was wrong. The SD card supplied in the kit is a 32GB one. Just like the extras I bought. I'm gonna go to the download section and downlo...
by MikeG58
Sat Mar 03, 2018 8:41 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

:o Ooph! I've never burnt a new Raspian image to an SD card, but, I suppose it's time to learn. I think that the Operating System was already on the SD card when I bought the kit. I did buy a couple of SD cards, which I have lying around. I think that the one I have installed now is 8MB, but, the on...
by MikeG58
Sat Mar 03, 2018 7:31 am
Forum: Wolfram Language
Topic: i dont see any point
Replies: 18
Views: 20841

Re: i dont see any point

That's a great video. :D
by MikeG58
Sat Mar 03, 2018 5:22 am
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

OK, Peter O, I edited the changes to my wizard.script that you posted above. I have my usual Code::Blocks IDE interface back, which is great. But, I'm still not compiling. This is the output of the build log when I click on Build: -------------- Build: Debug in GTKProject001 (compiler: GNU GCC Compi...
by MikeG58
Fri Mar 02, 2018 11:20 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

No, not really. It just seems like a waste having to come up with a name for the Project, then, it seems, you have to delete the source and find the file that has your source. Not that much work, really, but, I want to code, not to fight with my IDE. I'm also going about it a roundabout way, trying ...
by MikeG58
Fri Mar 02, 2018 9:04 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

I'm helping out another person, a newbie like myself to GTK+ programming. I pointed him in the direction of your tutorial.

At least I can follow along with your examples, and get them to work. That's most of the battle.

-Mike
by MikeG58
Fri Mar 02, 2018 9:03 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

Peter O.,

Along those lines. Is there a way to load more than one source code for a project? A lot of the time, most of the time, I'm just typing in small tutorial problems. It seems a lot of overhead to have to "Create a Project" every time I want to test 20 - 50 lines of code.

-Mike
by MikeG58
Fri Mar 02, 2018 6:42 pm
Forum: C/C++
Topic: Need Help Using GTK+
Replies: 2
Views: 922

Re: Need Help Using GTK+

Mark, Let me address some of the confusion, and, yeah, the whole C++/GTK+ world is confusing to a newbie like me. The best one so far says to run the sudo apt-get install libgtk-3-dev . This does seem to run ok. OK, that package is one that you have to have installed in order to create gtk+ programs...
by MikeG58
Fri Mar 02, 2018 6:30 pm
Forum: C/C++
Topic: Need Help Using GTK+
Replies: 2
Views: 922

Re: Need Help Using GTK+

Mark, Ooph! You sound like me about a month or two ago. My best advice to you is to read Peter O's tutorial. It finally got me off the starting line. http://www.peteronion.org.uk/GtkExamples/GladeTutorials.html Now, the question is, and I think I can gather from your post that you're not using an ID...
by MikeG58
Fri Mar 02, 2018 2:13 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

No, Peter O. I'll play with it. I think it might be something stupid on my part, like I closed after I had changed Code::Blocks perspective. I couldn't get any code to display in the IDE window afterwards. Then, I went to view, and saw that the Default Perspective was not checked. I checked it, and ...
by MikeG58
Fri Mar 02, 2018 6:03 am
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

Wow, Peter O., Thanks! Um, I'm not quite seeing what you're describing, but, I will work at it. I'm running Code::Blocks IDE version 13.12. It is the one I installed from my repository. Oops, I got the file you're referring to the second time around, but, it is read only. Not for sure how to unset t...
by MikeG58
Fri Mar 02, 2018 5:26 am
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

Wow, Peter O., Thanks! Um, I'm not quite seeing what you're describing, but, I will work at it. I'm running Code::Blocks IDE version 13.12. It is the one I installed from my repository. Oops, I got the file you're referring to the second time around, but, it is read only. Not for sure how to unset t...
by MikeG58
Thu Mar 01, 2018 5:14 am
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

Peter O. I did get my test GTK/Glade program working. It just required that I add that second line above: textField = GTK_WIDGET ( gtk_builder_get_object (builder, "textField")); Thanks for all of the help. I'm waiting for an email verification email back from CodeBlocks so that I can finally get on...
by MikeG58
Wed Feb 28, 2018 7:50 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

Thanks, Peter O.,

For sticking with me on this.

Yes, I did go to CodeBlocks forum and initiated registration. I also searched their forum, but, they seem to have the same answer that Andr.oid Eric did in his video.

I'll work on it again tonight.

-Mike
by MikeG58
Wed Feb 28, 2018 5:18 am
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

OK, Peter O. I just watched an Andr.oid Eric video, and he shows that you have to enter `pkg-config --cflags gtk+-3.0` into the Other Compiler Options window, and then `pkg-config --libs gtk+-3.0` additionally, into the Linker Settings - Other linker options window. Time now to test. Nevermind. It d...
by MikeG58
Wed Feb 28, 2018 4:34 am
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

Re: GTK+ Programming with Code::Blocks

Thanks, Peter O. I looked for a forum on this community, specifically for Code::Blocks questions, but didn't see one. I'll look again. Yes I did try it with the back quotes as well. When you set up the Code::Blocks IDE, for a GTK+ project, as I did last night, I noticed that it added the string `pkg...
by MikeG58
Tue Feb 27, 2018 7:37 pm
Forum: C/C++
Topic: GTK+ Programming with Code::Blocks
Replies: 25
Views: 3260

GTK+ Programming with Code::Blocks

I've recently installed Code::Blocks on my Raspberry Pi. I prefer it as an IDE over Geany, but, I can't seem to pass the command line to it that is needed to develope GTK+ programs. I've gone into the Build Options and entered the string $(pkg-config gtk+-3.0 --cflags --libs) as I do with Geany. I e...
by MikeG58
Sat Jan 06, 2018 4:07 am
Forum: C/C++
Topic: Geany
Replies: 7
Views: 1844

Re: Geany

No, hardly a dumb question at all! Whoever posted a link to Peter Onion's tutorial, I'll have to go back and look, is a lifesaver. Oh! It was Peter O. who posted it. Thank you Peter, and thanks for finally getting my feet on the ground! I don't know if I'll install Glade, can you ever have enough to...
by MikeG58
Sat Jan 06, 2018 2:24 am
Forum: C/C++
Topic: Geany
Replies: 7
Views: 1844

Re: Geany

Along the lines of using Geany to play with GTK3. I'm having an awful time with that. I think I have gtk-3.0 installed correctly. Right now, I entered a small C program that has: #include <gtk/gtk.h> When I try to build my program, the compiler sends an error message that gtk/gtk.h can't be found. S...
by MikeG58
Mon Feb 06, 2017 8:35 pm
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 15924

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

Matt, OK. I got that straightened out and tried it just now. At this point, I'm not for sure what the system is supposed to do after entering that command. I have about two screens of information. There are arrows pointing to various places, usually, the closing parenthesis. I think I need some more...
by MikeG58
Sat Feb 04, 2017 5:37 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 15924

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

Matt, [email protected]:~/gtkiostream-1.5.0 $ g++ test/LabelsTest.C -o test/LabelsTest `pkg-config gtk+-3.0 --cflags --libs` Iinclude g++: error: Iinclude: No such file or directory [email protected]:~/gtkiostream-1.5.0 $ ls include Alignment.H CairoCircle.H DragNDrop.H gtkDialog.H MessageDialog.H Plot.H ...
by MikeG58
Fri Feb 03, 2017 7:43 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 15924

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

Matt, I did include the 'Iinclude' at the end of the line. It just got wrapped around in my copy and paste. If you look on the second line, you'll see it. I was using RealVTC to access my RPi. It was kind of handy to be able to copy and paste my screenshots after trying each of the commands in your ...
by MikeG58
Fri Feb 03, 2017 6:39 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 15924

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

Matt,

Using Geany, or some other IDE, where do you include the `pkg-config gtk+-3.0 --cflag` string, to make sure it points to gtk's header definitions?

-Mike
by MikeG58
Fri Feb 03, 2017 6:05 am
Forum: Graphics programming
Topic: STICKY: Tutorial 0 - Programming GTK GUIs using gtkIOStream
Replies: 29
Views: 15924

Re: Tutorial 0 - Programming GTK GUIs using gtkIOStream

OK, Matt, I did get this: [email protected]:~/gtkiostream-1.5.0 $ pkg-config gtk+-3.0 --cflags -pthread -I/usr/include/gtk-3.0 -I/usr/include/at-spi2-atk/2.0 -I/usr/include/at-spi-2.0 -I/usr/include/dbus-1.0 -I/usr/lib/arm-linux-gnueabihf/dbus-1.0/include -I/usr/include/gtk-3.0 -I/usr/include/gio-unix-...

Go to advanced search