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.

Porting Eigen Library set on CCS 4.2.3

Other Parts Discussed in Thread: OMAPL138

Hi

I have a project in linear algebra which requires working on matrices and vectors (very high dimesions e.g 500*500)

I wrote my code in visual studio(using eigen library) and compiled it now I want to write my code in code composer and run in on my omapl138 .

but it doesn't compile successfully and I don't know how to port this library on CCS , would you please tell me what's wrong and what should I do ?!

would you please name some of mathematical libararies which is compatible with CCS ?

P.S

I added the library path in build option settings so CCS finds the library and headers but cannot compile it !!!

question no 2.  as I said I'm working with omapl138 and I use BSL(board support library) for writing my DSP code . which library set you do recommend  for writing my code (CSL ....)

I want to use upp and uart and I don't know how and which library is the best ! 

here it is a picture of the output window of CCS and my code which is only 5 lines !!

4747.CCS.rar 

  • Hi,

    The error messages indicate the problems are inside the file Matrix.h, therefore your investigation should start there. More specifically, you should start with the first error message (the identifier Matrix is undefined) and work your way down the list (sometimes the first error causes others to be shown, thus this is good practice). 

    There are no errors in the <Code.cpp> file, although the best practice would be to include the Matrix.h file and the path in the compiler options.

    All that said, porting libraries from such different environments will be a much more involving task as details about the C++ implementation may be very different between the two. You can either venture in this task and reference the articles and user manuals in the compiler wiki category or use one of the available DSP-optimized DSP libraries called DSPLIB

    http://processors.wiki.ti.com/index.php/DSPLIB

    Rahim panahi1 said:

    question no 2.  as I said I'm working with omapl138 and I use BSL(board support library) for writing my DSP code . which library set you do recommend  for writing my code (CSL ....)

    I want to use upp and uart and I don't know how and which library is the best ! 

    The BSL (Board Support Library) is a set of functions that exercise the board's peripheral circuits external to the device (ADC/DAC, specific memory chips, display, etc.). The CSL, on the other hand, is designed to initialize the internal device peripherals (McBSP, EMIF, display controller, etc.). Thus both can be used in conjunction in your project.

    Obviously that another approach is to start from an example project or training session. Please check the Training wiki page below that shows a comprehensive list of available training sessions and labs.

    http://processors.wiki.ti.com/index.php/Hands-On_Training_for_TI_Embedded_Processors

    The experts in the OMAPL forum will have better insights about any hardware related questions.

    Hope this helps,

    Rafael