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/MSP-EXP432P401R: Voice Recognition Compilation Errors

Part Number: MSP-EXP432P401R

Tool/software: Code Composer Studio

Hello all, I have been running into an error when trying to run the example code provided for the voice detection plugin. I have made sure that I have linked the correct FREERTOS install directory, but there still seems to be a problem with it. The first error I get is as follows 

subdir_rules.mk:9: recipe for target 'main_freertos.obj' failed
"../main_freertos.c", line 41: fatal error #1965: cannot open source file "pthread.h"

Any help would be appreciated. Thank you.

  • Hi Brandon,
    Based on the error messages, it sounds like the compiler was unable to find the "pthread.h" header file. Do you have the path to it in your compiler project project properties?

    Thanks
    ki
  • Hello,
    I haven’t heard back from you, I’m assuming you were able to resolve your issue. If not, please post a reply with an update below (or create a new thread).

    thanks,
    ki
  • Sorry, I was working with another version that didn't have the same error, but it also was not working. The error came from different versions of the MSP 432 SDK. When the voice detection example was written it used an older version of the sdk than I had installed. The new version does not have the file path specified, so I returned to the older version and tried to used it. However, CCS told me that I needed to use the most current version of the SDK, so to comply I created the necessary file path and files in the new SDK version. The new issue is that the files are included, but the error I get now says that the types don't match. I guess my question now is, is there a new path created for these files (FREERTOS) in the newer version, or were they removed due to obsolescence?
  • Brandon - it is likely best to ask the SDK experts in the MSP forum. They should be able to hep you get through your various build issues.

    Good luck!
    ki