This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[参考译文] CCS/MSP430G2955:Mac OS 上的 CCSv8 High Sierra:.pp makefile 均具有 Windows 文件路径

Guru**** 2539500 points


请注意,本文内容源自机器翻译,可能存在语法或其它翻译错误,仅供参考。如需获取准确内容,请参阅链接中的英语原文或自行翻译。

https://e2e.ti.com/support/microcontrollers/msp-low-power-microcontrollers-group/msp430/f/msp-low-power-microcontroller-forum/770012/ccs-msp430g2955-ccsv8-on-mac-os-high-sierra-pp-makefiles-all-have-windows-file-paths

器件型号:MSP430G2955

工具/软件:Code Composer Studio

我刚刚安装了用于 Mac OS (High Sierra)的 CCSv8。 当我尝试编译和调试导入的工程时、它在 gmake 中失败、并显示以下错误:

/Applications/ti/ccsv8/utils/bin/gmake -k all
subdir_rules.mk:6:***目标模式不包含"%"。  停下。

在搜索之后,似乎是由导入项目的 Debug 文件夹中的 gmake 的.pp 文件引起的,所有这些文件都引用了 Windows 路径名--导入的项目确实是在 Mac 上开发的原始项目。

例如、下面是主.pp 文件的几行:

C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include/intrinsics.h:
C:/ti/ccsv6/tools/compiler/ti-cgt-msp430_4.4.3/include/intrinsics_legacy_undefs.h:
C:/Customers/MspCommon/Include/Comm2x.h:
C:/Customers/MspCommon/Include/FlashMsp.h:

我可以确定 C:/ti/ccsv6文件的位置并更正 pp 文件、但我无法确定 C:/Customers/MspCommon 中文件的位置(最后两行)。

我正在终端中运行递归查找、以查看我是否可以找到 Comm2x.h 或 FlashMsp.h、但我无法找到它们。

这些是 CCS 软件包的一部分吗? 如果是、有人知道我在 Mac 上可以在哪里找到他们、请吗?

提前感谢

Andy