GTK+ Forums Forum Index GTK+ Forums
Discussion forum for GTK+ and Programming. Ask questions, troubleshoot problems, view and post example code, or express your opinions.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

"link unresolved" in Visual Studio

 
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion
Author Message
os.555



Joined: 26 Apr 2008
Posts: 2

PostPosted: Sat Apr 26, 2008 3:35 pm    Post subject: "link unresolved" in Visual Studio Reply with quote

Hi,

I am trying to compile code using GTK in Visual Studio. I dont have much experience in using Visual Studio. GTK is my first external library I am trying to use, so I dont know exactly where I did mistake. I downloaded the gtk+-bundle from gtk site. I extracted it and try to link it in Visual - in Tools/Options/Projects and Solutions/VC++ Directories I added to Include files and Library files all paths to the libraries and headers. But still I am getting this error when I try to compile:
error LNK2019: unresolved external symbol _gtk_main referenced in function _main
How I have already said, I am not very experienced in these things and even after reading some advises in FAQ or on this forum, I am still completely lost here. Could someone please help me?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    GTK+ Forums Forum Index -> General GTK+ Discussion All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group
CodeBB 1.0 Beta 2
Protected by Anti-Spam ACP