« Return to Thread: [gtk+osx] (no subject)

Re: [gtk+osx] (no subject)

by Matthew Kemp :: Rate this Message:

| View in Thread

Hi,

Thanks for your advice (Kai-Uwe), I commented out the code regarding window reposition and it compiled.

However, it shows next to no signs of functionality once it loads up. When I run the executable, I get the following feedback in the terminal:

** WARNING **: gdk_drag_init: not implemented

gtk_init
GTKMacSetup()

** WARNING **: gdk_font_load: CALLED with -adobe-helvetica-medium-r-normal--*-120-*-*-*-*-*-*
Found font: helvetica, 12 pt (id: 21)

** WARNING **: gdk_fontset_load: Not implemented

** WARNING **: gdk_fontset_load: Not implemented

** WARNING **: gdk_window_set_cursor: not implemented! (only warned once)
detail: button
detail: button

** WARNING **: gdk_cursor_new: not implemented!
#
detail: button
detail: button
detail: button
detail: button
detail: button
detail: button


Does this mean that there are more functions in the source code that have not been fully implemented in GTK+OSX yet? Really basic things like the quit button don't even seem to work.

Once again, any help is greatly appreciated.

Matthew,

On 15 Nov 2006, at 06:13, Kai-Uwe Behrmann wrote:

Matthew,

some general thoughts: gtk-osx is for the gtk+-1.2.x API. Code written for 
the gtk 2.x API's will mostly not compile. There are too many differences.

For gtk+-1.2.x ...
Did you use the gtk-osx gtk-config script as described somewhere in the 
distribution? Then I would check if the gtk_window_reposition symbol is in 
the GTK Framework. In my version (modified 0.7) it is not. I found only
gtk_window_position_values, gtk_window_set_position...
Probably your funktion is not implemented. So eighter implement yourself 
and post, or change your code.

Hope this helpes.

regards
Kai-Uwe Behrmann
                                + development for color management 
                                + imaging / panoramas
                                + email: ku.b@...
                                + http://www.behrmann.name


Am 14.11.06, 16:47 -0000 schrieb Matthew Kemp:

Hi,

I hope someone can help out a real novice in compiling, C and GTK.

I am doing a project and I am trying to install a linux executable on  
my os x machine. I have been given the source files and the makefile  
and to the best of my knowledge, I have successfully installed the GTK 
+OSX binary on my computer.

It's a fairly simple program, but when I try to compile(using make) I  
get this following error:

/usr/bin/ld: Undefined symbols:
_gtk_window_reposition
collect2: ld returned 1 exit status

I really don't have the foggiest where to start. I'd really  
appreciate if anyone could lend any expertise here.

Best Wishes,

Matthew


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
_______________________________________________
Gtk-osx-developer mailing list







-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Gtk-osx-developer mailing list
Gtk-osx-developer@...
https://lists.sourceforge.net/lists/listinfo/gtk-osx-developer

 « Return to Thread: [gtk+osx] (no subject)