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 12.2。 最初、我有两个调试配置、`debug_EVK`和`debug_EV1`、这两个配置都使用 TI 的 armcl 编译器版本20。 然后、我使用 CCS 通过 tiarmclang 编译器3.2.0.LTS 版本创建`debug_EV1`配置的端口(同时保留原始版本):`debug_EV1__TIClang`。 一切都运行正常、直到我创建了一个`debug_EVK`的 tiarmclang 配置(同时保留了原始配置):`debug_EVK__TIARMCLANG`。 现在、当从 CCS 图形用户界面进行构建时、我无法构建任一 tiarmclang 项目。 从命令行调用 CCS 时、我第一次尝试编译时会发生相同的问题;实际上没有构建任何内容。 命令行和 GUI 的输出是相同的:"没有为项目 sp_app 构建的内容"。 (SP_APP 是我项目的名称)。
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". SLF4J: Defaulting to no-operation (NOP) logger implementation SLF4J: See www.slf4j.org/codes.html for further details. %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% CCS headless build starting... [Sun Dec 17 22:56:50 PST 2023] %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% ================================================================================ Pre processing... ================================================================================ Building... **** Build of configuration debug_ev1__TICLANG for project sp_app **** Nothing to build for project sp_app ================================================================================ CCS headless build complete! 0 out of 1 projects have errors.
当我再次构建时、我的项目实际上得到了正确构建。 make invocation 实际上会出现在日志中:
**** Build of configuration debug_ev1__TICLANG for project sp_app **** /opt/ti/ccs1220/ccs/utils/bin/gmake -k -j 8 all -O
我猜、出于某种原因、只会在第一次构建完成后才会生成 makefile。
只要我不删除任何 CCS 的临时文件、编译就会继续正常工作。 下面是 我在目录中删除的导致问题的内容:
daniel@ubuntu:~/path/to/projects/$ git clean -xdfff Removing janus_sp/ccs_workspace/.jxbrowser.userdata/ Removing janus_sp/ccs_workspace/.metadata/ Removing janus_sp/ccs_workspace/RemoteSystemsTempFiles/ Removing janus_sp/ccs_workspace/dvt/ Removing janus_sp/ccs_workspace/sp_app/.settings/ Removing janus_sp/ccs_workspace/sp_app/debug_ev1__TICLANG/ Removing janus_sp/ccs_workspace/sp_app/debug_evk__TICLANG/ Removing janus_sp/ccs_workspace/sp_app/project.log
我已经随附了 clang_issue_diff 文件、以在添加`debug_EVK__TICLANG`配置前后显示我的`. cproject`文件的差异。
以下是我在 CCS 调用过程中使用的 CLI 选项、谢谢预先设置:
$CCS_PATH/eclipse/ccstudio -noSplash \ -data "$CCS_WORKSPACE_DIR/" \ -application com.ti.ccstudio.apps.projectBuild \ -ccs.projects $CCS_PROJECT_NAME \ -ccs.configuration $CSS_BUILD_CONFIGURATION \ -ccs.buildType full \ -ccs.autoImport \ -ccs.copyIntoWorkspace false
您好!
您能提供一个小型测试用例吗? 与您的现有工程类似、但您可以将其剥离到最少数量的自包含源文件。
谢谢
小