SQLAPI++ Library

Discussion in 'C++' started by Ghouri, Jan 20, 2011.

  1. Ghouri

    Ghouri New Member

    Joined:
    Jan 19, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Hi i have been given task to connect different databases and by using C++ Language.. and i searched on-line and got a solution which later i have added with win32 console application in VS2005 and it worked well..

    now the same task has been given to to work with that API in Linux environment and i couldn't be able to get that how to configure API with Linux's compiler to work with that Library and write my own program. i ma send you the API web Site . please help me in this regards.

    sqlapi.com

    kindly help me out

    i have no idea ever to work with the Linux. I will be very very grateful to you for this favor...

    Just tell me how may i add the reference of those Libraries into Linux Compiler so it could compile them.. with no error and give a fruitful result
    Regards,
    A.Q.Ghouri
     
  2. xpi0t0s

    xpi0t0s Mentor

    Joined:
    Aug 6, 2004
    Messages:
    3,009
    Likes Received:
    203
    Trophy Points:
    63
    Occupation:
    Senior Support Engineer
    Location:
    England
    To compile and link in one step just add the library names to the gcc line, e.g.:
    gcc myprog.c -o myprog somelib.a

    If the library isn't in the current directory use -L to specify the directory containing the library.
     
  3. Ghouri

    Ghouri New Member

    Joined:
    Jan 19, 2011
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    0
    Thank you very much sir...
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice