RE: Problem with GTK



Hi,
  Any suggestion will be very much helpful to me.
 
With Regards,
Jagadish.K
-----Original Message-----
From: Jagadish K , Bangalore
Sent: Thursday, June 16, 2005 10:00 PM
To: 'tml iki fi'
Subject: FW: Problem with GTK

 
Hi,
  All files are in the lib directory, no file was missing.
This problem are been solved by including all this files in "C:\PROGRAM FILES\MICROSOFT VISUAL STUDIO\VC98\lib", even though I set other include directory as path it was not taking, finally coping in this path the error been removed, but after running the application its giving different error like
 "The procedure entry point libiconv_set_relocation_prefix could not be located in the dynamic link library iconv.dll"
any suggestion will be very much helpful.
 
With Regards,
Jagadish.K
-----Original Message-----
From: Simith Nambiar [mailto:simith indtelesoft com]
Sent: Thursday, June 16, 2005 6:00 PM
To: Jagadish K , Bangalore
Subject: RE: FProblem with GTK

        glib-2.0.lib gobject-2.0.lib gtk-win32-2.0.lib   gdk-win32-2.0.lib gdk_pixbuf-2.0.lib   pangowin32-1.0.lib
  
         Have all these ? Gdk libraries might be missing  !
         Cheers.
         Simith
-----Original Message-----
From: Jagadish K , Bangalore [mailto:jagadishk hcltech com]
Sent: Thursday, June 16, 2005 5:08 PM
To: Simith Nambiar
Subject: RE: FProblem with GTK

Hi,
 I am using GTK-2.0, I searched for it, didn't find in any header file, but it displayed is available was in "libgdk-win32-2.0-0.dll".
 
After including gobject.lib this error got solved, but still other four error remains.
 
Compiling...
testdnd.c
c:\linux server wp-03\testdnd.c(468) : warning C4129: '%' : unrecognized character escape sequence
c:\linux server wp-03\testdnd.c(509) : warning C4101: 'widget_alloc' : unreferenced local variable
c:\linux server wp-03\testdnd.c(542) : warning C4129: '%' : unrecognized character escape sequence
c:\linux server wp-03\testdnd.c(542) : warning C4129: '%' : unrecognized character escape sequence
c:\linux server wp-03\testdnd.c(801) : warning C4101: 'pixmap' : unreferenced local variable
c:\linux server wp-03\testdnd.c(475) : warning C4700: local variable 'target_type' used without having been initialized
Linking...
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: 3 unresolved externals
Error executing link.exe.
 
testdnd.exe - 4 error(s), 6 warning(s)
 
With Regards,
Jagadish.K
-----Original Message-----
From: Simith Nambiar [mailto:simith indtelesoft com]
Sent: Thursday, June 16, 2005 3:11 PM
To: Jagadish K , Bangalore
Subject: RE: FProblem with GTK


-----Original Message-----
From: Jagadish K , Bangalore [mailto:jagadishk hcltech com]
Sent: Thursday, June 16, 2005 3:06 PM
To: Simith Nambiar
Cc: gtk-list gnome org
Subject: RE: FProblem with GTK



Hi jagadish,
              Not sure what your problem is, what version of Gtk are you using ?

Can you find g_type_check_instance_cast prototype in any of the files , like gtype.h

Do let me know that !

Cheers.
simith


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.

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


______________________________________________________________________
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]