文章目录[隐藏] 1 编译color_flow1.1 首先下载:下载地址见文末。1.2 编译2 测试3 转换flo文件4 问题解决: 假设有光流图out.flo文件,想要转为png进行可视化,依次执行... 时间:2021/8/15 分类:深度学习 人气:258 评论:0如何打开.flo光流图?如何可视化.flo光流图?
编译光流图color_flow
打开程序的时候,出现错误:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 |
$ make g++ -O3 -W -Wall -c -o Convert.o Convert.cpp g++ -O3 -W -Wall -c -o Convolve.o Convolve.cpp g++ -O3 -W -Wall -c -o Image.o Image.cpp g++ -O3 -W -Wall -c -o ImageIO.o ImageIO.cpp ImageIO.cpp: In function ‘void ReadFileTGA(CByteImage&, const char*)’: ImageIO.cpp:169:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (h.cMapBits != 24) ^~ ImageIO.cpp:171:6: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ int l = fileBytes * cMapSize; ^~~ ImageIO.cpp: In function ‘void ReadFilePGM(CByteImage&, const char*)’: ImageIO.cpp:358:5: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (stream == 0) ^~ ImageIO.cpp:361:2: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘if’ int width, height, nBands; ^~~ ImageIO.cpp: In function ‘void read_header(FILE*, const char*, char, char, int*, int*, int*, int)’: ImageIO.cpp:334:25: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", width); ^ ImageIO.cpp:336:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", height); ^ ImageIO.cpp:339:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fp, "%d", nbands); ^ g++ -O3 -W -Wall -c -o ImageIOpng.o ImageIOpng.cpp ImageIOpng.cpp:19:17: fatal error: png.h: No such file or directory #include "png.h" ^ compilation terminated. <builtin>: recipe for target 'ImageIOpng.o' failed make: *** [ImageIOpng.o] Error 1 |
问题出现在环境上,主要是依赖包没有安装,使用以下命令安装即可:
Centos:
sudo yum install libpng-devel
Ubuntu:
sudo apt install libpng-dev
本文最后更新于2021年8月15日,已超过 1 年没有更新,如果文章内容或图片资源失效,请留言反馈,我们会及时处理,谢谢!
你有没有群组或者什么的,这里讨论太麻烦了
这个 只能 ipad 用吗,在 iphone 上都配置好了,安装软件的时候出现:此团队中没有带有请求标识符的配置配置文件。
请问,这个SideServer是不是只能用苹果电脑装啊,手上没有苹果电脑怎么办呀!
棒诶
大佬研究一下猩红,我装也也会掉
不是很理解,自己手机导出的ipa?意思是必须用手机下载的才行吗?
从github下载的windows下载,解压找到你说的@后面的内容,修改名字上传,再安装
已经改成zip解压后查看,按照你的提示,把下载下来的ipa改成Alock@net.darkce.app-locker.ipa这样后上传再安装,还是提示无法安装此app,因为无法验证其完整性。