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.

LAUNCHXL-CC2650: Invalid location error - Can't build the project imported

Part Number: LAUNCHXL-CC2650


Hi There,

I exported a project by referring to "Sharing Linked Files Project" section of this guideline. But after importing the project I still can't build it. I notice there are "invalid location errors" at project > project properties > resource > linked resources. Also I see the console log prints are different: from original project it read "Building target: "simple_peripheral_cc2650lp_app.out" Invoking: ARM Linker". from imported project it reads "Building file: "C:/ti/simplelink/ble_sdk_2_02_01_18/examples/cc2650lp/simple_peripheral/ccs/config/app_ble.cfg" Invoking: XDCtools".

Attached screenshots here for your reference:

1) project export settings:

2) project import screen:

3) "invalid location error":

4) console prints from original project:

5) console prints from imported project:

  • Hi jiaming,

    Are you exporting/importing the project to the same system or a different one?  If different then you need to make sure you are using the same CCS version and that all of the same dependency versions (BLE SDK, Compiler, XDCTools) are installed in the proper location.  The original project has already been built which is why the linker is immediately invoked, the imported project needs to build and thus invoked XDCTools.  You should verify the invalid locations on your system.

    Regards,
    Ryan

  • Yes Ryan, I did make sure ccs, compiler, ble stack, xdc tools versions are the same on both laptops. I think it is related to using absolute path. I'm going to create a new workspace on the old laptop and try to import over there and then change absolute path to relative path.

    updates on 11/9/2020:

    I was able to build on my local after copy the ble_sdk_2_02_01_18 folder from the source laptop to the target laptop.