工具/软件:Code Composer Studio
CCSv9、NDK 3.61、 SYSBIOS 6.76、GNU 7.2
编译错误。 正在定义 __bsd_visible 并导致错误。 示例:
构建文件:"c:/Vinegar/drv/accel/Accelerometer.cpp /ti/ns_2_60_01_06/source/ti/net/bsd /ti/pdk_k2hk_4_0_16/packages /Vinegar/drv /Vinegar/drv/accel/Accelerometer.cpp "调用:GNU 编译器"C:/ti/ccs930/ccs/tools/compiler/gcc-arm-none-eabi-7-2017-q4-major-win32/bin/arm-none-eabi-gcc-7.2.1.exe /Vinegar/v_controller "-c -mfloat-abi=hard -DFAR =-D_DYNAL_REENT_-DCSE_TIRTOS -DSOC_K2H -DDEVICE_K2H -DevmK2H -D_IPC_-i"C:/ov-wmf ramt/unuse-accometer -msp"-mf @-mf -dr -mv/dr -mf -mf -mf -mcr -mf -mcr -intrab/df -mf -mf -mf -mf -mf -intrab/dr -mf -mf -mf -mf -mf -mf -mf -mf -mf -mcr -intrab/df -mf -mf -mf -mf -mf -mf -mf -mf -mf -intrab/chepdf -mf -mf -mf -mf -mf -mf -mf 目标'DRV/accel/Accelerometer.o'的配方失败 、无法在 包含在 c:\ti\BIOS_6_76_03_01\packages/GNU\Targets\arm\libs\install-native\arm-native\native-note-none-eabi\eabi\h:0\packages 中的文件中找到 C:\b醋\panel_arm0\evm\evm\evm\evm\evm\emb\install-native.o 从 c:\ti\BIOS_6_76_03_01\packages/GNU\Targets\arm\libs\install-native\arm-no-eabi\include\stdio.h:61、 从 C:/Vinegar/drv/accel/Accelerometer.cpp:7: C:/ti/ns_2_60_01_06/source/ti/net/bsd/sys/select.h:45:10:致命错误:TI/net/bSD/errnoutil.h:无此类文件或目录 #include ^~~~~~~~~~~~~~~~~~~~~~~~μ A 编译已终止。 gmake.1]:***[drv/accel/Accelerometer.o]错误1.
BSD_Visible 如何获得? 在我的项目的某些部分中、我希望使用 BSD。 我是否可以不包括 stdio.h、type.h、time.h 等常见头文件?