1 Reply Latest reply on Nov 15, 2017 10:01 PM by anks

    Build error:undefined reference to ...

    GuilhermeMachado

      Hi guys, im new to programing and psoc. On my project i cant acess to other funcions in my header files.

       

      i have my main:

      #include <project.h>

      #include <./ble.h>

       

      void InitSystem(){

         

          CyGlobalIntEnable; /* Enable global interrupts. */

       

       

          CyBle_Start(eventHandler);

       

      }

       

      int main(void)

      {

          InitSystem();

       

      }

         

      and my ble.h

       

      #ifndef _BLE_H_

      #define _BLE_H_

         

      #include <project.h>

      //Funções

      void eventHandler(uint32 event, void * eventParam);

       

      #endif

       

      im not able to acess to any funcion in ble.h and i cant understand why