How to use .so file?

Sysprogs forums Forums VisualGDB How to use .so file?

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #9080
    akhilavit
    Participant

    I have built shared library using Linux configuration, say, akhil.so 

    I have a Linux App Project MyApp and I want to so file. How to do this?

    I tried adding path and lib name in make file settings. When I try to apply it gives following error

    Tool arguments: -Wl,–start-group “/tmp/VisualGDB_ToolchainTestProgram.o” -o “/tmp/VisualGDB_ToolchainTestProgram” -Wl,-gc-sections -L/tmp/VisualGDB/c/projects/Test/LinuxProject3/LinuxProject3 -lRevLib.so -Wl,–end-group
    /usr/bin/ld: cannot find -lRevLib.so
    collect2: error: ld returned 1 exit status

     

    What is wrong and how to fix it?

    #9081
    akhilavit
    Participant

    Kindly Tell me steps for this.

    And Where should I copy .so?

    Only .so is enough or should I have something else?

    #9086
    support
    Keymaster

    Hi,

    Normally all you need to do is add a reference to the .so project in the properties of your main project (right-click in Solution Explorer, Add Reference).

    #9104
    akhilavit
    Participant

    The problem was with paths. It worked. Thanks

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