Compile error after installation


After installing Delphi 12.1 and TMS VCL UI Pack on a new laptop, I get the following error when I try to compile an existing project (I copied from another PC)

[dcc32 Fatal Error] AdvUtils.pas(107): F2063 Could not compile used unit 'JPEG'

I had these errors in the past, and somehow they always apear after udpates/newer versions.

Is there something wrong in my project? I have no idea what causes this...

kind regards,

Dirk Janssens

Check your project unit scope names and make sure these are set to:


I checked it and changed it. As far as I can see it is the same, but I still get the errors...

Do I overlook something maybe?

You compile for 32bit?