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.

how to access CCS projects from an RTSC Project?

Other Parts Discussed in Thread: SYSBIOS

I am working with CCSv6.1.1, sysbios sdk 21.1.2 and ICE v2. I am trying to build an example CCS project on RTSC platform. The CCS project is linked to other CCS projects. But the new RTSC project is not able to access those projects.

Can someone please guide me on this.

Regards

Pankesh Yadav 

  • Hi Pankesh,
    Are you talking about Project Dependencies? You can set them up in the project properties:
    processors.wiki.ti.com/.../Projects_and_Build_Handbook_for_CCS

    Thanks
    ki

  • I tried these project dependencies which you suggested, but still it gives library linking error.Below i  attach console log for the same.

    Thanks 

    Pankesh

    8233.Errors.txt
    **** Build of configuration Debug for project Exp ****
    
    "C:\\ti\\ccsv6\\utils\\bin\\gmake" -k all 
    making ../src/sysbios/sysbios.aa8fg ...
    gmake[1]: Entering directory `C:/Users/rohan/workspace_v6_1/Exp/src/sysbios'
    gmake[1]: Nothing to be done for `all'.
    gmake[1]: Leaving directory `C:/Users/rohan/workspace_v6_1/Exp/src/sysbios'
    'Building target: Exp.out'
    'Invoking: GNU Linker'
    "C:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/arm-none-eabi-gcc.exe" -mfloat-abi=hard -Dam3359 -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"Exp.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_45_00_19/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -L"C:/ti/sysbios_ind_sdk_2.1.1.2/sdk/starterware/binary/board/lib/am335x-evm/a8/ccs/am335x_debug" -L"C:/ti/sysbios_ind_sdk_2.1.1.2/sdk/starterware/binary/dal/lib/am335x-evm/a8/ccs/am335x_debug" -L"C:/ti/sysbios_ind_sdk_2.1.1.2/sdk/starterware/binary/utils/lib/am335x-evm/a8/ccs/am335x_debug" -L"C:/ti/sysbios_ind_sdk_2.1.1.2/sdk/starterware/binary/soc/lib/am335x-evm/a8/ccs/am335x_debug" -L"C:/ti/sysbios_ind_sdk_2.1.1.2/sdk/starterware/binary/examples/example_utils/lib/am335x-evm/a8/ccs/am335x_debug" -L"C:/ti/sysbios_ind_sdk_2.1.1.2/sdk/starterware/binary/device/lib/am335x-evm/a8/ccs/am335x_debug" -Wl,--defsym,STACKSIZE=0x1C000 -Wl,--defsym,HEAPSIZE=0x400 -o"Exp.out" "./gpio_app.o" "./main.o" -Wl,-T"../AM335x.lds" -Wl,-T"configPkg/linker.cmd" -Wl,--start-group -l"c" -l"libboard.a" -l"libdal.a" -l"libutils.a" -l"libsoc.a" -l"libexample_utils.a" -l"libdevice.a" -l"gcc" -l"m" -l"nosys" -Wl,--end-group 
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibboard.a
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibdal.a
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibutils.a
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibsoc.a
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibexample_utils.a
    c:/ti/ccsv6/tools/compiler/gcc-arm-none-eabi-4_8-2014q3/bin/../lib/gcc/arm-none-eabi/4.8.4/../../../../arm-none-eabi/bin/ld.exe: cannot find -llibdevice.a
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [Exp.out] Error 1
    gmake: Target `all' not remade because of errors.
    
    **** Build Finished ****
    

  • Hello Pankesh,
    My apologies for the late response. I have let many open threads slip through and this thread got lost among them.

    I assume the missing libraries it is complaining about are the libraries that are supposed to be generated by the dependent projects. If so, check to make sure the dependency was created properly. If it was, then you should have seen CCS attempt to build those projects first before building the main project. Was this the case? And were the builds for those successful? If so, then next thing to check is to make sure you have added the paths to those libs in the library search path for the linker. Just because a project dependency is created, it does not mean the main project can automatically find them

    Hope this helps
    ki