有一个SR树的源代码,里面有MAKEFILE文件,然后nmake   all可以编译并生成一个DLL文件,然后从命令行执行源代码中的测试例子也可以,我现在的问题是新建立一个控制台工程,把这些测试例子拷到工程中,设置好路径(INCLUDE,LIB),然后用VC6.0编译有一个错误:d:\research\code\srtree\hnsrtree-2.0beta5a\hnsrtree-2.0beta5a\include\hnsrtree\config.h(6)   :   fatal   error   C1189:   #error   :     libHnSRTree.dll   requires   programs   to   be   compiled   with   the   /MD   switch   so   that   the   global   variables   (e.g.,   errno)   will   be   shared   
among   the   run-time   library,   the   SR-tree   library,   and   user's   object   files. config.h如下: 
#define   HAVE_MEMMOVE #define   vsnprintf(s,   n,   format,   ap)     vsprintf(s,   format,   ap) #if   !defined(_MT)   ¦ ¦   !defined(_DLL) 
#error   libHnSRTree.dll   requires   programs   to   be   compiled   with   the   /MD   switch   so   that   the   global   variables   (e.g.,   errno)   will   be   shared   among   the   run-time   library,   the   SR-tree   library,   and   user's   object   files. 
#endif 好象是/MD   的问题,这个我在命令行中编译时是作为参数的。 
请问问题在哪,望高手指点!!!