revalNG / omnithreadlibrary

Automatically exported from code.google.com/p/omnithreadlibrary
0 stars 0 forks source link

Unable to compile test apps in Delphi 2010 / Windows Vista 32-bit #22

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I've downloaded the latest version of OTL (SVN on 31 May 2011) and cannot 
compile the hello world test on Delphi 2010, on Windows Vista 32 bit.  I manage 
to compile the 2010 design and runtime projects and can install the design-time 
BPL but cannot compile the test application.

[DCC Fatal Error] app_1_HelloWorld.dpr(20): F2051 Unit SysUtils was compiled 
with a different version of Windows.MakeWord

The unit it stops in is not an OTL unit but a Delphi one:
c:\program files\embarcadero\rad studio\7.0\source\Win32\rtl\win\UxTheme.pas.

It stops at the uses clause on the SyncObjs unit inside UxTheme.pas.

I went as far as doing a 'repair' install of my Delphi install but that didn't 
make a difference.

Any tips would be greatly appreciated.  

Original issue reported on code.google.com by eason.m...@gmail.com on 31 May 2011 at 11:27

GoogleCodeExporter commented 8 years ago
This is caused by mismatched Library path/Search path settings either in Delphi 
or in OTL project. You'll have to fix it yourself somehow. (Maybe you can ask 
on StackOverflow.)

Original comment by gabr42 on 31 May 2011 at 11:46

GoogleCodeExporter commented 8 years ago
Thanks for the quick reply.

Original comment by eason.m...@gmail.com on 31 May 2011 at 12:01

GoogleCodeExporter commented 8 years ago
FYI: I had to remove $(BDS)\source\Win32\rtl\win\; from my library paths.
Thanks for pointing me in the right direction.

Original comment by eason.m...@gmail.com on 31 May 2011 at 12:28