[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gtk-app-devel
Subject:    Re: Hi all, When compile my project I get this link error !!!
From:       Taura Milana <learfox () furry ! ao ! net>
Date:       2002-03-28 22:48:39
[Download RAW message or body]

On 2002.03.28 18:51 Mario López wrote:
> Thanks for all, friends!!! , specialy to Philip Bunce for your help
> 
> OK, after a long time working in to location of GTK+ libraries, when
> finished and press compile button, I say,,, Guauuuu it's all
> But I have seen the next .... (I am using MSVC 6.0 ....)
> 
> --------------------Configuration: hello - Win32
> Debug--------------------
> Linking...
> hello.obj : error LNK2001: unresolved external symbol _g_print
> hello.obj : error LNK2001: unresolved external symbol _gtk_main_quit
> hello.obj : error LNK2001: unresolved external symbol _gtk_main
> hello.obj : error LNK2001: unresolved external symbol _gtk_widget_show
> hello.obj : error LNK2001: unresolved external symbol _gtk_container_add
> hello.obj : error LNK2001: unresolved external symbol _gtk_widget_destroy
> hello.obj : error LNK2001: unresolved external symbol
> _gtk_button_new_with_label
> hello.obj : error LNK2001: unresolved external symbol
> _gtk_container_set_border_width
> hello.obj : error LNK2001: unresolved external symbol
> _gtk_container_get_type
> hello.obj : error LNK2001: unresolved external symbol
> _g_signal_connect_data
> hello.obj : error LNK2001: unresolved external symbol
> _g_type_check_instance_cast
> hello.obj : error LNK2001: unresolved external symbol _gtk_window_new
> hello.obj : error LNK2001: unresolved external symbol _gtk_init_abi_check
> Debug/hello.exe : fatal error LNK1120: 13 unresolved externals
> Error executing link.exe.
> 
> hello.exe - 14 error(s), 0 warning(s)
> 

Did you add the appropriate GTK libs to your project files?

I'm not fluent with compiling stuff on Windows with VC, but
I often find that ist he problem.  There is probably some
GTK .lib you need to add to your project.


--
Sincerely,                  ,"-_                         \|/
-Capt. Taura M.             ,   O=__                    --X--
..__                         ,_JNMNNEO=_                 /|\
OMNOUMmnne.                  {OMMNNNEEEEOO=_
UOOOBIOOOEOMMn.               'LONMMMMNNEEEOOO=.__..,,..
UUOOEUUOOOOOOOObe              '"=OMMMMWNEEEOOOOO,"=OEEEOO=,._
OOUUUIEEIOONNOIUbe.                "7OMMMMNNNNNWWEEEEOOOOOO"   "'.
EEBNNMMMNWNWWEEIMMNe.             __  7EMMMNNNNNWWWEEEEEEEOO.     " .
NNMMMMWWWMMMWEINMMMNn            "=BBEEEEMMMMMMMMNNNWWWEEOOOOO=._     .
                  http://furry.ao.net/~learfox/
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic