buaazp / zimg

A lightweight and high performance image storage and processing system.
http://zimg.buaa.us
BSD 3-Clause "New" or "Revised" License
2.69k stars 401 forks source link

大哥!为什么我在新的Max下安装就是安装不了= = #186

Open wuxinzhe opened 7 years ago

wuxinzhe commented 7 years ago

mkdir -p build/zimg cd build/zimg; cmake /src; make -j 4; cp zimg /bin CMake Error: The source directory "/src" does not exist. Specify --help for usage, or press the help button on the CMake GUI. make[1]: No targets specified and no makefile found. Stop. cp: zimg: No such file or directory make: [all] Error 1

我不是很懂这些命令,你能不能帮我看看,是哪里错了,我装了两台Mac,这是第三台,我先用brew安装了依赖,然后还专门按照ImageMagick官网的方法,重装了ImageMagick(不这么做不行),然后就git下了这个源码,make之后就一直出现这个问题。找不到/src这个文件夹?不可能啊,我明明看着有呀=- =

wuxinzhe commented 7 years ago

好吧,我手动执行了cmake /scr 然后再执行make。然后继续将生成的zimg文件移到bin文件夹下,然后启动。。。。哥哥,你这个Makefile的脚本,是不是还需要斟酌一下= =