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.

Getting relocation error while generating files

Hello team,

I am getting relocation error while generating usecase files.

As per the process mentioned in doc VisionSDK_UserGuide_UsecaseGen i tried to generate files but i am getting following error message.

Message " ./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"

I have updated GLIBCXX (sudo apt-get upgrade libstdc++6) and GCC (sudo apt-get install gcc-4.9) version also but still getting above error.

Initially before GLIBC updation it was showing only upto GLIBCXX_3.4.19 and after updation it is showing till GLIBCXX_3.4.24.

I am using Ubuntu 14.04.5 LTS system.

Regards,

Pritam

  • Hi Pritam
    Are you using the prebuilt version of the tool (packed with VSDK) or you re-build the tool?
    Can you please share the .txt file you created (input to the tool)?
    Also, please refer the userguides \vision_sdk\docs\FeatureSpecificUserGuides\VisionSDK_Overview_UsecaseGen.pdf & VisionSDK_UserGuide_UsecaseGen.pdf

    BTW, Below Options available while creating the generated output file:
    • -help Show help and supported basename and processors
    • -file Create .c and .h file
    •-img Create in .jpg image (or out.jpg)
    • -log Creates a .txt log file with debugging info
    • -debug Prints file name(in source code) and line no. in error statement
    • -path takes the next argument as output path
    • -v Verbose

    use help/debug/log option to get more debug information


    regards, Shiju
  • UseCase: chains_vipSingleCameraErosion
    
    Capture -> Alg_Erosion (A15) -> Display_Video
    GrpxSrc -> Display_Grpx
    
    Hi Shiju,

    I am rebuilding the tool with the help of gmake commands.

    Please find attached .txt file which i am giving as input to ./vsdk_linux.out

    Regards,

    Pritam

  • Hi Pritam
    your .txt file looks correct.
    For the tool update, please grep/search any existing Alg Links and follow the same to make changes to support your link

    regards, Shiju