RE: FProblem with GTK



Hi,
  After adding gtk, glib libraries the error has reduced, but still I could not execute the program. Let me know any other files/lib/dll has to be added to solve this error.

With Anticipation & regards,
Jagadish.K

 
Linking...
testdnd.obj : error LNK2001: unresolved external symbol _g_type_check_instance_cast
testdnd.obj : error LNK2001: unresolved external symbol _gdk_drag_status
testdnd.obj : error LNK2001: unresolved external symbol _gdk_drawable_unref
testdnd.obj : error LNK2001: unresolved external symbol _gdk_pixmap_colormap_create_from_xpm_d
Debug/testdnd.exe : fatal error LNK1120: 4 unresolved externals
Error executing link.exe.

testdnd.exe - 5 error(s), 6 warning(s)

-----Original Message-----
From: Simith Nambiar [mailto:simith indtelesoft com]
Sent: Tuesday, June 07, 2005 6:46 PM
To: Jagadish K , Bangalore
Cc: 'gtk-list gnome org'
Subject: RE: FProblem with GTK




-----Original Message-----
From: Jagadish K , Bangalore [mailto:jagadishk hcltech com]
Sent: Friday, May 27, 2005 7:02 PM
To: gtk-list gnome org
Subject: FProblem with GTK



Hi,
  I am using gtk for GUI application, where I required drag and drop option,
I downloaded a sample dnd program named testdnd.c
When compiled this program in VC++ compiler the following error listed below
are displayed.
Any help on this will be very helpful and also required some more dnd sample
programs for reference, kindly send me any link if available.
The error list are listed below

testdnd.obj : error LNK2001: unresolved external symbol _gtk_pixmap_set
testdnd.obj : error LNK2001: unresolved external symbol
_g_type_check_instance_cast
testdnd.obj : error LNK2001: unresolved external symbol _gtk_pixmap_get_type
testdnd.obj : error LNK2001: unresolved external symbol _g_print
testdnd.obj : error LNK2001: unresolved external symbol _g_free
testdnd.obj : error LNK2001: unresolved external symbol _gdk_atom_name
testdnd.obj : error LNK2001: unresolved external symbol _g_type_name
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_drag_get_source_widget
testdnd.obj : error LNK2001: unresolved external symbol _gtk_drag_get_data
testdnd.obj : error LNK2001: unresolved external symbol _gtk_drag_finish
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_selection_data_set
testdnd.obj : error LNK2001: unresolved external symbol _gtk_widget_hide
testdnd.obj : error LNK2001: unresolved external symbol _gtk_timeout_remove
testdnd.obj : error LNK2001: unresolved external symbol _gtk_timeout_add
testdnd.obj : error LNK2001: unresolved external symbol _gtk_widget_show
testdnd.obj : error LNK2001: unresolved external symbol _gtk_container_add
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_container_get_type
testdnd.obj : error LNK2001: unresolved external symbol _gtk_widget_show_all
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_signal_connect_full
testdnd.obj : error LNK2001: unresolved external symbol _gtk_object_get_type
testdnd.obj : error LNK2001: unresolved external symbol _gtk_drag_dest_set
testdnd.obj : error LNK2001: unresolved external symbol _gtk_table_attach
testdnd.obj : error LNK2001: unresolved external symbol _gtk_table_get_type
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_button_new_with_label
testdnd.obj : error LNK2001: unresolved external symbol _g_snprintf
testdnd.obj : error LNK2001: unresolved external symbol _gtk_table_new
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_window_set_position
testdnd.obj : error LNK2001: unresolved external symbol _gtk_window_get_type
testdnd.obj : error LNK2001: unresolved external symbol _gtk_window_new
testdnd.obj : error LNK2001: unresolved external symbol _g_file_test
testdnd.obj : error LNK2001: unresolved external symbol _gtk_main
testdnd.obj : error LNK2001: unresolved external symbol _gdk_drawable_unref
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_drag_source_set_icon
testdnd.obj : error LNK2001: unresolved external symbol _gtk_drag_source_set
testdnd.obj : error LNK2001: unresolved external symbol _gtk_pixmap_new
testdnd.obj : error LNK2001: unresolved external symbol _gtk_label_new
testdnd.obj : error LNK2001: unresolved external symbol
_gdk_pixmap_colormap_create_from_xpm_d
testdnd.obj : error LNK2001: unresolved external symbol
_gtk_widget_get_colormap
testdnd.obj : error LNK2001: unresolved external symbol _gtk_main_quit
testdnd.obj : error LNK2001: unresolved external symbol _gtk_init_abi_check
Debug/testdnd.exe : fatal error LNK1120: 40 unresolved externals
Error executing link.exe.

testdnd.exe - 41 error(s), 0 warning(s)

With Anticipation & regards,



Hi Jagadish,
             Even i'am a new User of Gtk on Windows, your's seem to be a
linking Error, so you have to add
all the Libraries that you have installed in the Project ===> Settings there
is an option called lib,
You would find some default libs there, i.e with .lib extension, you have to
add all the gtk/gdk *.lib there,
and you would have the DLL's installed somewhere as well , you would need to
have them in the PATH env. variable path as 
well,  that's what i did, hope it works for you as well !

All the best !

Cheers.
Simith
Jagadish.K
_______________________________________________
gtk-list mailing list
gtk-list gnome org
http://mail.gnome.org/mailman/listinfo/gtk-list

______________________________________________________________________
This email has been scanned via a message filtering facility.
If you have any issues with your email, please contact the IT Dept.



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