miniupnp.tuxfamily.org Forum Index miniupnp.tuxfamily.org
The forum about miniupnp and libnatpmp
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Is it possible to link libminiupnpc.a to MS VS project

 
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation
View previous topic :: View next topic  
Author Message
olegs



Joined: 15 Oct 2007
Posts: 1

PostPosted: Mon Oct 15, 2007 11:05 pm    Post subject: Is it possible to link libminiupnpc.a to MS VS project Reply with quote

I've build libminiupnpc.a with MinGW, but if I add it to linker's external libraries VS still throws errors on link.
Sorry, if it's a dumb question, but can you give me any clue?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1501

PostPosted: Tue Oct 16, 2007 8:29 am    Post subject: Re: Is it possible to link libminiupnpc.a to MS VS project Reply with quote

olegs wrote:
I've build libminiupnpc.a with MinGW, but if I add it to linker's external libraries VS still throws errors on link.
Sorry, if it's a dumb question, but can you give me any clue?

I think you need to build the lib with MSVC. It should not be too difficult.
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
robbiehanson



Joined: 28 Jun 2008
Posts: 3

PostPosted: Sat Jun 28, 2008 9:31 pm    Post subject: Re: Is it possible to link libminiupnpc.a to MS VS project Reply with quote

miniupnp wrote:
I think you need to build the lib with MSVC. It should not be too difficult.


Any further instruction on this anywhere?
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1501

PostPosted: Sun Jun 29, 2008 7:54 pm    Post subject: Re: Is it possible to link libminiupnpc.a to MS VS project Reply with quote

robbiehanson wrote:
miniupnp wrote:
I think you need to build the lib with MSVC. It should not be too difficult.


Any further instruction on this anywhere?

I don't have MSVC installed but if my memory serves me right, you should create a new project : "win32 project" "static library" no ATL/no MFC, put all .c in the project, compile and you'll get your .lib
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1501

PostPosted: Mon Apr 18, 2011 8:29 pm    Post subject: Reply with quote

I have now added MSVC project/solution file in the msvc/ subdir. see
http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=597
_________________
Main miniUPnP author.
http://miniupnp.tuxfamily.org/
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    miniupnp.tuxfamily.org Forum Index -> miniupnpc Compilation/Installation All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP
© 2007 Thomas Bernard, author of MiniUPNP.