Exclude folders
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 Properties → AURIX Development Studio → AURIX Build Booster → Libraries paths, delete
/Libraries/iLLDif it is present, and click on Apply and close. -
Right-click on the project , then Properties → AURIX Development Studio → AURIX Build Booster → Ignore paths, 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 Properties → C/C++ General → Paths and Symbols → Includes → GNU C, 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 Resource Configuration → Exclude from build, 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.
In extreme cases, it might help to completely delete folders like:
-
/Libraries/Infra/Platform/ArcEV
/Libraries/iLLD/TC49A/ArcEV
/Libraries/iLLD/TC49A/Scr.
Changes made in the /library folder can be reset anytime by running the iLLD updater.
If these issues are persistent the user might want to disable the auto-discover compiler include paths feature found in project Properties → Aurix Development Studio → Build after the include paths are configured. If the build system correctly identifies the needed source files, the include paths will be updated automatically even if the build was unsuccessful. Turning off the auto-discover feature helps to avoid unwanted folders re-appearing in the above-mentioned settings.