您的位置:首页 > 博客中心 > 数据库 >

使用mysql配置codeblocks下C++工程

时间:2022-03-14 04:09

 记录:
    为使用mysql配置codeblocks下C++工程:
        goto project -> build options
        a. compiler settings tab -> other options: `mysql_config --cflags`
        b. linker settings tab -> other options: `mysql_config --libs`
        to get codecompletion you probably need to add the include dir to your project
        c. search directories tab -> compiler:  /usr/include/mysql

热门排行

今日推荐

热门手游