View previous topic :: View next topic |
Author |
Message |
Chunky
Joined: 07 Jul 2015 Posts: 2 Location: FRANCE
|
Posted: Tue Jul 07, 2015 7:18 pm Post subject: Compile with both miniupnpc and natpmp |
|
|
Hello,
I'm having troubles compiling a project which uses both libminiupnpc and libnatpmp (static version for both).
I think it's because those two libraries have their own declspec.h file with different define statements inside (I'm on windows so : LIBSPEC for natpmp and MINIUPNPC_LIBSPEC for miniupnp) but just one of them is included depending which library I include first (miniupnpc.h or natpmp.h)...
I know it is a normal behavior but I don't know how to "fix" this problem properly
Can you help me ? |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
Posted: Thu Jul 09, 2015 10:19 am Post subject: |
|
|
rename files...
it should be done, but I have had no time yet... _________________ Main miniUPnP author.
https://miniupnp.tuxfamily.org/ |
|
Back to top |
|
|
Chunky
Joined: 07 Jul 2015 Posts: 2 Location: FRANCE
|
Posted: Thu Jul 09, 2015 5:32 pm Post subject: |
|
|
Thank you, I did not know if it was a proper way to do
And thank you also for all the good work you did with those libraries! |
|
Back to top |
|
|
miniupnp Site Admin
Joined: 14 Apr 2007 Posts: 1593
|
|
Back to top |
|
|
|