Aug 20, 2015 at 5:14pm UTC
I implemented the live555 library successfully and now I am trying to extend my application. However, when adding new header files such as
include <string>
I get the following error with the live555 libraries:
error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug in main.obj
I already updated my Project and main.cpp-Settings. I've set the Runtime Library to 'Multithreaded-DLL (/MD)'. But no difference.
When I remove the
include <string>
the project compiles perfectly fine.
Any ideas?
Last edited on Aug 20, 2015 at 5:15pm UTC
Aug 20, 2015 at 6:07pm UTC
Can you show more context? Where are you adding this #include?
Aug 20, 2015 at 6:13pm UTC
At the very top:
I have the live555 header files and then I want to add other header files:
1 2 3 4 5 6
#include "liveMedia.hh"
#include "BasicUsageEnvironment.hh"
#include "MediaSink.hh"
// new one:
#include <string>
This causes the error: error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MDd_DynamicDebug in main.obj
with the live555 library 'libgroupsock.lib' as soon as it's used to create the RTSPServer object.
Last edited on Aug 20, 2015 at 6:14pm UTC