Import .so

Sysprogs forums Forums VisualGDB Import .so

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #6952
    JancoD7
    Participant

    Hi, how can use a .so library in cross compiling between visual studio 2015 and Raspberry Pi?

    I have the next error:
    Process /tmp/R2PI2 created; pid = 5356
    Listening on port 1987
    Remote debugging from host 192.168.3.103
    /tmp/R2PI2: error while loading shared libraries
    C:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\Iddk2000_3.3.0_ERelease_C++_Raspbian\sdk\libEIddk2000.so: cannot open shared object file: No such file or directory
    Child exited with status 127

    This path is in Additional linker inputs and I dont know how to run it in Raspberry

    I appreciate your help

    • This topic was modified 8 years, 7 months ago by JancoD7.
    #6956
    support
    Keymaster

    Hi,

    Looks like the absolute Windows-style path got hardcoded into your application. Please try specifying the library name/directory separately in your linker arguments, i.e.:

    -LC:\SysGCC\raspberry\arm-linux-gnueabihf\sysroot\opt\Iddk2000_3.3.0_ERelease_C++_Raspbian\sdk -lEIddk2000
Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.