adding so to project

Sysprogs forums Forums VisualGDB adding so to project

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #9322
    preAkhil
    Participant

    How to Add third party .so?

     

    #9327
    support
    Keymaster

    Hi,

    The easiest way would be to copy it to the standard library directory on your target (e.g. /usr/lib), synchronize cross-toolchain sysroot (if you are using one) and just add the library name without the ‘lib’ prefix and ‘.so’ suffix to the “Library Names” field. Alternatively you could add the full path to the .so file to the “Additional Linker Inputs” field, but you would need to ensure that the relative path to the library during compilation matches the relative path during runtime (or use LD_LIBRARY_PATH to explicitly specify where to search for the libraries).

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.