Re: Problems using gtk on object-oriented attempt



Markus Pitha <ng@xxxxxxxxxx> writes:

Hello,

On Wed, 25 Oct 2006 19:59:11 +0000 Michael Rasmussen wrote:
Why not switch to use gtkmm - an object oriented layer on-top of gtk?
http://gtkmm.sourceforge.net/gtkmm2/docs/index.html

When I use these libraries, does that mean that people have to download
these libraries first to be able to compile the program (e.g. with a
make file to this program) or does it run anyhow with the usual gtk? I
guess a compiled program runs over gtk, but if someone wants to compile
it with a make file, he needs to download the three needed libraries
first. At the moment I am downloading it and see that I need libsigc and
glibmm for using gtkmm and I read that I naturally have to bind in other
header files than gtk/gtk.h. When someone wants to use my program, which
should be built with a makefile, he has to download these libraries
too,

Right -- if they're going to use the code, they have to have the
libraries. If they've got a reasonable distribution, though, getting
them is easy enough not to be a problem.

which is associated with work and the next problem is the compatibility to
Windows. At the moment I don't write anything for Windows and it's
possible to use the standard gtk on Windows too, so it wouldn't be a
problem to port programs to Windows. I found information about a gtkmm
runtime environment but who knows if this is as stable as the usual gtk
library.
--
Joseph J. Pfeiffer, Jr., Ph.D. Phone -- (505) 646-1605
Department of Computer Science FAX -- (505) 646-1002
New Mexico State University http://www.cs.nmsu.edu/~pfeiffer
.



Relevant Pages

  • Re: Carrying Libraries on Your Back...
    ... > Why not build on an installed based of assemblies, ... > than porting libraries around, ... download source code ... compile local source against header files ...
    (microsoft.public.dotnet.languages.vb)
  • Re: OpenGL extensions in Linux (Its not hard?)
    ... Try the binary on other Linux machines and it breaks about 10% of the time ... You're saying that I should custom compile vanilla versions of those 20 ... libraries from source, just to get a 6 line program working reliably under ... However, the downside is that it will run under Windows, and Windows only. ...
    (comp.graphics.api.opengl)
  • Re: Free design engineering book
    ... some more libraries and re-compile some programs. ... Hmm ... ... Getting newer software is such a pain when I have to download ... and compile a half dozen libraries before I can compile the desired ...
    (rec.crafts.metalworking)
  • Re: Creating MAT-file programs
    ... also want to use this program on Linux computers. ... I can do that on Linux, all I have to do is download the MAT library ... Try compiling with the -m32 switch, to compile in 32-bit ... you will need the 64-bit libraries. ...
    (comp.soft-sys.matlab)
  • Re: PDF Editor in Ubuntu
    ... code can be used on Windows or Mac or anything. ... Except when they use platform-dependant libraries or OS functions. ... would be C and the code would compile where you had a C compiler. ... libraries can be compiled on different platforms. ...
    (Ubuntu)