Re: integrating Gtk with Artoolkit



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Mar 01, 2007 at 10:02:04AM -0800, lucks wrote:

hi.sorry i sent an incomplete message.it was an error.well, am trying to
build a gui that will interact with ARtoolkit which also uses C as language
and contain OpenGl libraries as well.i`ve manage to copy some of the header
files (e.g callback.h, interface.h,etc)

"ARToolKit is a software library for building Augmented Reality (AR)
applications"

when i compile the files from ARtoolkit, there is no error. the result
should have shown my Interface which i`ve created in gtk+. according to me,
i think i am not able to call main.c which is a source file which have been
created by glade. if main.c can be called, then i think it should work.

Sorry. It seems still difficult to understand what you try to tell us.
Let me try:

  * you have generated a GTK+ application with glade. One of the files
    is main.c.

  * You compile this GTK application (somehow mixing in the ARtoolkit.
    Since I don't know ARtoolkit, I just have a very vague idea of what
    that means). This seems to work OK, whatever this means.

  * Now you "are not able to call main.c". I am not sure I understand
    what you mean by that. main.c seems to be a C source file. You don't
    call C source files, you call C functions (from other C functions).
    The only meaningful things you can do to a C source file is edit it
    and compile it.

Sorry if I sound so stupid, but my understanding of your posts is so
incomplete that I _feel_ a bit stupid (don't worry, I feel stupid now
and then, it doesn't really hurt ;-)

Maybe step by step we find a way to help you.

Are you able to make a stand-alone GTK+ application without ARtoolkit?
Perhaps this would be a good place to begin with.

Ragards
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFF5xwJBcgs9XrR2kYRAuwcAJ44YUvG1s6hKrrqN8cO+/C7cdtSWQCfSsuz
kwSpLjCBNMQP2xL//RoqzoQ=
=t9ZE
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]