-
-
Notifications
You must be signed in to change notification settings - Fork 725
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac 下安装tbox出错。 #221
Comments
Title: Error installing tbox under mac. This is written in the xmake.lua file. An error occurred while performing the installation |
凡事先给 logs |
Wherever the logs are given beforehand |
in xmake-repo: CMake Error at cmake/zlib.cmake:136 (MESSAGE): 这个应该只是一个。还有别的 |
加 -vD |
Add -vD |
CMake Error at cmake/zlib.cmake:136 (MESSAGE): Please use -DWITH_ZLIB=bundled -- Configuring incomplete, errors occurred! => install mysql 8.0.31 .. failed stack traceback: |
这个是拉的github仓库,执行的xmake f --xml=y --coroutine=y 与xmake -vD 的错误。 error: @programdir/modules/private/async/runjobs.lua:256: @programdir/modules/private/action/build/object.lua:90: @programdir/modules/core/tools/gcc.lua:672: src/demo/coroutine/http_server.c:449:21: error: variable 'count' set but not used [-Werror,-Wunused-but-set-variable] stack traceback: |
这个修了 dev |
xmake.lua文件里面这么写的。
add_requires("tbox",{system = false ,configs = {charset=true,coroutine=true,database=true,debug=false,float=true,["force-utf8"]=true,hash=true,mbedtls=true,micro=true,mysql=true,object=true,openssl=true,pcre=true,pcre2=true,pic=true,polarssl=true,regex=true,shared=false,sqlite3=true,xml=true,zip=true,zlib=true}})
执行安装的时候出错
The text was updated successfully, but these errors were encountered: