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 

Libminiupnp for MSVC

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



Joined: 09 Nov 2008
Posts: 1

PostPosted: Sun Nov 09, 2008 6:05 pm    Post subject: Libminiupnp for MSVC Reply with quote

Hello, It seem the lastest miniupnp did compile in MSVC, but you have to do some thing:
-Don't add miniupnpcmodule.c, minissdpc.c, minissdpc.h and those test file to your lib project.
-Delete all LIBSPEC in all file( when not, I get unreference error).
-Comment #include "minissdpc.h" in miniupnpc.c.
and the project will compile enjoy your lib. Very Happy

it seem that the code of minissdpc not work with MSVC yet, they work with minGW, I'm still learning c++ so I don't know how to fix code of minissdpc so let wait for author Wink
Back to top
View user's profile Send private message
miniupnp
Site Admin


Joined: 14 Apr 2007
Posts: 1477

PostPosted: Mon Jan 03, 2011 3:59 pm    Post subject: Reply with quote

newer versions of miniupnpc include solution/project files for MS Visual C.
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.