Post Go back to editing

adding .lib library file in crosscore embedded studio

Category: Software
Product Number: ADSP-BF609
Software Version: 1.2

i have a library which was previously working fine in visual dsp++ 5.1 version , it is a .lib library and i want to add this library to my current project in crosscore embedded studio, i attached the library using project properties dialogue in libraries tag of path and symbols portion. but it gives me error cc30350 unrecognized sufix error. Can someone help me out.

  • Hi ,

    Please be informed that CCES utilizes libraries with the ".dlb" extension, it will not support ".lib" suffix.

    To create a library from your VisualDSP++ project, navigate to project > Project options > Project > Type. Choose the type as "Library File" and confirm by clicking OK. Proceed to build the project, resulting in the creation of a library file named after your project with the .dlb extension which can be found in "Debug" Folder.

    To add the library file to a CCES Project, follow these steps: Project > Properties > C/C++ Build > Settings > Tool Settings > Linker > General > Additional libraries and object files. Use the "Add" button to include the exact path of the file and its name where it is stored.

    For further guidance, please consult the CCES help documentation under: CrossCore® Embedded Studio > Integrated Development Environment > Managing CCES Projects > Working with Resource Properties > C/C++ Project Properties Dialog Box > C/C++ Build Properties Page > Settings Properties Page > Tool Settings Properties Tab > Linker General Properties Page.

    Regards,
    Nishanthi.V

  • Hi, i compiled the files in visualdsp++ and created a library in . Dlb but when i used that library in crosscore develpoment studio. It still does not work, showing linker error. However if i create a library in crosscore development studio and use it in same IDE, it works why?

  • Hi,

    VisualDSP++ executables/libraries are not upwardly compatible to CrossCore Embedded Studio. The ELF format has changed.

    The ELF format (*.DXE, *.OVL, *.SM, *.DLB, *.DOJ) used by CrossCore Embedded Studio differs significantly from the ELF format used by VisualDSP++, and also CrossCore Embedded Studio uses a different ELF format (one more in-line with that supported by GNU tools) from VisualDSP++, so ELF files produced using the VisualDSP++ tools are not compatible with CrossCore Embedded Studio.

    We do provide an "elf2elf" utility that can be used to convert VisualDSP++ ELF files to the format expected by CCES, which is available in the CCES installation directory. Please note, however, that no utility exists to convert CCES-produced ELF files for use in VisualDSP++. An FAQ detailing this is available here:

    FAQ: Can I use VisualDSP++ ELF files in CrossCore Embedded Studio?
    https://ez.analog.com/dsp/software-and-development-tools/cces/w/documents/5304/faq-can-i-use-visualdsp-elf-files-in-crosscore-embedded-studio

    By using this, please convert the VisualDSP++ library file(.dlb) and then link to CCES.

    Hope this helps!

    Regards,
    Nishanthi.V