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/MSP430F5335: Cannot compile library in Windows 10

Part Number: MSP430F5335
Other Parts Discussed in Thread: CCSTUDIO

Tool/software: Code Composer Studio

Windows 10.

CCS8

Here is the output

warning #10366-D: automatic library build: using library "C:\ti\ccsv8\tools\compiler\ti-cgt-msp430_18.1.1.LTS\lib\rts430x_lc_ld_eabi.lib" for the first time, so it must be built.  This may take a few minutes.
gmake.exe[1]: *** [c:/users/timofe~1/appdata/local/temp/ti_mkl~1/obj/e_atanh.c.obj] Error -1073741502
Makefile:1135: recipe for target 'c:/users/timofe~1/appdata/local/temp/ti_mkl~1/obj/e_atanh.c.obj' failed
Makefile:1135: recipe for target 'c:/users/timofe~1/appdata/local/temp/ti_mkl~1/obj/e_lgamma.c.obj' failed
gmake.exe[1]: *** [c:/users/timofe~1/appdata/local/temp/ti_mkl~1/obj/e_lgamma.c.obj] Error -1073741502
Makefile:1183: recipe for target 'c:/users/timofe~1/appdata/local/temp/ti_mkl~1/obj/s_modff.c.obj' failed
gmake.exe[1]: *** [c:/users/timofe~1/appdata/local/temp/ti_mkl~1/obj/s_modff.c.obj] Error -1073741502

  • Hi,

    We tried to reproduce this issue here with a few Win10/64 hosts (builds 1607 and 1709) to no avail. I see also that you did communicate with Ki-Soo in the past regarding the same error.

    At the moment I will simply forward the library to you. Unfortunately we haven't been able to reproduce this here yet. 

    Hope this helps,

    Rafael

    rts430x_lc_ld_eabi.rar

  • Thank you, but the issue can be due to Windows WSL (docs.microsoft.com/.../about) which I extensively use. My installation is very plain, nothing special. To solve this, I simply build the library using Linux Virtual box CCS installation, it is a work-around but it is not a graceful solution.
  • Hi,

    I also have the basic WSL installed on my machine - although not with a full blown Linux install, which would pack additional utilities and shells that could conflict with the mklib utility.

    Perhaps one alternative would be to set the PATH variable to add both C:\ti\ccsv8\utils\cygwin and C:\ti\ccsv8\utils\bin before any other path, and then call ccstudio.exe. This could be done directly by opening a command line or via a batch file linked to the Desktop Shortcut.

    Regards,
    Rafael
  • Thank you, but honestly I have no idea how Windows works and how to deal with the paths, so I am not planning to touch it.  So as long as the bug is there, I am planning to compile the lib in Ubuntu.