How to get rid of errors c1189 ?
Posted: Fri Aug 23, 2013 8:44 pm
Hello! I'm new into C++ programming and i'm interested in RCF for my PhD studies. I'm currently attempting to build a static library out of RCF-2.0.0.2685. I managed to avoid the problem caused by winsock.h but i'm still encountering the following 3 errors...
Error 1 error C1189: #error : UNICODE and _UNICODE should only be defined for Windows builds. d:\cpp projects\librcf\librcf\include\rcf\util\tchar.hpp
Error 2 error C1189: #error : RCF_FEATURE_FILETRANSFER=1 must be defined d:\cpp projects\librcf\librcf\include\rcf\filestream.hpp
Error 3 error C1189: #error : RCF_FEATURE_FILETRANSFER=1 must be defined d:\cpp projects\librcf\librcf\include\rcf\filestream.hpp
Any ideas of how them can be removed and cause no other damage to the project? I use VS 2012 express for building under Windows 7 Professional...
Thanks you in advance!
Andrei
Error 1 error C1189: #error : UNICODE and _UNICODE should only be defined for Windows builds. d:\cpp projects\librcf\librcf\include\rcf\util\tchar.hpp
Error 2 error C1189: #error : RCF_FEATURE_FILETRANSFER=1 must be defined d:\cpp projects\librcf\librcf\include\rcf\filestream.hpp
Error 3 error C1189: #error : RCF_FEATURE_FILETRANSFER=1 must be defined d:\cpp projects\librcf\librcf\include\rcf\filestream.hpp
Any ideas of how them can be removed and cause no other damage to the project? I use VS 2012 express for building under Windows 7 Professional...
Thanks you in advance!
Andrei