Exclude folders from the build
Some examples contain superfluous folders that can interrupt or contaminate a build.
Building such examples results in compiler errors like:
error: unknown type name 'sint64'
,
error: unknown type name 'uint64'
or
error: use of undeclared identifier 'uint64'
.
The following changes are required to build these projects for LLVM Build configuration:
-
Right-click on the project, then
, delete /Libraries/iLLD if it is present, and click on Apply and close. -
Right-click on the project , then
, add the following folders, and click on Apply and close.
/Libraries/iLLD/TC49A/ArcEV, /Libraries/iLLD/TC49A/Csrm, /Libraries/iLLD/TC49A/Scr
/Libraries/Infra/Platform/ArcEV
/Libraries/Infra/Ssw/TC49A/Csrm -
Right-click on the project, then
, ensure that the Include paths do not contain any of the following directories and their subdirectories, click on Apply and close.
/Libraries/iLLD/TC49A/ArcEV, /Libraries/iLLD/TC49A/Csrm, /Libraries/iLLD/TC49A/Scr
/Libraries/Infra/Platform/ArcEV
/Libraries/Infra/Ssw/TC49A/Csrm -
One by one, Right-click on the following directories, then
, select your build configuration, and click OK (some may already have been disabled).
/Libraries/iLLD/TC49A/ArcEV
/Libraries/iLLD/TC49A/Csrm
/Libraries/iLLD/TC49A/Scr
Manually excluding these folders doesn’t always prevent them from being included again upon rebuilding.