|
AGUP |
moon_rabbits
Member #8,469
March 2007
|
Take a look at this source:
All it does is create a menu. However, when I tried to use AGUP, I get a bunch of linker errors: Quote:
[Linker error] undefined reference to `agtk_theme' ..and so on. Is there a library that I can link to my project for agup? Because I cannot seem to find one. |
Tero Laxström
Member #2,589
July 2002
|
If you have the source version of this library, build it first. Then you should be able to link with it. -- |
moon_rabbits
Member #8,469
March 2007
|
I have no idea how to build a library, I've always used DevPaks. I found an agup devpak, one that included the libagup.a, but I still have the same problem even after linking the library. |
Tero Laxström
Member #2,589
July 2002
|
Same problem? Or some other problem? -- |
moon_rabbits
Member #8,469
March 2007
|
It's fixed. agup is a library written in C, so it was compiled in C. All I have to do is: extern "C"{ #include <agup.h> } And it works fine. |
Matt Smith
Member #783
November 2000
|
That extern "C" should ideally be inside agup.h, so nobody else trips on it. Headers are great for hiding verbiage like this. |
|