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.

安装完SIMPLELINK_MSP432_SDK后是不是还要添加路径,怎么添加?

Buildfile generation error occurred..
Product 'com.ti.SIMPLELINK_MSP432_SDK' v1.30.0.40 is not currently installed and no compatible version is available. Please install this product or a compatible version.    用ccs运行代码的时候提示错误,我下载安装了SIMPLELINK_MSP432_SDK v2.2,运行之后还是这个错误,是不是还要有一个添加路径什么的,把这个给加进去啊?

  • 请根据帖子中的步骤操作:e2e.ti.com/.../624902
  • 我的好像和链接中的不太一样少了GENERAL
  • 安装SIMPLELINK_MSP432_SDK是不是也要什么特定的步骤或者位置啊?
  • 您是通过右键工程打开properties的么。
  • 通过右键工程打开找到了,不过好像还是有错误,是我软件安装有问题吗?
    **** Build of configuration Debug for project adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc ****

    "D:\\CCS\\ccsv6\\utils\\bin\\gmake" -k all
    'Building target: adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out'
    'Invoking: GNU Linker'
    "D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/arm-none-eabi-gcc.exe" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 -D__MSP432P401R__ -DDeviceFamily_MSP432P401x -ffunction-sections -fdata-sections -g -gdwarf-3 -gstrict-dwarf -Wall -Wl,-Map,"adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.map" -static -Wl,--gc-sections -L"D:/CCS/simplelink_msp432p4_sdk_2_20_00_12/source" -L"D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib" -L"D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib/thumb/v7e-m/fpv4-sp/hard" -march=armv7e-m -mthumb -mfloat-abi=hard -mfpu=fpv4-sp-d16 --specs=nano.specs -o"adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out" "./adc14_single_channel_external_reference.o" "./system_msp432p401r.o" "./gcc/startup_msp432p401r_gcc.o" -Wl,-T"../msp432p401r.lds" -Wl,--start-group -l:ti/display/lib/display.am4fg -l:ti/grlib/lib/gcc/m4f/grlib.a -l:third_party/spiffs/lib/gcc/m4f/spiffs.a -l:ti/drivers/lib/drivers_msp432p401x.am4fg -l:third_party/fatfs/lib/gcc/m4f/fatfs.a -l:ti/devices/msp432p4xx/driverlib/gcc/msp432p4xx_driverlib.a -lgcc -lm -lnosys -lc -Wl,--end-group
    makefile:155: recipe for target 'adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out' failed
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out uses VFP register arguments, D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-exit.o) does not
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-exit.o)
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out uses VFP register arguments, D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-impure.o) does not
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-impure.o)
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out uses VFP register arguments, D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-init.o) does not
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-init.o)
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out uses VFP register arguments, D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-memset.o) does not
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libc_nano.a(lib_a-memset.o)
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: error: adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out uses VFP register arguments, D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libnosys.a(_exit.o) does not
    d:/ccs/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/bin/../lib/gcc/arm-none-eabi/6.3.1/../../../../arm-none-eabi/bin/ld.exe: failed to merge target specific data of file D:/CCS/ccsv6/tools/compiler/gcc-arm-none-eabi-6-2017-q1-update/arm-none-eabi/lib\libnosys.a(_exit.o)
    collect2.exe: error: ld returned 1 exit status
    gmake: *** [adc14_single_channel_external_reference_MSP_EXP432P401R_nortos_gcc.out] Error 1
    gmake: Target 'all' not remade because of errors.

    **** Build Finished ****
  • 看一下您的CCS是否有显示已经安装了SDK。我用7.4版本的CCS是没有错误的

  • 不知道什么情况,什么也没改,突然好了
  • 很高兴您能解决问题!
  • 全部默认路径,应该可以自动识别。