Search code examples
c++winapilinker-errorsdelphi-xe5c++builder-xe5

C++ Builder XE5 linker is unable to open WINDOWS.OBJ


While trying to compile a C++ project in XE5 I get the following error:

[ilink32 Error] Fatal: Unable to open file 'WINDOWS.OBJ'

I already use "Windows" instead of "WinTypes" and "WinProcs" in my Delphi units.

Under "Delphi compiler" -> "Unit scopes" there is also the "WinAPI" entry.

Does anyone know what could be the problem?


Solution

  • Sounds like your search paths do not include an entry for $(BDS)\lib\$(Platform)\$(Config)