Compile error after installation

Hello,

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:

Winapi;System.Win;Data.Win;Datasnap.Win;Web.Win;Soap.Win;Xml.Win;Bde;System;Xml;Data;Datasnap;Web;Soap;Vcl;Vcl.Imaging;Vcl.Touch;Vcl.Samples;Vcl.Shell

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?