phillipi / pix2pix

Image-to-image translation with conditional adversarial nets

Home Page:https://phillipi.github.io/pix2pix/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

install display error

lthvictor opened this issue · comments

``./install/bin/luarocks install https://raw.githubusercontent.com/szym/display/master/display-scm-0.rockspec
Using https://raw.githubusercontent.com/szym/display/master/display-scm-0.rockspec... switching to 'build' mode

Missing dependencies for display:
async >= 1.0
luasocket >= 2.0

Using https://raw.githubusercontent.com/torch/rocks/master/async-scm-1.rockspec... switching to 'build' mode
正克隆到 'async'...
remote: Enumerating objects: 210, done.
remote: Counting objects: 100% (210/210), done.
remote: Compressing objects: 100% (184/184), done.
remote: Total 210 (delta 19), reused 172 (delta 19), pack-reused 0
接收对象中: 100% (210/210), 403.80 KiB | 47.00 KiB/s, 完成.
处理 delta 中: 100% (19/19), 完成.
make LUA_BINDIR=/home/liang/torch/install/bin LUA_LIBDIR=/home/liang/torch/install/lib LUA_INCDIR=/home/liang/torch/install/include
basename: 缺少操作数
请尝试执行 "basename --help" 来获取更多信息。
make -C lhttp_parser LUA= LUA_BINDIR=/home/liang/torch/install/bin LUA_LIBDIR=/home/liang/torch/install/lib LUA_INCDIR=/home/liang/torch/install/include
make[1]: 进入目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser”
cc -c lhttp_parser.c -o lhttp_parser.o -Ihttp-parser -I /home/liang/torch/install/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -Wall -Werror -fPIC
CPPFLAGS=-fPIC make -C http-parser http_parser.o
make[2]: 进入目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser/http-parser”
cc -fPIC -I. -DHTTP_PARSER_STRICT=0 -Wall -Wextra -Werror -O3 -c http_parser.c
http_parser.c: In function ‘http_parser_parse_url’:
http_parser.c:2093:18: error: this statement may fall through [-Werror=implicit-fallthrough=]
2093 | found_at = 1;
| ~~~~~~~~~^~~
http_parser.c:2096:7: note: here
2096 | case s_req_server:
| ^~~~
cc1: all warnings being treated as errors
make[2]: *** [Makefile:35:http_parser.o] 错误 1
make[2]: 离开目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser/http-parser”
make[1]: *** [Makefile:17:http-parser/http_parser.o] 错误 2
make[1]: 离开目录“/tmp/luarocks_async-scm-1-2432/async/lhttp_parser”
make: *** [Makefile:6:lhttp_parser/lhttp_parser.so] 错误 2

Error: Failed installing dependency: https://raw.githubusercontent.com/torch/rocks/master/async-scm-1.rockspec - Build error: Failed building.

I am not sure if Lua/Torch is being actively maintained. If you have trouble regarding Lua/Torch, please consider using our PyTorch version.