Part Number: MSP-EXP432P4111
Tool/software: TI C/C++ Compiler
on Linux 16.04 and CCS Version: 8.0.0.00016, MSP-EXP432P4111
I would like to use gtest ( google test) to run unit tests for TI code (ti-cgt-arm-18.1.1.LTS).
I get errors:
"/usr/local/include/gtest/internal/gtest-port.h", line 266: fatal error #1965: cannot open source file "sys/stat.h"
This is normal since the TI compiler doesn't search in the normal linux header locations.
In my CCS installation folder I have:
~/ti
❯ print -l **/stat.h
ccsv8/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major/arm-none-eabi/include/sys/stat.h
simplelink_msp432p4_sdk_2_10_00_14/kernel/tirtos/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/include/sys/stat.h
This suggests that I either have to use gcc or the stat.h from the SDK. But I don't understand what "install-native" means in the path. And why is this header part of the tirtos package ? Shouldn't this file be available independently from the stack I use (RTOS or bare metall) ?
Regards
Peter


