Results 1 to 4 of 4
Hi all! I'm quite a newb to the C++ world and linux. I know the language basics and what have you however I have never dealt with libraries before, nor ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-28-2012 #1Just Joined!
- Join Date
- Mar 2012
- Posts
- 29
installing and using gtkmm for fedora 17
Hi all! I'm quite a newb to the C++ world and linux. I know the language basics and what have you however I have never dealt with libraries before, nor have installed them. I am planning on creating a text editor using the Gtkmm lib however I'm running into some issues.
Before I did any programming i ran the below lines of code:
Both commands executed without error.Code:sudo yum install gtk+ sudo yum install gtkmm
The issue is that for some reason the packages weren't added to my pkg-config tool and I have no idea how to do that. I'm not even sure if they were installed. Should I manually download and install the packages instead?
- 07-30-2012 #2Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,657
- 08-03-2012 #3Just Joined!
- Join Date
- Mar 2012
- Posts
- 29
Hey! Sorry for the late response but I think that did it. I noticed that the *-devel isn't standard...infact, what's the difference between the libgtkmm*.so.1 file (which I'm assuming is the shared library that I need) and the devel package?
- 08-04-2012 #4Trusted Penguin
- Join Date
- May 2011
- Posts
- 3,657
i'm not sure what you're asking. But usually, packages with names like foo-devel usually contain header files used to compile the foo software (and get installed to dirs like /usr/include/foo/), whereas packages simply named foo contain the binary (executable) files themselves (and documentation, etc.). Often the shared library files (/usr/lib/libfoo-*, etc.) are also in the same package as the binary, but sometimes they are in the *-devel package, and sometimes they are in their own package, like foo-lib.
and FYI, when you have an RPM installed, you can list the files/directories that it installs with this command:
If you have the RPM file itself, and want to examine its contents, you can do:Code:rpm -ql foo
Code:rpm -qpl foo-x.xx.i686.rpm


Reply With Quote

