title: Is It possible to Linking static library into dynamic library in Visual Studio?
body: <p>I am try to link a static library in a dynamic library tmxParser.lib in Visual Studio 2010 express. I have the static library set as a dependency of the dynamic library. When VS build the static library builds fine and creates tmxParser.lib. When VS builds the dynamic library I am getting linker errors. I tried to match the Runtime Library under property page -> Configuration properties -> C/C++ -> Code Generation
  It doesn't help. Anyone have any idea? </p>
  
  <pre><code>2&gt;LIBCMTD.lib(fopen.obj) : error LNK2005: _fopen already defined in s3e_d.lib(iwcrt_stdio.obj)
  2&gt;LIBCMTD.lib(open.obj) : error LNK2005: __open already defined in s3e_d.lib(iwcrt_win32.obj)
  2&gt;LIBCMTD.lib(open.obj) : error LNK2005: __sopen already defined in s3e_d.lib(iwcrt_win32.obj)
  2&gt;LIBCMTD.lib(chsize.obj) : error LNK2005: __chsize already defined in s3e_d.lib(iwcrt_win32.obj)
  2&gt;LIBCMTD.lib(read.obj) : error LNK2005: __read already defined in s3e_d.lib(iwcrt_win32.obj)
  2&gt;LIBCMTD.lib(close.obj) : error LNK2005: __close already defined in s3e_d.lib(iwcrt_win32.obj)
  2&gt;LIBCMTD.lib(lseek.obj) : error LNK2005: __lseek already defined in s3e_d.lib(iwcrt_win32.obj)
  2&gt;LIBCMTD.lib(setmode.obj) : error LNK2005: __setmode already defined in s3e_d.lib(iwcrt_win32.obj)
  </code></pre>