Re: integrating Gtk with Artoolkit

2007-03-02 Thread Freddie Unpenstein

> 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)

Are you trying to embed GTK components within the ARtoolkits interface, like 
having a computer screen sitting in the ATtoolkit 3D space...

Or are you trying to embed the ARtoolkit 3D view within a GTK user interface, 
so you can experiment with ARtoolkit without the funky head gear?


The latter case shouldn't be too hard, while the former might well be very 
difficult indeed.  Cairo's capabilities might bring some promise, but I think 
for the time being only the latter option is readily possible.


Fredderic

___
Join Excite! - http://www.excite.com
The most personalized portal on the Web!


___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: integrating Gtk with Artoolkit

2007-03-01 Thread tomas
-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-

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: integrating Gtk with Artoolkit

2007-03-01 Thread lucks

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.

can somebody help me?
-- 
View this message in context: 
http://www.nabble.com/integrating-Gtk-with-Artoolkit-tf3287524.html#a9255126
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: integrating Gtk with Artoolkit

2007-02-28 Thread Tor Lillqvist
lucks writes:
 > but i cant display the interface( i cant call main.c) it doesn`t show any
 > error but it doesn`t work...can someone plz help me? 

With that little information, no.

You need to provide much more details of what you actually are
doing. The little you say doesn't really make sense. You honestly
believe anybody would understand what your problem is when you say "i
cant call main.c"?

If you send more information in longer messages, please try to write
complete sentences with words fully spelled out, proper punctuation,
capitalization and division into paragraphs. E-mail isn't text
messaging or on-line chat.

--tml

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: integrating Gtk with Artoolkit

2007-02-28 Thread lucks

well thanks for your reply...in fact i want to integrate a GUI front end with
ARtoolkit which is in c and contains Opengl Library as well...

but i cant display the interface( i cant call main.c) it doesn`t show any
error but it doesn`t work...can someone plz help me? 

 thanks
-- 
View this message in context: 
http://www.nabble.com/integrating-Gtk-with-Artoolkit-tf3287524.html#a9201056
Sent from the Gtk+ - Apps Dev mailing list archive at Nabble.com.

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


Re: integrating Gtk with Artoolkit

2007-02-25 Thread Michael Torrie
On Sun, 2007-02-25 at 07:12 -0800, Atish Luckhee wrote:
> hi..am a student and i want to integrate gtk with ARtoolkit but i cant
> make it work...if someone can help me...thanks

What do you mean you want to "integrate gtk with" ARtoolkit?  What are
you trying to do?  What can't you make work?  What programming
language(s) are you using?  Do you want to build a GUI front-end for
this toolkit?  Will you be adding GTK gui stuff to the ARtoolkit itself?
Will this be a standalone program that controls another program using
stdio/stdin and command line options (such as a GUI wrapper to some
command-line utility)?  

I'm afraid you're post, as it stands currently, will not garner any
other replies.  The folks on this mailing list will be happy to answer
any specific questions about GTK programming, but require that you
provide the necessary information and how what things you have already
done to solve the problem.  In the meantime you'll want to check out the
GTK example programs, various tutorials, etc.  If you are writing a
front-end for an existing app, you'll likely need to read up on how GTK
does event handling, caveats for using threads, etc.  If you familiarize
yourself with GTK and family, I think you will find things relatively
easy to understand and work with.  Good luck.

Michale


> ___
> gtk-app-devel-list mailing list
> gtk-app-devel-list@gnome.org
> http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
> 

___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list


integrating Gtk with Artoolkit

2007-02-25 Thread Atish Luckhee
hi..am a student and i want to integrate gtk with ARtoolkit but i cant
make it work...if someone can help me...thanks
___
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list