Menu

Problem with using mysql++

2009-09-26
2012-09-26
  • Srdjan Vulic

    Srdjan Vulic - 2009-09-26

    I added mysql++ into DevC++ with Package Manager, but I can't use it.
    When I tryed to compile code I get (for mysql++.h) the next error message: No
    such file or directory.
    I have include statement for mysql++.h and also using namespace mysqlpp
    statement.
    What is the problem?

     
  • cpns

    cpns - 2009-09-26

    Installing the package alone will not add the path to the include file to the
    compiler search list. You need to do that for your project in the project
    options. A similar problem will occur for the library path in finding the
    library itself.

    It is likely that the package includes a starter project template that will
    have all the necessary settings already. If it does, you should probably use
    that. File->New->New Project, then select the appropriate template.

    Note that much of this is detailed already in the "PLEASE READ BEFORE
    POSTING A QUESTION
    ". If you continuer to have problem, you should read
    that thread because it tells you what information you need to post to get
    effective assistance (the three things you failed to post this time).

    Clifford

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.