Я добавил всего несколько операторов printf, чтобы лучше понять сжатие и то, что происходит за кулисами
Следуя инструкциям из ответа здесь, он компилируется до этих ошибок
Код: Выделить всё
Window.cpp
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(3209) : error C2220: warning treated as error - no 'object' file generated (../../../Windows\Shell.cpp)
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(3209) : warning C4917: 'OLE_HANDLE' : a GUID can only be associated with a class, interface or namespace (../../../Windows\Shell.cpp)
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(3211) : warning C4917: 'OLE_XPOS_HIMETRIC' : a GUID can only be associated with a class, interface or namespace (../../../Windows\Shell.cpp)
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(3213) : warning C4917: 'OLE_YPOS_HIMETRIC' : a GUID can only be associated with a class, interface or namespace (../../../Windows\Shell.cpp)
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(3215) : warning C4917: 'OLE_XSIZE_HIMETRIC' : a GUID can only be associated with a class, interface or namespace (../../../Windows\Shell.cpp)
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(3217) : warning C4917: 'OLE_YSIZE_HIMETRIC' : a GUID can only be associated with a class, interface or namespace (../../../Windows\Shell.cpp)
c:\program files (x86)\windows kits\8.0\include\um\ocidl.h(6463) : warning C4917: 'OLE_COLOR' : a GUID can only be associated with a class, interface or namespace (../../../Windows\Shell.cpp)
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\cl.EXE"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 11.0\VC\BIN\nmake.exe"' : return code '0x2'
Stop.
Пожалуйста, помогите.
Подробнее здесь: https://stackoverflow.com/questions/782 ... in-windows