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.

RTOS/TDA2: Use Case generation error in VisionSDK while executing ./vsdk_linux.out

Part Number: TDA2

Tool/software: TI-RTOS

Hi,

I am trying to create a use case & referring the document (VisionSDK_UserGuide_UsecaseGen.pdf , present in docs folder of vision_sdk.) While executing the file "vsdk_linux.out".

I followed following steps:

1.Created the simple use case file. chains_capture_display.txt (attached the file) .

2. I tried to Run the executable “vsdk_linux.out” for linux platform using following command.

./vsdk_linux.out /home/varshavanga/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/rtos/usecases/chains_capture_display.txt -img -file -path
/home/varshavanga/PROCESSOR_SDK_VISION_03_01_00_00/vision_sdk/apps/src/rtos/usecases/

  I received the following errors:

 /usr/lib/libstdc++.so.6: version ``GLIBCXX_3.4.20'   not found & /usr/lib/libstdc++.so.6: version ``GLIBCXX_3.4.21'not found

  Executed following commands to overcome those errors: 

  1. $ sudo add-apt-repository ppa:ubuntu-toolchain-r/test

 2. $ sudo apt-get update

 3. $ sudo apt-get install libstdc++6-4.7-dev

After executing above commands encountered following error.

./vsdk_linux.out: relocation error: ./vsdk_linux.out: symbol _ZNSt7__cxx1112basic_stringIcSt11char_traitsIcESaIcEEC1EPKcRKS3_, version GLIBCXX_3.4.21 not defined in file libstdc++.so.6 with link time reference

Do I need to install any other packages or dependencies to eliminate this error?

-Thanks,

Varsha

UseCase: chains_capture_display
Capture -> Display

  • Hi Varsha,

    did you have installed the libs mentioned in "2.2.3 Other mandatory software packages for build" of VisionSDK_Linux_UserGuide.pdf:

    Ensure these packages/tools are installed on the installation machine
    uname, sed, mkimage, dos2unix, dtrx, mono-complete, git, lib32z1 lib32ncurses5 lib32bz2-1.0 libc6:i386 libc6-i386 libstdc++6:i386 libncurses5:i386 libz1:i386 libc6-dev-i386 device-tree-compiler mono-complete

    Regards,
    Yordan
  • Hi Yordan,

    I have installed the libs mentioned in "2.2.3". All the libs are installed successfully except "uname" & "mkimage". When i try to install them, i encounter the following errors:
    E: Unable to locate package uname
    E: Unable to locate package mkimage

    Working on Ubuntu 14.04 LTS (64 bit) .

    Is there something else I am missing to install ? And how can i overcome the above errors.

    Thanks & Regards,                                                                                                                                                                                                                                        

    Varsha

  • Hi Varsha,

    for 'mkimage' you should install 'u-boot-tools' package and you should already have 'uname' installed.
    It seems that error is caused by another reason, I have pinged VisionSDK experts to provide help.

    Regards,
    Yordan
  • Hello Yordan,

    Thanks for your quick reply, I have installed u-boot-tools package & uname is already installed, but still I encounter the same errors: "relocation error" as well as "E: Unable to locate package uname & E: Unable to locate package mkimage".

    Yes, there might be some other reason. Waiting for the help.

    Thanks & regards,
    Varsha
  • Varsha
    Can you please follow VisionSDK_Linux_UserGuide.pdf
    section 2.2.3 Other mandatory software packages for build

    regards, Shiju