-
Notifications
You must be signed in to change notification settings - Fork 401
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
弱问一个make error #23
Comments
你这个是编译lua的时候缺少引用,可以这样改:
增加 -lm -ldl ,改成:
然后重新make:
|
我加了,但是Error还是一样···
按理说编译应该不需要改code才能过吧···所以才怀疑是缺少package导致。问一下你是在什么系统环境下测试的? |
恩,这个改动不是code,是cmake的文件。libm是编译lua的依赖,跟zimg没关系。
|
还是一样的问题唉··· |
可能是你虚拟机环境的问题吧,我这也没法帮你调,你自己搜索一下 |
终于fix了,感觉是因为系统版本等问题导致找不到那个库。我虚拟机里的应该是64位的版本。
而正确的做法是加在最后面。所以后来我加到ZIMG_EXTERNAL_LIBS里面就过了··· |
赞!原来如此,我也没发现是cmake是这么搞的~ |
系统是ubuntu 14.04(虚拟机),package 安装了 openssl libevent-dev cmake imagemagick libmagickwand-dev libmemcached-dev build-essential
编译:
cd zimg
make
错误:
不知道是不是自己的环境配置的有问题?好像是link不上math库..
The text was updated successfully, but these errors were encountered: