News:

Download Pelles C here: http://www.smorgasbordet.com/pellesc/

Main Menu

GTK+ (includes)

Started by Muhammed, January 28, 2007, 03:07:17 AM

Previous topic - Next topic

Muhammed

Hello!

I've a problem which really make troubles to me:

How can I install gtk+ in pelles??

I tried so much but every trial failes.

Can someone show me how to bind in gtk+ includes,so that Pelles find all headers?

You'd really help me,
thank you

Muhammed

Is there realy NOBODY who can help me a little bit?

Please, also just hints etc would be nice.


Muhammed

Thank you for your answere.

Puh lol, thats a lot of things do to.

Fortunely on one of the sites I found a link to a complete installer which install all the packages.

I tried to install them but there are ALWAYS problems.

Although I included all files, pelles can't find the headerfiles.
Always when I solve a problem, there's another headerfile that wasn't found.

I copied the include folders etc in the include folder of pelles, but there are the problems I've just told about.

Sorry, if i get on your nerves  :D  but I really tried to install it but have a lot of problems.

So could you tell me more exactly what do to?

Thank you very much.

Stefan Pendl

Instead of moving the files from the GTK include folder into the PellesC include folder, include the GTK folder in the project options.
If you include the folder in the PellesC options, you will get the tooltips for the functions too.
---
Stefan

Proud member of the UltraDefrag Development Team

Muhammed

Thanks!

There's just one last problem:

Pelles tells me:

POLINK: error: Unresolved external symbol '_g_logv'.

What I've forgotten?

Thanks

Muhammed

I also get this messages:

C:\GTK\include\glib-2.0\glib\gmessages.h(195): warning #2135: Static 'g_debug' is not referenced.
C:\GTK\include\glib-2.0\glib\gmessages.h(186): warning #2135: Static 'g_warning' is not referenced.
C:\GTK\include\glib-2.0\glib\gmessages.h(177): warning #2135: Static 'g_critical' is not referenced.
C:\GTK\include\glib-2.0\glib\gmessages.h(168): warning #2135: Static 'g_message' is not referenced.
C:\GTK\include\glib-2.0\glib\gmessages.h(159): warning #2135: Static 'g_error' is not referenced.

Muhammed

Hmmm I think with the time I really get desperate because I included everything that was needed.

I found out, that these Functions are all in the glib (which I also already included).

Have you any idea what I could do?

Muhammed

Hello,

it's me again  :D .

I now found out, that all functions I've problems with, are in gmessages.h and defined in gemessages.c.

Maybe this helps you, helping me  :)