mainmeister | I want to write some gtk+ applications in 12.04 using the c language. Do I need to install anything for development (ie header files, libraries, etc.) | 13:41 |
---|---|---|
jlamothe | mainmeister: I'm assuming you have the build-essential package? | 13:58 |
jlamothe | I don't think you need anything more than that... however I do my development with wxWidgets (which does require extra packages). | 14:00 |
mainmeister | I have not installed any gtk specific items. I don't know what gets installed in 12.04 as default packages pertaining to gtk development | 14:00 |
mainmeister | Should I look for build-essential in the ubuntu software centre? | 14:01 |
jlamothe | You should just be able to type: sudo apt-get install build-essential | 14:02 |
jlamothe | That'll give you your C compiler and the most commonly used libraries. | 14:03 |
mainmeister | thank you, I am install the essentials now | 14:03 |
jlamothe | You might want eclipse or something too. | 14:04 |
mainmeister | I am using geany | 14:04 |
jlamothe | Looks like a decent choice. I'm more of an Emacs person myself. | 14:05 |
mainmeister | Still cannot find the glib/gmacros.h file ... Guess I'll go to the gtk.org site and download everything from there. | 14:06 |
jlamothe | It should be in the repository somewhere. | 14:07 |
mainmeister | Doesn't appear as there is a gtk+ package in the ubuntu repository | 14:07 |
jlamothe | I know because wxWidgets builds on top of GTK, and I haven't had to install anything from outside sources. | 14:07 |
mainmeister | Do you know if the gtk headers get installed under /usr/include? | 14:08 |
jlamothe | Let me check... | 14:08 |
mainmeister | I did a find earlier (before the essentials) and it was not anywhere on the hard drive | 14:09 |
jlamothe | Oddly enough, it doesn't seem to be. | 14:09 |
jlamothe | Just a sec... | 14:10 |
dscassel | BobJonkman: Yup, official. I'll put out a notice on the mailing list. | 14:10 |
jlamothe | Try sudo apt-get install gnome-core-devel | 14:10 |
dscassel | Hi jlamothe :) | 14:10 |
jlamothe | Hey dscassel | 14:10 |
jlamothe | What's new? | 14:10 |
dscassel | It's Monday morning. I'm trying to figure that out myself. :) | 14:11 |
mainmeister | thanks for the help I'll let you know if the gnome-core-devel works | 14:11 |
jlamothe | No problem. | 14:11 |
jlamothe | Hey, dscassel, do you know much about Ubuntu One? | 14:12 |
jlamothe | As in, can I use it without having it automatically backup my whole documents directory? | 14:12 |
dscassel | Yes and yes. | 14:13 |
dscassel | It automatically syncs an "Ubuntu One" folder, but everything else is optional. | 14:13 |
dscassel | Now if you sync your "Documents" folder, then yes, it syncs the entire folder. | 14:13 |
dscassel | Per-folder granularity. | 14:13 |
dscassel | But you can make a "Shared" folder under Documents that you can then share. | 14:14 |
jlamothe | Perfect. I'm looking for an off-site backup for about 1.3GB of encrypted data, but some of it's sensitive, so I don't want to put it plaintext "in the cloud". | 14:14 |
jlamothe | Like all my financial records. | 14:14 |
dscassel | Are they encrypted individually or as one big truecrypt volume or something? | 14:15 |
mainmeister | jlamothe - would goggle drive not work as well - you get 5 gig free | 14:15 |
jlamothe | It's a gpg'd tarball. | 14:15 |
dscassel | 'Cuz syncing a 1.3GB woodge every time you make a change gets old fast. | 14:15 |
jlamothe | That's what I thought of first, but I figure Ubuntu One would be a more seamless solution since all my machines run Ubuntu. | 14:15 |
mainmeister | true | 14:16 |
jlamothe | dscassel: It's more of a monthly backup kind of deal. | 14:16 |
jlamothe | Maybe weekly. | 14:16 |
jlamothe | I have local backups as well. | 14:16 |
mainmeister | I find that the ubuntu-one crashes a lot on my windows machine | 14:16 |
dscassel | I guess that works. | 14:16 |
jlamothe | ...but I control all those boxes. | 14:16 |
jlamothe | ...or I could just keep it encrypted on a thumb drive in my bin at the lab. | 14:16 |
dscassel | No crashs on Ubuntu. :) | 14:16 |
mainmeister | wow that gnome-core-devel is huge, still installing... | 14:18 |
jlamothe | I guess wxWidgets only installs the subset that it uses. | 14:18 |
mainmeister | long as it works It ok | 14:19 |
jlamothe | texlive is a monster of a download too. | 14:19 |
mainmeister | Ok, gnome-core-devel has given me the gtk development stuff (any everything else) | 14:34 |
mainmeister | thank again for you help | 14:34 |
=== dscassel changed the topic of #ubuntu-ca to: Welcome to the Ubuntu Canada LocoTeam channel | http://www.ubuntu-ca.org/ | Wiki: https://wiki.ubuntu.com/CanadianTeam | Forum: http://canada.ubuntuforums.org/ | S.V.P utilisez #ubuntu-qc pour soutien en français | Channel logged at http://irclogs.ubuntu.com/ | Meeting info: https://wiki.ubuntu.com/CanadianTeam/Meetings | Next meeting 20 June 4:00pm PDT, 7:00pm EDT, 8:30pm NDT | ||
jlamothe | Couldn't figure out why Ubuntu One said my e-mail address was already registered. | 14:59 |
jlamothe | It was because of my Launchpad account. | 14:59 |
BobJonkman | dscassel: Thanx for making the updates! | 15:27 |
BobJonkman | I wasn't sure if moving the IRC meeting was just idle speculation or indisputable fact | 15:28 |
dscassel | BobJonkman: Well, I can't do one tomorrow, so... :) | 16:02 |
BobJonkman | Not a problem. | 16:02 |
BobJonkman | I've just updated the Wiki and LoCo calendars... | 16:02 |
dscassel | Which isn't to say it can't go on without me, but there are a couple things I wanted to cover... | 16:03 |
BobJonkman | The meeting agenda is pretty much unchanged from last meeting, I guess since we didn't actually carry out any of them... https://wiki.ubuntu.com/CanadianTeam/Meetings/2012-06-20 | 16:04 |
mainmeister | is there any special command to set up symbolic link in /usr/include and /usr/lib to make the development of gtk version 2.0 work properly? | 16:08 |
mainmeister | or do I just copy /usr/include/glib-2.0 to /usr/include? | 16:10 |
jlamothe | mainmeister: I'm not sure if you've found an answer to this or not yet, but have you tried: sudo ldconfig? | 17:09 |
jlamothe | (without the question mark, obviously) | 17:09 |
jlamothe | ...oh no, wait... that's for libraries. | 17:09 |
jlamothe | ...not headers. | 17:10 |
mainmeister | I'll no doubt have the same problem with the lib as well | 17:10 |
mainmeister | thanks | 17:10 |
jlamothe | There's usually an option you have to pass to the compiler. | 17:10 |
jlamothe | I don't know what it is for gtk though. | 17:11 |
jlamothe | are you using pkg-config? | 17:14 |
jlamothe | For the compiling phase, you apparently need to add `pkg-config --cflags gtk+-2.0` to the command to run the compiler. | 17:15 |
jlamothe | For the linking phase you need to add `pkg-config --libs gtk+-2.0` | 17:15 |
jlamothe | The backticks are important. | 17:16 |
mainmeister | I've tried that but the includes don't work | 17:16 |
jlamothe | Hrm... | 17:16 |
mainmeister | #include <gtk/gtk.h> results in /usr/include/gdk/gdkapplaunchcontext.h:30:21: fatal error: gio/gio.h: No such file or directory | 17:17 |
jlamothe | You said you're using geany? | 17:18 |
mainmeister | yes | 17:18 |
mainmeister | I think I need to either symbolically link or copy from gtk-2.0 | 17:19 |
jlamothe | have a look at http://ubuntuforums.org/showthread.php?t=718214 | 17:19 |
jlamothe | I typed that by hand, so I hope it works. | 17:19 |
mainmeister | ok thank you | 17:20 |
* jlamothe wishes he could copy/paste from one computer to another. | 17:20 | |
* willwh sips | 17:47 |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!