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.

#1965 cannot open source file "xdc/std.h"

Other Parts Discussed in Thread: SYSBIOS

Доброго дня. CCS не работает нормально. При компиляции проекта сообщает что не может открыть два файла. Файлы существуют и доступны. https://youtu.be/WpV6ZKWXGA4 В чем может быть проблема?

  • Could you please save off the full output of the CCS build console to a text file and attach it here?

    Also, if this is a TI example project please let us know which project.

  • Good morning.
    The project is behaving inappropriately.
    It gives a different message at compile time.
    The window does not report errors.

    These attach the console.

    Apparently I have to forget about this project and start it again.

    I can not find how to attach a file.


    Console Data.
    ==============

    **** Build of configuration Release for project BS300816 ****

    "C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all
    making ../src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios'
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Clock_config.c', needed by `mangled_ti.sysbios.knl.Clock_config_lib.pp'.
    Preprocessing library source files ...
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Mailbox_config.c', needed by `mangled_ti.sysbios.knl.Mailbox_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Queue_config.c', needed by `mangled_ti.sysbios.knl.Queue_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Semaphore_config.c', needed by `mangled_ti.sysbios.knl.Semaphore_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Swi_config.c', needed by `mangled_ti.sysbios.knl.Swi_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Task_config.c', needed by `mangled_ti.sysbios.knl.Task_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Clock_TimerProxy_config.c', needed by `mangled_ti.sysbios.knl.Clock_TimerProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.knl.Task_SupportProxy_config.c', needed by `mangled_ti.sysbios.knl.Task_SupportProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.hal.Hwi_config.c', needed by `mangled_ti.sysbios.hal.Hwi_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.hal.Hwi_HwiProxy_config.c', needed by `mangled_ti.sysbios.hal.Hwi_HwiProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.BIOS_config.c', needed by `mangled_ti.sysbios.BIOS_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.BIOS_RtsGateProxy_config.c', needed by `mangled_ti.sysbios.BIOS_RtsGateProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.family.arm.m3.Hwi_config.c', needed by `mangled_ti.sysbios.family.arm.m3.Hwi_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.family.arm.m3.TaskSupport_config.c', needed by `mangled_ti.sysbios.family.arm.m3.TaskSupport_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.family.arm.cc26xx.Timer_config.c', needed by `mangled_ti.sysbios.family.arm.cc26xx.Timer_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.family.arm.cc26xx.TimestampProvider_config.c', needed by `mangled_ti.sysbios.family.arm.cc26xx.TimestampProvider_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.gates.GateHwi_config.c', needed by `mangled_ti.sysbios.gates.GateHwi_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.gates.GateMutex_config.c', needed by `mangled_ti.sysbios.gates.GateMutex_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.heaps.HeapMem_config.c', needed by `mangled_ti.sysbios.heaps.HeapMem_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/ti.sysbios.heaps.HeapMem_Module_GateProxy_config.c', needed by `mangled_ti.sysbios.heaps.HeapMem_Module_GateProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.Error_config.c', needed by `mangled_xdc.runtime.Error_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.Memory_config.c', needed by `mangled_xdc.runtime.Memory_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.System_config.c', needed by `mangled_xdc.runtime.System_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.SysCallback_config.c', needed by `mangled_xdc.runtime.SysCallback_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.Timestamp_config.c', needed by `mangled_xdc.runtime.Timestamp_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.Memory_HeapProxy_config.c', needed by `mangled_xdc.runtime.Memory_HeapProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.System_Module_GateProxy_config.c', needed by `mangled_xdc.runtime.System_Module_GateProxy_config_lib.pp'.
    gmake[1]: *** No rule to make target `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/Release/configPkg/package/cfg/xdc.runtime.Timestamp_SupportProxy_config.c', needed by `mangled_xdc.runtime.Timestamp_SupportProxy_config_lib.pp'.
    gmake[1]: Target `all' not remade because of errors.
    gmake[1]: Leaving directory `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios'
    gmake: *** [../src/sysbios/sysbios.aem3] Error 2
    'Building file: ../uartecho_cc26xx.cfg'
    'Invoking: XDCtools'
    "C:/TI/xdctools_3_31_01_33_core/xs" --xdcpath="C:/TI/tirtos_simplelink_2_13_00_06/packages;C:/TI/tirtos_simplelink_2_13_00_06/products/bios_6_42_00_08/packages;C:/TI/tirtos_simplelink_2_13_00_06/products/uia_2_00_02_39/packages;C:/TI/ccsv6/ccs_base;" xdc.tools.configuro -o configPkg -t ti.targets.arm.elf.M3 -p ti.platforms.simplelink:CC2650F128 -r release -c "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7" --compileOptions "-mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path=\"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include\" --include_path=\"C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600\" -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on " "../uartecho_cc26xx.cfg"
    making package.mak (because of package.bld) ...
    generating interfaces for package configPkg (because package/package.xdc.inc is older than package.xdc) ...
    configuring uartecho_cc26xx.xem3 from package/cfg/uartecho_cc26xx_pem3.cfg ...
    generating custom ROM library makefile ...
    Starting build of library sources ...
    making C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios'
    Preprocessing library source files ...
    Creating the SYS/BIOS library that contains the APIs not included in the ROM ...
    Library build complete.
    gmake[1]: Leaving directory `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios'
    Build of libraries done.
    clem3 package/cfg/uartecho_cc26xx_pem3.c ...
    'Finished building: ../uartecho_cc26xx.cfg'
    ' '
    'Building file: ../uartecho_cc26xx.c'
    'Invoking: ARM Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="uartecho_cc26xx.pp" --cmd_file="configPkg/compiler.opt" "../uartecho_cc26xx.c"
    "../uartecho_cc26xx.c", line 349: warning #552-D: variable "registers" was set but never used
    "../uartecho_cc26xx.c", line 840: warning #552-D: variable "registers" was set but never used
    'Finished building: ../uartecho_cc26xx.c'
    ' '
    'Building file: ../_include/Board.c'
    'Invoking: ARM Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="_include/Board.pp" --obj_directory="_include" --cmd_file="configPkg/compiler.opt" "../_include/Board.c"
    'Finished building: ../_include/Board.c'
    ' '
    'Building file: ../_include/bsp_spi.c'
    'Invoking: ARM Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="_include/bsp_spi.pp" --obj_directory="_include" --cmd_file="configPkg/compiler.opt" "../_include/bsp_spi.c"
    'Finished building: ../_include/bsp_spi.c'
    ' '
    'Building file: ../_include/ext_flash.c'
    'Invoking: ARM Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="_include/ext_flash.pp" --obj_directory="_include" --cmd_file="configPkg/compiler.opt" "../_include/ext_flash.c"
    'Finished building: ../_include/ext_flash.c'
    ' '
    'Building file: ../_include/flash_n.c'
    'Invoking: ARM Compiler'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 --include_path="C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --include_path="C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600" -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on --preproc_with_compile --preproc_dependency="_include/flash_n.pp" --obj_directory="_include" --cmd_file="configPkg/compiler.opt" "../_include/flash_n.c"
    'Finished building: ../_include/flash_n.c'
    ' '
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****








    next try
    =============



    **** Build of configuration Release for project BS300816 ****

    "C:\\TI\\ccsv6\\utils\\bin\\gmake" -k all
    ‘Є®ЇЁа®ў ­® д ©«®ў: 1.
    making ../src/sysbios/sysbios.aem3 ...
    gmake[1]: Entering directory `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios'
    Preprocessing library source files ...
    Library build complete.
    gmake[1]: Leaving directory `C:/BFF/GoogleDrive/__BFF/Bees/workspace_ti/BS300816/src/sysbios'
    'Building target: BS300816.out'
    'Invoking: ARM Linker'
    "C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/bin/armcl" -mv7M3 --code_state=16 --abi=eabi -me -O2 -g --gcc --diag_wrap=off --display_error_number --diag_warning=225 --diag_warning=255 --gen_func_subsections=on -z -m"BS300816.map" --heap_size=0 --stack_size=256 -i"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/lib" -i"C:/TI/ccsv6/tools/compiler/ti-cgt-arm_5.2.7/include" --reread_libs --display_error_number --diag_wrap=off --warn_sections --xml_link_info="BS300816_linkInfo.xml" --rom_model -o "BS300816.out" "./uartecho_cc26xx.obj" "./_include/Board.obj" "./_include/bsp_spi.obj" "./_include/ext_flash.obj" "./_include/flash_n.obj" -l"configPkg/linker.cmd" -l"libc.a" -l"C:/TI/tirtos_simplelink_2_13_00_06/products/cc26xxware_2_21_01_15600/driverlib/bin/ccs/driverlib.lib"
    <Linking>
    warning #10247-D: creating output section ".data" without a SECTIONS specification
    warning #10247-D: creating output section ".bss" without a SECTIONS specification
    warning #10247-D: creating output section ".const" without a SECTIONS specification
    warning #10247-D: creating output section ".text" without a SECTIONS specification
    warning #10247-D: creating output section ".ccfg" without a SECTIONS specification
    warning #10247-D: creating output section ".bss:.common" without a SECTIONS specification
    warning #10247-D: creating output section ".cinit" without a SECTIONS specification
    "configPkg/linker.cmd", line 728: warning #10096-D: specified address lies outside memory map

    >> Compilation failure
    error #10264: DEFAULT memory range overlaps existing memory range RAM
    error #10010: errors encountered during linking; "BS300816.out" not built
    gmake: *** [BS300816.out] Error 1
    gmake: Target `all' not remade because of errors.

    **** Build Finished ****
  • Yes it sounds like there is definitely something wrong about this project. Try deleting the "Release" directory and doing a Rebuild.

    If that still results in these types of errors, I would suggest starting with a known good version of the project (if one exists), or a baseline example on which it was based and build up on it.