Re: Errors in my program from the GTK+ package

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

 



Thank you for your prompt response.
I am sorry for the misunderstnading, the quiestion is not regarding
Dev-Cpp, but GTK+. What I would like to know is the parameter that one has
to use to add the cairo library to the GCC linker and GCC g++ compiler.
For instance adding the following parameters:
-LC:/Dev-Cpp/lib -lgtk-win32-2.0 -lgdk-win32-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32 -lpango-1.0 -lgobject-2.0
-lgmodule-2.0 -lglib-2.0
-mwindows
would link the application to... glib among others or another example
would be:
-mms-bitfields
-IC:/Dev-Cpp/include/gtk-2.0 -IC:/Dev-Cpp/lib/gtk-2.0/include
-IC:/Dev-Cpp/include/atk-1.0 -IC:/Dev-Cpp/include/pango-1.0
-IC:/Dev-Cpp/include/glib-2.0 -IC:/Dev-Cpp/lib/glib-2.0/include
which tells the compiler to include the above libraries.

Now, the question is, what is the parameter that will tell GCC to link my
application against Cairo?
Also, what is the parameter that will tell GCC to include the cairo library?

Although it's true that this parameters would be added to the
'Dev-Cpp->Project Options->Parameters->C++ Compiler' as well as the
'Dev-Cpp->Project Options->Parameters->Linker' the question is not about
Dev-CPP, but about the GTK+ package and its relationship with GCC.

Again, thank you so very much for your prompt response.

> jalkadir@xxxxxxxxxx writes:
>  > The cairo headers *are install, but I don't know what is the parameter
> to
>  > add to the 'C++ compiler' and/or 'Linker'.
>  > Could you advice?
>
> No, I don't use Dev-Cpp. Read the documentation?
>
> --tml
>
>
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux