|
From: blackxx <ab...@we...> - 2011-11-28 13:22:19
|
Hello to all. I have a Visual C++ 6.0 static library Project. I use the MFC library and to compile the project I have to set the compiler-option /MD (because it's a multithreaded Dll projekt) For the preprocessor you have to set the flag "_AFXDLL". Now I createt a Eclipse+CDT+MinGW static library project with the same settings. But I can't set the flag /MD for a gnu compiler. Thats why I get the error Message: C:\Program Files\Microsoft Visual Studio\VC98\MFC\Include/afxver_.h:130:3: error: #error Please use the /MD switch for _AFXDLL builds Can anybody help me out please? :) greetings blackxx |