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/AWR1642: cannot find file "dsplib.ae64P" cannot find file "mathlib.ae674"

Part Number: AWR1642
Other Parts Discussed in Thread: MATHLIB

Tool/software: Code Composer Studio

Hi all,

I am trying to run the mmw demo but when I try to compile the mmw_dss project, I get the error that the dsplib.ae64P and matlib.ae674 files are missing. However I have already installed appropriate versions of mathlib and dsplib.

Another error I am getting is as follows :

undefined     first referenced
symbol           n file
---------         ----------------
DSP_        fft16x16 ./dss_data_path.oe674
DSP_        fft32x32 ./dss_data_path.oe674
divsp         ./dss_data_path.oe674
gen_twiddle_fft16x16 ./dss_data_path.oe674
gen_twiddle_fft32x32 ./dss_data_path.oe674
log2sp ./dss_data_path.oe674
sqrtsp ./dss_data_path.oe674

I checked and I already have these header files in the directory. 

What could possibly be going wrong?

Thanks 

  • Hi Amol,

    Are you trying to build the mmw_dss project using the 16xx CCS project spec available under mmWave training Series on TI Resource Explorer or  the makefile in the mmWave SDK?

    Regards

    -Nitin

  • Hi Nitin,

    I am trying to build the project using the resource explorer
  • Amol,

    Can you please ensure that you have the exact versions of DSPLIB and MATHLIB, as mentioned in the mmWave SDK 1.0.0.5 release notes, installed on your workbench? The corresponding download pages for both library have multiple installers (with different target architectures). I have highlighted the installers you need to select in the images below:

    1. C64x+ DSPLIB version 3.4.0.0

     

    2. C674x MATHLIB version 3.1.2.1

    Thanks

    -Nitin

  • Hi Nitin,

    I am using the exact same versions of both the libraries only difference being that they are in Linu.bin format.

    You can see that the errors are as follows :

    The other files like DSP_fft16x16 also exist and are inside the ti folder. But still it shows to be undefined symbol. I feel there is some issue with linking of these 2 libraries with the code composer studio compiler.

  • Amol,

    The mmWave training CCS projects were developed and tested on Windows only and we haven't tried these on Linux. That being said, the issue here seems to be related to the following path variables which are defined in the projectspec file and you need to modify these according to the install locations on your Linux environment. You will need to modify the ORIGINAL projectspec file which is downloaded under mmwave_training_1_1_3 in your ti base directory (on Windows, this is generally C:\ti\mmwave_training_1_1_3).

    1. Locate mmw_dss.projectspec on your linux filesystem. On Windows, this is generally C:\ti\mmwave_training_1_1_3\demos\demo0005-mmwave-sdk-16xx\demo0005_mmwave_sdk_16xx_pjt

    2. Modify the following path variables in the projectspec according to the install locations for DSPLIB and MATHLIB on your filesystem. Save mmw_dss.projectspec.

    <pathVariable name="TI_DSPLIB_BASE" path="C:/ti/dsplib_c64Px_3_4_0_0"/>
    <pathVariable name="TI_MATHLIB_BASE" path="C:/ti/mathlib_c674x_3_1_2_1"/>

    3. Delete the currently imported dss project in CCS. Make sure that the "Delete project contents on disk" option is checked to remove the project from your workspace.

    4. Re-import the modified projectspec, either from Resource explorer or directly from the filesystem, and rebuild.

    Thanks
    -Nitin

  • Nitin Sakhuja said:

    Amol,

    The mmWave training CCS projects were developed and tested on Windows only and we haven't tried these on Linux. That being said, the issue here seems to be related to the following path variables which are defined in the projectspec file and you need to modify these according to the install locations on your Linux environment. You will need to modify the ORIGINAL projectspec file which is downloaded under mmwave_training_1_1_3 in your ti base directory (on Windows, this is generally C:\ti\mmwave_training_1_1_3).

    1. Locate mmw_dss.projectspec on your linux filesystem. On Windows, this is generally C:\ti\mmwave_training_1_1_3\demos\demo0005-mmwave-sdk-16xx\demo0005_mmwave_sdk_16xx_pjt

    2. Modify the following path variables in the projectspec according to the install locations for DSPLIB and MATHLIB on your filesystem. Save mmw_dss.projectspec.

    <pathVariable name="TI_DSPLIB_BASE" path="C:/ti/dsplib_c64Px_3_4_0_0"/>
    <pathVariable name="TI_MATHLIB_BASE" path="C:/ti/mathlib_c674x_3_1_2_1"/>

    3. Delete the currently imported dss project in CCS. Make sure that the "Delete project contents on disk" option is checked to remove the project from your workspace.

    4. Re-import the modified projectspec, either from Resource explorer or directly from the filesystem, and rebuild.

    Thanks
    -Nitin

    Hi Nitin,

    I followed the steps which you recommended but still no success. I have the following errors now. Also while compiling I can see some gmake commands which are related to windows. Is it advisable to build the project then using the make file ?

    Thanks

  • Amol,

    From your previous post, it appeared that you had the compilation going successfully and the build failed at linking, attributing to dsplib and mathlib. It appears that you haven't modified the projectspec correctly since I can see the following in your compilation output:

    You need to replace the path with your Linux path.

  • Amol,

    Were you able to fix the above error and build the mmw Demo CCS project on Linux?

    -Nitin

  • Amol,

    Can you please mark the answer as Verified if you were able to build the project on Linux?

    -Nitin
  • Closing this thread as there has been no response. Please open a new thread if you have additional questions.