Skip to main content
Explorer
June 28, 2024
Question

undefined reference on converted cpp file from c ,after addition of edge impulse package

  • June 28, 2024
  • 1 reply
  • 861 views

I am working on a project to include edge impulse package into my code. But while integrating edge impulse package I got to change the c file to cpp. But the Ble package which was working fine prior is now not work fine as the code converted to cpp.

Abin_19_0-1719569167650.png

the files in bluenrg_ms file is not detected for the definition of functions to source code in main().

    This topic has been closed for replies.

    1 reply

    Super User
    June 28, 2024

    @Abin_19 wrote:

     I got to change the c file to cpp. But the Ble package which was working fine prior is now not work fine as the code converted to cpp.


    Could this be due to C++ name mangling?

     

    BTW: it's better to post the messages as text rather than a screenshot - copy & paste from the 'Console' tab ...

    also, there's generally more detail in the 'Console' output.