drogonframework / drogon

Drogon: A C++14/17/20 based HTTP web application framework running on Linux/macOS/Unix/Windows
MIT License
11.62k stars 1.12k forks source link

mariadb: no 的问题 #1907

Closed boshang closed 6 months ago

boshang commented 10 months ago

您好,各位大神,我本机是macos 开发工具使用的clion 电脑本机确认安装了mariadb 但是不管我怎么配置drogon 都找不到mariadb的依赖,我不确定是我的cmakelist 的配置上出了问题还是怎么问题,能帮我解决这个问题吗,给我一个配置mariadb的Cmaklist的文件或者别的问题帮我指出来,他已经困扰了我很久,在这里不尽感谢。 A utility for drogon Version: 1.9.1 Git commit: 637046189653ea22e6c4b13d7f47023170fa01b1 Compilation: Compiler: clang++ Compiler ID: AppleClang Compilation flags: -O3 -DNDEBUG -std=c++20 -I/usr/local/include -I/usr/local/Cellar/drogon/1.9.1/include Libraries: postgresql: no (pipeline mode: no) mariadb: no sqlite3: yes ssl/tls backend: None brotli: yes hiredis: no c-ares: yes yaml-cpp: no

an-tao commented 10 months ago

你要搜一下mariadb client的开发库怎么装,一般用brew安装就能搞定,我在macos上试过,应该没问题的,装好用drogon自带的cmake配置就能找到。

Cap @.***> 于2024年1月17日周三 10:12写道:

您好,各位大神,我本机是macos 开发工具使用的clion 电脑本机确认安装了mariadb 但是不管我怎么配置drogon 都找不到mariadb的依赖,我不确定是我的cmakelist 的配置上出了问题还是怎么问题,能帮我解决这个问题吗,给我一个配置mariadb的Cmaklist的文件或者别的问题帮我指出来,他已经困扰了我很久,在这里不尽感谢。 A utility for drogon Version: 1.9.1 Git commit: 6370461 https://github.com/drogonframework/drogon/commit/637046189653ea22e6c4b13d7f47023170fa01b1 Compilation: Compiler: clang++ Compiler ID: AppleClang Compilation flags: -O3 -DNDEBUG -std=c++20 -I/usr/local/include -I/usr/local/Cellar/drogon/1.9.1/include Libraries: postgresql: no (pipeline mode: no) mariadb: no sqlite3: yes ssl/tls backend: None brotli: yes hiredis: no c-ares: yes yaml-cpp: no

— Reply to this email directly, view it on GitHub https://github.com/drogonframework/drogon/issues/1907, or unsubscribe https://github.com/notifications/unsubscribe-auth/AFAHSBNCMEFMNL52YISOYIDYO4XRVAVCNFSM6AAAAABB5YVDD2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGA4DKMRWGEZTAOI . You are receiving this because you are subscribed to this thread.Message ID: @.***>