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 

How can I compile miniupnpc lib using MSVC 2008 express

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



Joined: 10 Dec 2009
Posts: 1

PostPosted: Thu Dec 10, 2009 5:14 am    Post subject: How can I compile miniupnpc lib using MSVC 2008 express Reply with quote

Hi,
How can I compile miniupnpc lib using MSVC 2008 express
any makefile or VC project/solution file exist?
or how can I make it?


Thanks
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1589

PostPosted: Thu Dec 10, 2009 10:01 am    Post subject: Re: How can I compile miniupnpc lib using MSVC 2008 express Reply with quote

tomas wrote:
Hi,
How can I compile miniupnpc lib using MSVC 2008 express
any makefile or VC project/solution file exist?
or how can I make it?


You should create a new project. Static library and add
files miniwget.c minixml.c igd_desc_parse.c minisoap.c miniupnpc.c upnpreplyparse.c upnpcommands.c upnperrors.c to it.

I should add a MSVC project file to the distribution.
_________________
Main miniUPnP author.
https://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: 1589

PostPosted: Thu Dec 10, 2009 10:08 am    Post subject: Reply with quote

See also http://miniupnp.tuxfamily.org/forum/viewtopic.php?t=397.
One remark : dont add test*.c nor minissdpc.c to the project.
_________________
Main miniUPnP author.
https://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: 1589

PostPosted: Fri Dec 11, 2009 5:55 pm    Post subject: Reply with quote

I added a MSVC 9 solution and projects files to build the static library and the binary :
miniupnpc-1.4.20091211.tar.gz
just go to the msvc subdirectory and open the .sln file !
_________________
Main miniUPnP author.
https://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.