View previous topic :: View next topic |
Author |
Message |
olegs
Joined: 15 Oct 2007 Posts: 1
|
Posted: Mon Oct 15, 2007 11:05 pm Post subject: Is it possible to link libminiupnpc.a to MS VS project |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Tue Oct 16, 2007 8:29 am Post subject: Re: Is it possible to link libminiupnpc.a to MS VS project |
|
|
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.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
robbiehanson
Joined: 28 Jun 2008 Posts: 3
|
Posted: Sat Jun 28, 2008 9:31 pm Post subject: Re: Is it possible to link libminiupnpc.a to MS VS project |
|
|
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 |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
Posted: Sun Jun 29, 2008 7:54 pm Post subject: Re: Is it possible to link libminiupnpc.a to MS VS project |
|
|
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.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1589
|
|
Back to top |
|
|
|