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.

Unresolved Symbol Kitronix320x240x16_SSD2119Init

Hello,

I have a problem starting a new project in CCS 4.

I set the compiler and the pathes for the different header files and then I tried to build my project for debug.

The source code (quite simple) :

#include "inc/hw_memmap.h"
#include "inc/hw_nvic.h"
#include "inc/hw_sysctl.h"
#include "inc/hw_types.h"
#include "drivers/set_pinout.h"
#include "driverlib/gpio.h"
#include "driverlib/flash.h"
#include "driverlib/sysctl.h"
#include "driverlib/systick.h"
#include "driverlib/uart.h"
#include "driverlib/udma.h"
#include "driverlib/rom.h"
#include "grlib/grlib.h"
#include "utils/ustdlib.h"
#include "drivers/kitronix320x240x16_ssd2119_8bit.h"
#include "drivers/touch.h"


int
main(void)
{
    PinoutSet();
    Kitronix320x240x16_SSD2119Init();
    
    

while(1)

{

}

}

I always get the next error messages:

undefined                      first referenced  
  symbol                            in file       
 ---------                      ----------------  
 Kitronix320x240x16_SSD2119Init ./probaproject.obj
 PinoutSet                      ./probaproject.obj

error: unresolved symbols remain
error: errors encountered during linking; "probaproject.out" not built

Can you help me what can be the problem?

Thank you very much

David




  • Your code is trying to call some functions, or refer to some data, that goes by the names of those undefined symbols.  That code or data is probably in a library.  You need to find that library and add it to your project.

    Thanks and regards,

    -George

  • In Stellarisware, Kitronix320x240x16_SSD2119Init() is defined in the file kitronix320x240x16_ssd2119_8bit.c and PinoutSet() is defined in set_pinout.c. They are both in the /drivers sub-folder within the specific board directory Be sure to add these two files to your project.

  • Thank you very much guys!

    It solved, but I had to create a directory and copy the header files there.. I don't know why I couldn't linked theese files from the original directory.

    Now working :)

    Best Regards, David