zlib.h明明已经安装了最新版本了,为什么还是报错

'/tmp/RtmpSb4SxA/R.INSTALL7b39072979/Rhtslib/src/htslib-1.7'/

Makefile.Rhtslib:128: warning: overriding recipe for target '.c.o'/

/home/daixuelei/anaconda2/lib/R/etc/Makeconf:160: warning: ignoring old recipe for target '.c.o'/

x86_64-conda_cos6-linux-gnu-cc -g -Wall -O2 -I. -c -o kfunc.o kfunc.c
x86_64-conda_cos6-linux-gnu-cc -g -Wall -O2 -I. -c -o knetfile.o knetfile.c
x86_64-conda_cos6-linux-gnu-cc -g -Wall -O2 -I. -c -o kstring.o kstring.c
x86_64-conda_cos6-linux-gnu-cc -g -Wall -O2 -I. -c -o bcf_sr_sort.o bcf_sr_sort.c
x86_64-conda_cos6-linux-gnu-cc -g -Wall -O2 -I. -c -o bgzf.o bgzf.c/

In file included from bgzf.c:39:0:/

htslib/bgzf.h:35:10: fatal error: zlib.h: No such file or directory
#include
^~~~~~~~
compilation terminated.
make[1]: *** [Makefile.Rhtslib:128: bgzf.o] Error 1
make[1]: Leaving directory '/tmp/RtmpSb4SxA/R.INSTALL7b39072979/Rhtslib/src/htslib-1.7'
make: *** [Makevars.common:23: htslib] Error 2
ERROR: compilation failed for package ‘Rhtslib’

3个回答

zlib.h 不在路径里,你看看报错。
把这个文件放在你make命令执行的工作目录中。

liu9827885
godstudydayup 我把他放在了htslib/bgzf.h 同一路径下,还是不行
一年多之前 回复

可以先搜索下zlib.h在哪个目录下,然后再makefile文件里面添加这个路径,搜索zlib.h可以使用这个命令:
find / -name zlib.h

qq_37352885
qq_37352885 如何在makefile中添加路径??
大约一年之前 回复
liu9827885
godstudydayup 我把他放在了htslib/bgzf.h 同一路径下,还是不行
一年多之前 回复

文件不要到处乱拷贝。 修改Makefile, 添加 -I 来增加头文件搜索目录。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
qt调用zlib报错的问题

我的步骤如下: 1、zlib用vs编译好后在ZlibDllRelease文件夹中,将zlibwapi.lib和zlibwapi.dll拷贝到当前目录下新建的lib文件夹中。 2、将zlib.h和zconf.h拷贝到当前目录下。 3、在项目中将zlib.h文件添加进来,在.cpp文件中添加引用#include "zlib.h"。 4、在pro文件中,添加外部库,选择了zlibwapi.lib文件,取消“为debug版本添加d作为后缀”选项。pro中生成代码: ``` SOURCES += \ main.cpp \ hcd_decode_program.cpp \ Functions.cpp HEADERS += \ hcd_decode_program.h \ Functions.h \ zlib.h unix|win32: LIBS += -L$$PWD/lib/ -lzlibwapi INCLUDEPATH += $$PWD/. DEPENDPATH += $$PWD/. ``` 却在构建时依然出现undefined reference to uncompress,请问这是怎么回事?还想请教下这个PWD是怎么用的? ``` $$PWD/. ```是表示当前目录下的所有文件意思吗?

[zlib使用问题]如何解压zip文件!求助各位大神,救急!!!

有个项目,要实现Zip文件的解压和压缩,这几天一直在搞zlib,但是不管在Linux下还是Windows下都有问题。 1.linux下我用gcc编译,代码中就直接写了个#include "zlib.h",然后就可以用compress和uncompress函数了,可是我的问题是要用来解压Zip文件啊,并不是压缩字符串,然后就用miniZip文件夹中的zip.h和unzip.h,include到代码中,结果调用里面的函数却报错。 2.在Windows下我又试了一遍,下载了zlib的源码和dll,按照dll文件夹中的USAGE文件都加好了,结果vs报了err LINK 2019的错,还是库没加载进去。 问题:求问各位大神,我要如何实现对zip.h和unzip.h中的函数调用?最好是在Linux下,我用的是zlib1.2.8,Ubuntu16.04,谢谢各位

nginx1.17.4中编译openssl报错

nginx1.17.4中编译openssl报错 file included from /usr/include/openssl/ssl.h:149:0, from src/event/ngx_event_openssl.h:15, from src/core/ngx_core.h:83, from src/core/nginx.c:9: /usr/include/openssl/comp.h:36:5: 错误:未知的类型名‘COMP_METHOD’ COMP_METHOD *meth; ^ /usr/include/openssl/comp.h:44:24: 错误:未知的类型名‘COMP_METHOD’ COMP_CTX *COMP_CTX_new(COMP_METHOD *meth); ^ /usr/include/openssl/comp.h:50:1: 错误:未知的类型名‘COMP_METHOD’ COMP_METHOD *COMP_rle(void); ^ /usr/include/openssl/comp.h:51:1: 错误:未知的类型名‘COMP_METHOD’ COMP_METHOD *COMP_zlib(void); ^ In file included from src/event/ngx_event_openssl.h:15:0, from src/core/ngx_core.h:83, from src/core/nginx.c:9: /usr/include/openssl/ssl.h:879:5: 错误:未知的类型名‘COMP_METHOD’ COMP_METHOD *method; ^ In file included from /usr/include/openssl/ssl.h:1655:0, from src/event/ngx_event_openssl.h:15, from src/core/ngx_core.h:83, from src/core/nginx.c:9: /usr/include/openssl/dtls1.h:257:35: 错误:字段‘recordinfo’的类型不完全 struct bio_dgram_sctp_rcvinfo recordinfo; ^ In file included from src/event/ngx_event_openssl.h:15:0, from src/core/ngx_core.h:83, from src/core/nginx.c:9: /usr/include/openssl/ssl.h:2468:1: 错误:未知的类型名‘COMP_METHOD’ const COMP_METHOD *SSL_get_current_compression(SSL *s); ^ /usr/include/openssl/ssl.h:2469:1: 错误:未知的类型名‘COMP_METHOD’ const COMP_METHOD *SSL_get_current_expansion(SSL *s); ^ /usr/include/openssl/ssl.h:2470:1: 错误:未知的类型名‘COMP_METHOD’ const char *SSL_COMP_get_name(const COMP_METHOD *comp); ^ /usr/include/openssl/ssl.h:2475:45: 错误:未知的类型名‘COMP_METHOD’ int SSL_COMP_add_compression_method(int id, COMP_METHOD *cm);

在PHP 7中使用--with-ldap会在Mac 10.13上导致错误“无法找到php_pdo_driver.h”

<div class="post-text" itemprop="text"> <p>I am able to compile PHP 7.2.5 on my Mac 10.13.4, but when I add --with-ldap I get the following error during compilation:</p> <p>checking for PDO includes... checking for PDO includes... ./configure: line 65719: test: too many arguments ./configure: line 65721: test: too many arguments</p> <p>configure: error: Cannot find php_pdo_driver.h.</p> <p>Here is my complete configure command: ./configure --prefix=/usr/local/php7 --with-apxs2=/usr/local/apache-2.4.33/bin/apxs --enable-exif --with-mysqli --with-curl --enable-ftp --with-gd --enable-mbstring --with-openssl=/usr/local/openssl --enable-sockets --with-zlib --with-ldap</p> <p>I have tried using --with-ldap=/usr and --with-ldap-sasl, but the error was the same.</p> <p>I am trying to get WordPress running locally. I got it running without LDAP, but now I want to use Active Directory credentials and the plugin I chose (<a href="https://wordpress.org/plugins/ldap-login-for-intranet-sites/" rel="nofollow noreferrer">https://wordpress.org/plugins/ldap-login-for-intranet-sites/</a>) informs me that PHP is missing LDAP...</p> </div>

lua中编译发生错误,是我Lua安装的有问题吗?

最近两个月在机器人小组负责改进机器人的视觉,此机器人是的软件是拿lua写的,网上学了很多lua的编程视频,但是感觉没什么用,我现在在ubuntu下配置lua5.1.4,也不知道配置的对不对,我所谓的配置就是下载了lua的压缩包解压、然后用“sudo make install”,这样就完成了,写了一个lua小程序"hello lua"也可以运行出来。但是我试着跑机器人里面的代码的时候就不行了,机器人里面有三个开机自启项,是lua的程序,运行的时候总是不能出结果。一直在报错。请问各个大佬这是怎么回事呢?下面是我三个开机自启项的运行结果,以及程序的大致内容的截图: 1.这是机器人的所有程序 ![图片说明](https://img-ask.csdn.net/upload/201906/03/1559575227_832571.png) 2.我试着运行自启项run_dcm.lua但是行不通,这是结果与程序的大致内容 ![图片说明](https://img-ask.csdn.net/upload/201906/03/1559575254_302079.png) ![图片说明](https://img-ask.csdn.net/upload/201906/03/1559575292_404566.png) 3.我又运行了另一个开机自启项run_main_op.lua ![图片说明](https://img-ask.csdn.net/upload/201906/03/1559575337_55011.png) 希望各位大佬指点一下,我找了一天的问题,没有找出来,现在快急死了。。。

为什么用zlib库中的uncompress函数解压

为什么用zlib库中的uncompress函数解压出来的数据比数据小么,这是怎么回事,求大神,求大神

搭建apache+svn 环境,当安装serf-1.3.3.tar.bz2 时遇到下面的问题?跪求高手指教!

[root@server0 serf-1.3.3]# scons APR=/usr/local/apr/bin/apr-1-config APU=/usr/local/apr/bin/apu-1-config OPENSSL=/usr/loccal/ssl buckets/deflate_buckets.c buckets/deflate_buckets.c:18:18: error: zlib.h: No such file or directory buckets/deflate_buckets.c:54: error: expected specifier-qualifier-list before 'z_stream' buckets/deflate_buckets.c: In function 'serf_bucket_deflate_create': buckets/deflate_buckets.c:90: error: 'deflate_context_t' has no member named 'stream_status' buckets/deflate_buckets.c:93: error: 'deflate_context_t' has no member named 'crc' buckets/deflate_buckets.c:95: error: 'deflate_context_t' has no member named 'zstream' buckets/deflate_buckets.c:95: error: 'deflate_context_t' has no member named 'zstream' buckets/deflate_buckets.c:111: error: 'deflate_context_t' has no member named 'stream_left' buckets/deflate_buckets.c:111: error: 'deflate_context_t' has no member named 'stream_size' buckets/deflate_buckets.c:113: error: 'deflate_context_t' has no member named 'windowSize' buckets/deflate_buckets.c:114: error: 'deflate_context_t' has no member named 'memLevel' buckets/deflate_buckets.c:115: error: 'deflate_context_t' has no member named 'bufferSize' buckets/deflate_buckets.c: In function 'serf_deflate_destroy_and_data': buckets/deflate_buckets.c:126: warning: implicit declaration of function 'inflateEnd' buckets/deflate_buckets.c:126: error: 'deflate_context_t' has no member named 'zstream' buckets/deflate_buckets.c: In function 'serf_deflate_read': buckets/deflate_buckets.c:154: error: 'deflate_context_t' has no member named 'stream_left' buckets/deflate_buckets.c:161: error: 'deflate_context_t' has no member named 'hdr_buffer' buckets/deflate_buckets.c:161: error: 'deflate_context_t' has no member named 'stream_size' buckets/deflate_buckets.c:161: error: 'deflate_context_t' has no member named 'stream_left' buckets/deflate_buckets.c:164: error: 'deflate_context_t' has no member named 'stream_left' buckets/deflate_buckets.c:166: error: 'deflate_context_t' has no member named 'stream_left' buckets/deflate_buckets.c:179: error: 'deflate_context_t' has no member named 'hdr_buffer' buckets/deflate_buckets.c:180: error: 'deflate_context_t' has no member named 'hdr_buffer'

python安装GDAL包时出错

![图片说明](https://img-ask.csdn.net/upload/201609/25/1474806998_308820.png) 我用的python是2.7.12,下载了gdal-2.1.1.tar.gz用的是python setup.py install命令来进行安装,于是出现了上图中的错误,不知道怎么解决,忘大神指点,我又尝试用pip install GDAL命令来安装,但是也出现了错误,如下图所示 ![图片说明](https://img-ask.csdn.net/upload/201609/25/1474807415_106393.png) ![图片说明](https://img-ask.csdn.net/upload/201609/25/1474807426_559756.png)

求助:VTK使用,编译报错

在使用VTK5.10库进行开发时编译时遇到这样的问题:错误 1 error C2664: “vtkSmartPointerBase &vtkSmartPointerBase::operator =(vtkObjectBase *)”: 不能将参数 1 从“vtkImageData *”转换为“vtkObjectBase *” C:\vtk510\VTK5.10.1\Common\vtkSmartPointer.h 50 需要怎么去解决?谢谢

Linux 下openssl交叉编译出错

make时出错: 报错内容:cc1: warning: include location "/usr/include" is unsafe for cross-compilation [-Wpoison-system-directories] In file included from cryptlib.h:62:0, from cryptlib.c:117: /usr/include/stdlib.h:759:34: fatal error: bits/stdlib-bsearch.h: No such file or directory compilation terminated. make[1]: *** [cryptlib.o] Error 1 make: *** [build_crypto] Error 1 具体编译安装过程如下: 安装文件: openssl-1.0.2h.tar.gz 参考网址: http://blog.csdn.net/zy799894671/article/details/22289039 1、 arm-config.sh : ./config no-asm shared --prefix=/usr/local/arm-openssl 解决1:./config no-asm shared --prefix=/usr/local/arm-openssl --host=arm-xilinx-linux-gnueabi 解决4:CC=arm-xilinx-linux-gnueabi-gcc ./config no-asm shared --prefix=/usr/local/arm-openssl 2、修改MakeFile: #CC= gcc CC= arm-xilinx-linux-gnueabi-gcc #CFLAG= -fPIC -DOPENSSL_PIC -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -march=pentium -DL_ENDIAN -O3 -fomit-frame-pointer -Wall CFLAG= -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DOPENSSL_N -DL_ENDIAN -DTERMIO -O3 -fomit-frame-pointer -Wall DEPFLAG= -DOPENSSL_NO_EC_NISTP_64_GCC_128 -DOPENSSL_NO_GMP -DOPENSSL_NO_JPAKE -DOPENSSL_NO_LIBUNBOUND -DOPENSSL_NO_MD2 -DOPENSSL_NO_RC5 -DOPENSSL_NO_RFC3779 -DOPENSSL_NO_SCTP -DOPENSSL_NO_SSL_TRACE -DOPENSSL_NO_SSL2 -DOPENSSL_NO_STORE -DOPENSSL_NO_UNIT_TEST -DOPENSSL_NO_WEAK_SSL_CIPHERS PEX_LIBS= EX_LIBS= -ldl EXE_EXT= ARFLAGS= #AR= ar $(ARFLAGS) r AR= arm-xilinx-linux-gnueabi-ar $(ARFLAGS) r #RANLIB= /usr/bin/ranlib RANLIB= arm-xilinx-linux-gnueabi-ranlib #NM= nm NM= arm-xilinx-linux-gnueabi-nm PERL= /usr/bin/perl TAR= tar TARFLAGS= --no-recursion #MAKEDEPPROG= gcc MAKEDEPPROG= arm-xilinx-linux-gnueabi-gcc LIBDIR=lib make depend后出现错误: cc1: error: include location "/usr/include" is unsafe for cross-compilation [-Werror=poison-system-directories] cc1: all warnings being treated as errors 错误分析原因: 这种错误在网上有两种可能: 1、不能交叉编译到默认目录下,需要编译到单独的文件夹中(之前已经那么做了) 2、依赖库需要先交叉编译,这里错误目录是"/usr/include" 故也不是这个问题。 错误解决尝试1: 将配置后增加--host=arm-xilinx-linux-gnueabi ,详看1点 然后修改 makefile 错误不变 错误解决尝试2: 1步骤后 增加一步 # ./config -t 错误不变 错误尝试解决3 2步骤 多修改Makefile文件一处 #PLATFORM=linux-elf PLATFORM=arm-xilinx-linux-gnueabi 错误不变 错误尝试解决4 1步骤 将arm-config.sh前增加为:CC=arm-xilinx-linux-gnueabi-gcc 错误不变 错误尝试解决5 增加arm的环境变量 export ARCH=arm export CROSS_COMPILE=arm-xilinx-linux-gnueabi- 错误不变

原码安装libgd-2.2.3编译报错

在./configure是出现 checking for XpmReadFileToXpmImage in -lXpm... no configure: Disabling support for xpm checking whether to support tiff... auto checking for LIBTIFF... no checking for TIFFClientOpen in -ltiff... no configure: Disabling support for tiff checking whether to support webp... auto checking for WebPGetInfo in -lwebp... no configure: Disabling support for webp checking for simple visibility declarations... yes checking whether we are building for a Win32 host... no checking CFLAGS for maximum warnings... -Wall ** Configuration summary for libgd 2.2.3: Support for Zlib: yes Support for PNG library: yes Support for JPEG library: yes Support for WebP library: no Support for TIFF library: no Support for Freetype 2.x library: yes Support for Fontconfig library: no Support for Xpm library: no Support for liq library: no Support for pthreads: yes checking that generated files are newer than configure... done configure: creating ./config.status config.status: creating Makefile config.status: creating src/Makefile config.status: creating tests/Makefile config.status: creating tests/test_config.h config.status: creating config/Makefile config.status: creating config/gdlib-config config.status: creating config/gdlib.pc config.status: creating src/config.h config.status: executing depfiles commands config.status: executing libtool commands make时报错 libtool: compile: gcc -std=gnu99 -DHAVE_CONFIG_H -I. -I/usr/local/zlib/include -I/usr/local/libpng/include -I/usr/local/libpng/include/libpng16 -I/usr/local/freetype/include -I/usr/local/freetype/include/freetype2 -I/usr/local/jpeg8/include -Werror -g -O2 -fvisibility=hidden -Wall -MT gdft.lo -MD -MP -MF .deps/gdft.Tpo -c gdft.c -fPIC -DPIC -o .libs/gdft.o gdft.c:143:15: error: 'font_pattern' defined but not used [-Werror=unused-function] static char * font_pattern(char **fontpath, char *fontpattern) ^ gdft.c:449:12: error: 'useFontConfig' defined but not used [-Werror=unused-function] static int useFontConfig(int flag) ^ cc1: all warnings being treated as errors make[2]: *** [gdft.lo] Error 1 make[2]: Leaving directory `/root/libgd-2.2.3/src' make[1]: *** [all] Error 2 make[1]: Leaving directory `/root/libgd-2.2.3/src' make: *** [all-recursive] Error 1 请问这是什么问题?如何解决呢?

ubuntu16.04安装opencv时,make不通过该怎么办?

cmake已经完成,情况如下: ``` cmake .. -- Detected version of GNU GCC: 54 (504) -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found suitable version "1.2.8", minimum required is "1.2.3") -- Found ZLIB: /usr/lib/x86_64-linux-gnu/libz.so (found version "1.2.8") -- Checking for module 'gstreamer-base-1.0' -- No package 'gstreamer-base-1.0' found -- Checking for module 'gstreamer-video-1.0' -- No package 'gstreamer-video-1.0' found -- Checking for module 'gstreamer-app-1.0' -- No package 'gstreamer-app-1.0' found -- Checking for module 'gstreamer-riff-1.0' -- No package 'gstreamer-riff-1.0' found -- Checking for module 'gstreamer-pbutils-1.0' -- No package 'gstreamer-pbutils-1.0' found -- Checking for module 'gstreamer-base-0.10' -- No package 'gstreamer-base-0.10' found -- Checking for module 'gstreamer-video-0.10' -- No package 'gstreamer-video-0.10' found -- Checking for module 'gstreamer-app-0.10' -- No package 'gstreamer-app-0.10' found -- Checking for module 'gstreamer-riff-0.10' -- No package 'gstreamer-riff-0.10' found -- Checking for module 'gstreamer-pbutils-0.10' -- No package 'gstreamer-pbutils-0.10' found -- Looking for linux/videodev.h -- Looking for linux/videodev.h - not found -- Looking for linux/videodev2.h -- Looking for linux/videodev2.h - found -- Looking for sys/videoio.h -- Looking for sys/videoio.h - not found -- Checking for module 'libavresample' -- No package 'libavresample' found -- Looking for libavformat/avformat.h -- Looking for libavformat/avformat.h - found -- Looking for ffmpeg/avformat.h -- Looking for ffmpeg/avformat.h - not found -- Checking for module 'libgphoto2' -- No package 'libgphoto2' found -- found IPP (ICV version): 9.0.1 [9.0.1] -- at: /home/quxutao/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx -- CUDA detected: 7.5 -- CUDA NVCC target flags: -gencode;arch=compute_20,code=sm_20;-gencode;arch=compute_20,code=sm_21;-gencode;arch=compute_30,code=sm_30;-gencode;arch=compute_35,code=sm_35;-gencode;arch=compute_30,code=compute_30 -- Could NOT find Doxygen (missing: DOXYGEN_EXECUTABLE) -- To enable PlantUML support, set PLANTUML_JAR environment variable or pass -DPLANTUML_JAR=<filepath> option to cmake -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.7" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "2.6" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3.4" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find PythonInterp: Found unsuitable version "1.4", but required is at least "3.2" (found /home/quxutao/.virtualenvs/cv/bin/python) -- Could NOT find JNI (missing: JAVA_INCLUDE_PATH JAVA_INCLUDE_PATH2 JAVA_AWT_INCLUDE_PATH) -- Could NOT find Matlab (missing: MATLAB_MEX_SCRIPT MATLAB_INCLUDE_DIRS MATLAB_ROOT_DIR MATLAB_LIBRARIES MATLAB_LIBRARY_DIRS MATLAB_MEXEXT MATLAB_ARCH MATLAB_BIN) -- VTK is not found. Please set -DVTK_DIR in CMake to VTK build directory, or to VTK install subdirectory with VTKConfig.cmake file -- Caffe: NO -- Protobuf: YES -- Glog: NO -- HDF5: YES -- Module opencv_sfm disabled because the following dependencies are not found: Eigen Glog/Gflags -- Tesseract: NO -- HDF5: YES -- Build libprotobuf from sources: -- The protocol buffer compiler not found -- Tesseract: NO -- -- General configuration for OpenCV 3.1.0 ===================================== -- Version control: unknown -- -- Platform: -- Host: Linux 4.15.0-47-generic x86_64 -- CMake: 3.5.1 -- CMake generator: Unix Makefiles -- CMake build tool: /usr/bin/make -- Configuration: RELEASE -- -- C/C++: -- Built as dynamic libs?: YES -- C++ Compiler: /usr/bin/c++ (ver 5.4.0) -- C++ flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -O3 -DNDEBUG -DNDEBUG -- C++ flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wundef -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wno-narrowing -Wno-delete-non-virtual-dtor -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -fvisibility-inlines-hidden -g -O0 -DDEBUG -D_DEBUG -- C Compiler: /usr/bin/cc -- C flags (Release): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -O3 -DNDEBUG -DNDEBUG -- C flags (Debug): -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wundef -Winit-self -Wpointer-arith -Wshadow -Wno-narrowing -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -msse -msse2 -mno-avx -msse3 -mno-ssse3 -mno-sse4.1 -mno-sse4.2 -ffunction-sections -fvisibility=hidden -g -O0 -DDEBUG -D_DEBUG -- Linker flags (Release): -- Linker flags (Debug): -- Precompiled headers: YES -- Extra dependencies: /usr/lib/x86_64-linux-gnu/libpng.so /usr/lib/x86_64-linux-gnu/libtiff.so /usr/lib/x86_64-linux-gnu/libjasper.so /usr/lib/x86_64-linux-gnu/libjpeg.so gtk-3 gdk-3 pangocairo-1.0 pango-1.0 atk-1.0 cairo-gobject cairo gdk_pixbuf-2.0 gio-2.0 gobject-2.0 gthread-2.0 glib-2.0 dc1394 v4l1 v4l2 avcodec-ffmpeg avformat-ffmpeg avutil-ffmpeg swscale-ffmpeg /usr/lib/x86_64-linux-gnu/libbz2.so /usr/lib/x86_64-linux-gnu/hdf5/openmpi/lib/libhdf5.so /usr/lib/x86_64-linux-gnu/libsz.so /usr/lib/x86_64-linux-gnu/libz.so /usr/lib/x86_64-linux-gnu/libdl.so /usr/lib/x86_64-linux-gnu/libm.so dl m pthread rt cudart nppc nppi npps cufft -L/usr/lib/x86_64-linux-gnu -- 3rdparty dependencies: libwebp IlmImf libprotobuf -- -- OpenCV modules: -- To be built: cudev core cudaarithm flann hdf imgproc ml reg surface_matching video cudabgsegm cudafilters cudaimgproc cudawarping dnn fuzzy imgcodecs photo shape videoio cudacodec highgui objdetect plot ts xobjdetect xphoto bgsegm bioinspired dpm face features2d line_descriptor saliency text calib3d ccalib cudafeatures2d cudalegacy cudaobjdetect cudaoptflow cudastereo datasets rgbd stereo structured_light superres tracking videostab xfeatures2d ximgproc aruco optflow stitching -- Disabled: world contrib_world -- Disabled by dependency: - -- Unavailable: java python2 python3 viz cvv matlab sfm -- -- GUI: -- QT: NO -- GTK+ 3.x: YES (ver 3.18.9) -- GThread : YES (ver 2.48.2) -- GtkGlExt: NO -- OpenGL support: NO -- VTK support: NO -- -- Media I/O: -- ZLib: /usr/lib/x86_64-linux-gnu/libz.so (ver 1.2.8) -- JPEG: /usr/lib/x86_64-linux-gnu/libjpeg.so (ver ) -- WEBP: build (ver 0.3.1) -- PNG: /usr/lib/x86_64-linux-gnu/libpng.so (ver 1.2.54) -- TIFF: /usr/lib/x86_64-linux-gnu/libtiff.so (ver 42 - 4.0.6) -- JPEG 2000: /usr/lib/x86_64-linux-gnu/libjasper.so (ver 1.900.1) -- OpenEXR: build (ver 1.7.1) -- GDAL: NO -- -- Video I/O: -- DC1394 1.x: NO -- DC1394 2.x: YES (ver 2.2.4) -- FFMPEG: YES -- codec: YES (ver 56.60.100) -- format: YES (ver 56.40.101) -- util: YES (ver 54.31.100) -- swscale: YES (ver 3.1.101) -- resample: NO -- gentoo-style: YES -- GStreamer: NO -- OpenNI: NO -- OpenNI PrimeSensor Modules: NO -- OpenNI2: NO -- PvAPI: NO -- GigEVisionSDK: NO -- UniCap: NO -- UniCap ucil: NO -- V4L/V4L2: Using libv4l1 (ver 1.10.0) / libv4l2 (ver 1.10.0) -- XIMEA: NO -- Xine: NO -- gPhoto2: NO -- -- Parallel framework: pthreads -- -- Other third-party libraries: -- Use IPP: 9.0.1 [9.0.1] -- at: /home/quxutao/opencv-3.1.0/3rdparty/ippicv/unpack/ippicv_lnx -- Use IPP Async: NO -- Use VA: NO -- Use Intel VA-API/OpenCL: NO -- Use Eigen: NO -- Use Cuda: YES (ver 7.5) -- Use OpenCL: YES -- Use custom HAL: NO -- -- NVIDIA CUDA -- Use CUFFT: YES -- Use CUBLAS: NO -- USE NVCUVID: NO -- NVIDIA GPU arch: 20 21 30 35 -- NVIDIA PTX archs: 30 -- Use fast math: NO -- -- OpenCL: -- Version: dynamic -- Include path: /home/quxutao/opencv-3.1.0/3rdparty/include/opencl/1.2 -- Use AMDFFT: NO -- Use AMDBLAS: NO -- -- Python 2: -- Interpreter: NO -- -- Python 3: -- Interpreter: NO -- -- Python (for build): NO -- -- Java: -- ant: NO -- JNI: NO -- Java wrappers: NO -- Java tests: NO -- -- Matlab: Matlab not found or implicitly disabled -- -- Documentation: -- Doxygen: NO -- PlantUML: NO -- -- Tests and samples: -- Tests: YES -- Performance tests: YES -- C/C++ Examples: YES -- -- Install path: /usr/local -- -- cvconfig.h is in: /home/quxutao/opencv-3.1.0/build -- ----------------------------------------------------------------- -- -- Configuring done -- Generating done -- Build files have been written to: /home/quxutao/opencv-3.1.0/build ``` 但是make的时候,就报错: ``` make [ 4%] Built target libwebp [ 4%] Built target IlmImf [ 4%] Built target opencv_cudev [ 4%] Built target opencv_core_pch_dephelp [ 4%] Built target pch_Generate_opencv_core [ 4%] Building NVCC (Device) object modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o /usr/include/string.h: In function ‘void* __mempcpy_inline(void*, const void*, size_t)’: /usr/include/string.h:652:42: error: ‘memcpy’ was not declared in this scope return (char *) memcpy (__dest, __src, __n) + __n; ^ CMake Error at cuda_compile_generated_gpu_mat.cu.o.cmake:266 (message): Error generating file /home/quxutao/opencv-3.1.0/build/modules/core/CMakeFiles/cuda_compile.dir/src/cuda/./cuda_compile_generated_gpu_mat.cu.o modules/core/CMakeFiles/opencv_core.dir/build.make:399: recipe for target 'modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o' failed make[2]: *** [modules/core/CMakeFiles/cuda_compile.dir/src/cuda/cuda_compile_generated_gpu_mat.cu.o] Error 1 CMakeFiles/Makefile2:2307: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/all' failed make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2 ``` 弄了一下午了,没有找到相关的解决办法。我的cuda是7.5,其实不用GPU也可以的,我只是想用KAZE滤波。。。跪求大神帮忙。。。

ubuntu运行./configure时出错

紧急求救,运行./configure时出现checking whether we are cross compiling... no。 arm-linux-gcc已经安装过了,但任然无效。

“ go-vgo / robotgo”库构建错误

<div class="post-text" itemprop="text"> <p>I was trying to build "<a href="https://github.com/go-vgo/robotgo" rel="nofollow noreferrer">go-vgo/robotgo</a>" library .</p> <p>I have followed each step like downloading "mingw"(32bit) and adding "zlib,pnglib" from <a href="https://github.com/go-vgo/Mingw32" rel="nofollow noreferrer">zlib&amp;libpng Windows32 GCC's Course</a> as stated. but when i try to get it from cmd using this command,</p> <p><code>go get github.com/go-vgo/robotgo</code> </p> <p>it shows a enormous list of error.</p> <p>Can anyone help me please. I am using windows 10 (64 bit) and go 1.7.3 (x86).</p> <p>Errors copied from the cmd is given below, </p> <pre><code>&gt; G:\ProgramFiles\Go32&gt;go get github.com/go-vgo/robotgo \# &gt; github.com/go-vgo/robotgo In file included from &gt; ./mouse/goMouse.h:12:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:24: ./mouse/mouse_c.h: In function 'moveMouse': ./mouse/mouse_c.h:116:2: &gt; error: unknown type name 'INPUT' ./mouse/mouse_c.h:117:12: error: &gt; request for member 'type' in something not a structure or union &gt; ./mouse/mouse_c.h:117:20: error: 'INPUT_MOUSE' undeclared (first use &gt; in this function) ./mouse/mouse_c.h:117:20: note: each undeclared &gt; identifier is reported only once for each function it appears in &gt; ./mouse/mouse_c.h:118:12: error: request for member 'mi' in something &gt; not a structure or union ./mouse/mouse_c.h:119:12: error: request for &gt; member 'mi' in something not a structure or union &gt; ./mouse/mouse_c.h:120:12: error: request for member 'mi' in something &gt; not a structure or union ./mouse/mouse_c.h:121:12: error: request for &gt; member 'mi' in something not a structure or union &gt; ./mouse/mouse_c.h:122:12: error: request for member 'mi' in something &gt; not a structure or union ./mouse/mouse_c.h:123:12: error: request for &gt; member 'mi' in something not a structure or union ./mouse/mouse_c.h: &gt; In function 'scrollMouse': ./mouse/mouse_c.h:249:3: error: unknown &gt; type name 'INPUT' ./mouse/mouse_c.h:293:19: error: request for member &gt; 'type' in something not a structure or union ./mouse/mouse_c.h:293:27: &gt; error: 'INPUT_MOUSE' undeclared (first use in this function) &gt; ./mouse/mouse_c.h:294:19: error: request for member 'mi' in something &gt; not a structure or union ./mouse/mouse_c.h:295:19: error: request for &gt; member 'mi' in something not a structure or union &gt; ./mouse/mouse_c.h:296:19: error: request for member 'mi' in something &gt; not a structure or union ./mouse/mouse_c.h:297:19: error: request for &gt; member 'mi' in something not a structure or union &gt; ./mouse/mouse_c.h:298:19: error: request for member 'mi' in something &gt; not a structure or union ./mouse/mouse_c.h:299:19: error: request for &gt; member 'mi' in something not a structure or union In file included &gt; from ./key/keypress.h:6:0, &gt; from ./key/keypress_c.h:1, &gt; from ./key/goKey.h:14, &gt; from src\github.com\go-vgo obotgo obotgo.go:25: ./key/keycode.h: At top level: ./key/keycode.h:249:24: error: &gt; 'VK_VOLUME_MUTE' undeclared here (not in a function) &gt; ./key/keycode.h:250:24: error: 'VK_VOLUME_DOWN' undeclared here (not &gt; in a function) ./key/keycode.h:251:22: error: 'VK_VOLUME_UP' &gt; undeclared here (not in a function) ./key/keycode.h:252:17: error: &gt; 'VK_MEDIA_PLAY_PAUSE' undeclared here (not in a function) &gt; ./key/keycode.h:253:17: error: 'VK_MEDIA_STOP' undeclared here (not in &gt; a function) ./key/keycode.h:255:17: error: 'VK_MEDIA_PREV_TRACK' &gt; undeclared here (not in a function) ./key/keycode.h:256:17: error: &gt; 'VK_MEDIA_NEXT_TRACK' undeclared here (not in a function) In file &gt; included from ./key/goKey.h:14:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:25: ./key/keypress_c.h: In function 'win32KeyEvent': &gt; ./key/keypress_c.h:57:39: error: 'MAPVK_VK_TO_VSC' undeclared (first &gt; use in this function) ./key/keypress_c.h:86:8: error: &gt; 'VK_BROWSER_BACK' undeclared (first use in this function) &gt; ./key/keypress_c.h:87:8: error: 'VK_BROWSER_FORWARD' undeclared (first &gt; use in this function) ./key/keypress_c.h:88:8: error: &gt; 'VK_BROWSER_REFRESH' undeclared (first use in this function) &gt; ./key/keypress_c.h:89:8: error: 'VK_BROWSER_STOP' undeclared (first &gt; use in this function) ./key/keypress_c.h:90:8: error: &gt; 'VK_BROWSER_SEARCH' undeclared (first use in this function) &gt; ./key/keypress_c.h:91:8: error: 'VK_BROWSER_FAVORITES' undeclared &gt; (first use in this function) ./key/keypress_c.h:92:8: error: &gt; 'VK_BROWSER_HOME' undeclared (first use in this function) &gt; ./key/keypress_c.h:93:8: error: 'VK_LAUNCH_MAIL' undeclared (first use &gt; in this function) In file included from ./event/goEvent.h:29:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:27: ./event/hook/windows/input_c.h: At top level: &gt; ./event/hook/windows/input_c.h:31:27: error: 'VK_OEM_MINUS' undeclared &gt; here (not in a function) ./event/hook/windows/input_c.h:32:27: error: &gt; 'VK_OEM_PLUS' undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:70:24: error: 'VK_OEM_COMMA' undeclared &gt; here (not in a function) ./event/hook/windows/input_c.h:71:24: error: &gt; 'VK_OEM_PERIOD' undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:183:28: error: 'VK_LAUNCH_APP2' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:200:30: error: 'VK_BROWSER_HOME' &gt; undeclared here (not in a function) In file included from &gt; ./event/goEvent.h:29:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:27: ./event/hook/windows/input_c.h:251:32: error: 'VK_BROWSER_SEARCH' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:252:30: error: 'VK_BROWSER_FAVORITES' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:253:30: error: 'VK_BROWSER_REFRESH' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:254:30: error: 'VK_BROWSER_STOP' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:255:30: error: 'VK_BROWSER_FORWARD' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:256:30: error: 'VK_BROWSER_BACK' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:258:30: error: 'VK_LAUNCH_APP1' &gt; undeclared here (not in a function) &gt; ./event/hook/windows/input_c.h:259:30: error: 'VK_LAUNCH_MEDIA_SELECT' &gt; undeclared here (not in a function) In file included from &gt; ./event/goEvent.h:30:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:27: ./event/hook/windows/hook_c.h: In function 'initialize_modifiers': &gt; ./event/hook/windows/hook_c.h:90:18: error: 'VK_XBUTTON1' undeclared &gt; (first use in this function) ./event/hook/windows/hook_c.h:91:18: &gt; error: 'VK_XBUTTON2' undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h: In function 'mouse_hook_event_proc': &gt; ./event/hook/windows/hook_c.h:509:8: error: 'WM_XBUTTONDOWN' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h:510:8: error: 'WM_NCXBUTTONDOWN' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h:511:37: error: 'XBUTTON1' undeclared &gt; (first use in this function) ./event/hook/windows/hook_c.h:515:42: &gt; error: 'XBUTTON2' undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h:551:8: error: 'WM_XBUTTONUP' undeclared &gt; (first use in this function) ./event/hook/windows/hook_c.h:552:8: &gt; error: 'WM_NCXBUTTONUP' undeclared (first use in this function) In &gt; file included from ./event/goEvent.h:30:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:27: ./event/hook/windows/hook_c.h: In function 'win_hook_event_proc': &gt; ./event/hook/windows/hook_c.h:616:8: error: 'EVENT_OBJECT_NAMECHANGE' &gt; undeclared (first use in this function) ./event/hook/windows/hook_c.h: &gt; In function 'hook_run': ./event/hook/windows/hook_c.h:684:4: error: &gt; 'EVENT_OBJECT_NAMECHANGE' undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h:688:4: error: 'WINEVENT_OUTOFCONTEXT' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h:688:28: error: 'WINEVENT_SKIPOWNPROCESS' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/hook_c.h:688:26: error: invalid operands to &gt; binary | (have 'const uint16_t (*)[2]' and 'const uint16_t (*)[2]') In &gt; file included from ./event/goEvent.h:31:0, &gt; from src\github.com\go-vgo obotgo obotgo.go:27: ./event/hook/windows/event_c.h: In function 'hook_post_event': &gt; ./event/hook/windows/event_c.h:57:2: error: unknown type name 'INPUT' &gt; ./event/hook/windows/event_c.h:57:32: error: 'INPUT' undeclared (first &gt; use in this function) ./event/hook/windows/event_c.h:57:39: error: &gt; invalid operands to binary * (have 'const uint16_t (*)[2]' and 'int') &gt; ./event/hook/windows/event_c.h:63:24: error: request for member 'type' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:63:32: error: 'INPUT_KEYBOARD' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/event_c.h:64:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:64:27: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:65:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:65:27: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:66:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:66:27: error: request for member 'time' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:73:22: error: request for member 'type' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:73:30: error: 'INPUT_MOUSE' undeclared &gt; (first use in this function) ./event/hook/windows/event_c.h:74:22: &gt; error: request for member 'mi' in something not a structure or union &gt; ./event/hook/windows/event_c.h:74:25: error: request for member 'dx' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:75:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:75:25: error: request for member 'dy' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:76:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:76:25: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:77:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:77:25: error: request for member 'time' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:80:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:80:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:84:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:84:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:88:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:88:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:92:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:92:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:92:39: error: 'XBUTTON1' undeclared &gt; (first use in this function) ./event/hook/windows/event_c.h:93:23: &gt; error: request for member 'mi' in something not a structure or union &gt; ./event/hook/windows/event_c.h:93:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:93:40: error: 'MOUSEEVENTF_XDOWN' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/event_c.h:97:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:97:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:97:39: error: 'XBUTTON2' undeclared &gt; (first use in this function) ./event/hook/windows/event_c.h:98:23: &gt; error: request for member 'mi' in something not a structure or union &gt; ./event/hook/windows/event_c.h:98:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:107:23: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:107:26: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:108:27: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:108:30: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:109:24: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:110:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:110:27: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:111:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:111:27: error: request for member &gt; 'wScan' in something not a structure or union &gt; ./event/hook/windows/event_c.h:112:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:112:27: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:123:23: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:123:26: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:124:27: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:124:30: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:125:24: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:126:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:126:27: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:127:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:127:27: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:128:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:128:27: error: request for member &gt; 'wScan' in something not a structure or union &gt; ./event/hook/windows/event_c.h:129:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:129:27: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:141:23: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:142:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:142:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:146:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:146:28: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:150:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:150:28: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:154:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:154:28: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:158:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:158:28: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:162:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:162:28: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:168:26: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:168:29: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:172:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:172:26: error: request for member 'dx' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:173:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:173:26: error: request for member 'dy' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:175:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:175:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:176:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:176:26: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:182:23: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:183:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:183:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:183:37: error: 'MOUSEEVENTF_XUP' &gt; undeclared (first use in this function) &gt; ./event/hook/windows/event_c.h:187:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:187:28: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:191:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:191:28: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:195:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:195:28: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:199:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:199:28: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:203:25: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:203:28: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:209:26: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:209:29: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:213:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:213:26: error: request for member 'dx' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:214:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:214:26: error: request for member 'dy' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:216:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:216:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:217:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:217:26: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:223:23: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:224:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:224:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:227:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:227:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:229:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:229:26: error: request for member 'dx' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:230:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:230:26: error: request for member 'dy' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:232:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:232:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:233:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:233:26: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:242:23: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:243:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:243:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:245:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:245:26: error: request for member 'dx' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:246:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:246:26: error: request for member 'dy' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:248:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:248:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:249:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:249:26: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:274:24: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:275:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:275:27: error: request for member 'wVk' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:276:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:276:27: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:277:24: error: request for member 'ki' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:277:27: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:284:22: error: request for member &gt; 'type' in something not a structure or union &gt; ./event/hook/windows/event_c.h:285:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:285:25: error: request for member 'dx' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:286:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:286:25: error: request for member 'dy' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:287:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:287:25: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:288:22: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:288:25: error: request for member &gt; 'time' in something not a structure or union &gt; ./event/hook/windows/event_c.h:294:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:294:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:298:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:298:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:302:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:302:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:306:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:306:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:307:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:307:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; ./event/hook/windows/event_c.h:311:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:311:26: error: request for member &gt; 'mouseData' in something not a structure or union &gt; ./event/hook/windows/event_c.h:312:23: error: request for member 'mi' &gt; in something not a structure or union &gt; ./event/hook/windows/event_c.h:312:26: error: request for member &gt; 'dwFlags' in something not a structure or union &gt; &gt; G:\ProgramFiles\Go32&gt;go get github.com/go-vgo/robotgo </code></pre> </div>

Ubuntu 16.04 编译 Ncurses 6.0 报错

### Ubuntu 16.04 LTS 编译 Ncurses 6.0 报错: ``` In file included from ./curses.priv.h:325:0, from ../ncurses/lib_gen.c:19: _24273.c:843:15: error: expected ‘)’ before ‘int’ ../include/curses.h:1631:56: note: in definition of macro ‘mouse_trafo’ #define mouse_trafo(y,x,to_screen) wmouse_trafo(stdscr,y,x,to_screen) ^ Makefile:962: recipe for target '../objects/lib_gen.o' failed make[1]: *** [../objects/lib_gen.o] Error 1 make[1]: Leaving directory '/home/netsamir/Sofware/Tmux/ncurses-6.0/ncurses' Makefile:113: recipe for target 'all' failed make: *** [all] Error 2 ``` ### 系统配置 ``` $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 16.04 LTS Release: 16.04 Codename: xenial $ gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) $ g++ -v Using built-in specs. COLLECT_GCC=g++ COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/5/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Ubuntu 5.4.0-6ubuntu1~16.04.4' --with-bugurl=file:///usr/share/doc/gcc-5/README.Bugs --enable-languages=c,ada,c++,java,go,d,fortran,objc,obj-c++ --prefix=/usr --program-suffix=-5 --enable-shared --enable-linker-build-id --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --libdir=/usr/lib --enable-nls --with-sysroot=/ --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --with-default-libstdcxx-abi=new --enable-gnu-unique-object --disable-vtable-verify --enable-libmpx --enable-plugin --with-system-zlib --disable-browser-plugin --enable-java-awt=gtk --enable-gtk-cairo --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-5-amd64/jre --enable-java-home --with-jvm-root-dir=/usr/lib/jvm/java-1.5.0-gcj-5-amd64 --with-jvm-jar-dir=/usr/lib/jvm-exports/java-1.5.0-gcj-5-amd64 --with-arch-directory=amd64 --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-objc-gc --enable-multiarch --disable-werror --with-arch-32=i686 --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 5.4.0 20160609 (Ubuntu 5.4.0-6ubuntu1~16.04.4) ```

Ubuntu apt-get autoremove 报错

在终端 apt-get autoremove 时报错如下 Reading package lists... Done Building dependency tree Reading state information... Done 0 to upgrade, 0 to newly install, 0 to remove and 400 not to upgrade. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up compizconfig-settings-manager (1:0.9.12.2+16.04.20160823-0ubuntu1) ... Traceback (most recent call last): File "/usr/bin/pycompile", line 35, in <module> from debpython.version import SUPPORTED, debsorted, vrepr, \ File "/usr/share/python/debpython/version.py", line 24, in <module> from ConfigParser import SafeConfigParser ImportError: No module named 'ConfigParser' dpkg: error processing package compizconfig-settings-manager (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: compizconfig-settings-manager E: Sub-process /usr/bin/dpkg returned an error code (1) 网上说是因为Python2升级到Python3以后,ConfigParse就变成了configparse,把名字改回configparse就可以了,具体该怎么改呢? 高人指点,多谢了!

如何安装编译pdf2htmlex实现pdf到html的格式转换功能

最近要实现一个pdf转HTML的功能,找来找去好像pdf2htmlEX最符合要求,但是Windows上不知道怎么安装,网上资料也很少,就试着在ubantu上搞搞,虽然这个我更不熟悉,完全陌生的操作系统,但是它教程比较多啊orz... 下载pdf2htmlEX后直接运行安装 错误信息: -- Checking for module 'poppler>=0.25.0' -- CMake Error at /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:367 (message): A required package was not found Call Stack (most recent call first): /usr/share/cmake-3.5/Modules/FindPkgConfig.cmake:532 (_pkg_check_modules_internal) CMakeLists.txt:22 (pkg_check_modules) -- Configuring incomplete, errors occurred! See also "/home/f03012/pdf2htmlEX/CMakeFiles/CMakeOutput.log". 经过查找资料发现下错了poppler包, 然后我就去重新下载poppler,并配置 ./configure --prefix=/usr \ --sysconfdir=/etc \ --disable-static \ --enable-build-type=release \ --enable-cmyk \ --enable-xpdf-headers \ --with-testdatadir=$PWD/testfiles && make 报错提示需要先安装libopenjpeg checking for LIBOPENJPEG... no checking for LIBOPENJPEG... no checking for opj_cio_open in -lopenjpeg... no checking openjpeg.h usability... no checking openjpeg.h presence... no checking for openjpeg.h... no configure: error: Install libopenjpeg2 or libopenjpeg1 before trying to build poppler. You can also decide to use the internal unmaintained JPX decoder or none at all. See --help. 继续下载安装 CMake Warning (dev) at cmake/TestLargeFiles.cmake:20 (if): Policy CMP0054 is not set: Only interpret if() arguments as variables or keywords when unquoted. Run "cmake --help-policy CMP0054" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Quoted variables like "OPJ_HAVE_LARGEFILES" will no longer be dereferenced when the policy is set to NEW. Since the policy is not set the OLD behavior will be used. Call Stack (most recent call first): CMakeLists.txt:218 (OPJ_TEST_LARGE_FILES) This warning is for project developers. Use -Wno-dev to suppress it. -- Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR) -- Z lib not found, activate BUILD_THIRDPARTY if you want build it (necessary to build libPNG) -- Could NOT find TIFF (missing: TIFF_LIBRARY TIFF_INCLUDE_DIR) -- TIFF lib not found, activate BUILD_THIRDPARTY if you want build it -- Could NOT find LCMS2 (missing: LCMS2_LIBRARY LCMS2_INCLUDE_DIR) -- Could NOT find LCMS (missing: LCMS_LIBRARY LCMS_INCLUDE_DIR) -- LCMS2 or LCMS lib not found, activate BUILD_THIRDPARTY if you want build it -- Configuring done -- Generating done -- Build files have been written to: /home/f03012/下载/openjpeg-2.1.0 [ 5%] Built target t1_generate_luts [ 55%] Built target openjp2 [ 70%] Built target opj_compress [ 85%] Built target opj_dump [100%] Built target opj_decompress [ 5%] Built target t1_generate_luts [ 55%] Built target openjp2 [ 70%] Built target opj_compress [ 85%] Built target opj_dump [100%] Built target opj_decompress Install the project... -- Install configuration: "" -- Up-to-date: /usr/local/lib/openjpeg-2.1/OpenJPEGTargets.cmake -- Installing: /usr/local/lib/openjpeg-2.1/OpenJPEGTargets-noconfig.cmake -- Up-to-date: /usr/local/lib/openjpeg-2.1/OpenJPEGConfig.cmake -- Up-to-date: /usr/local/lib/pkgconfig/libopenjp2.pc -- Up-to-date: /usr/local/include/openjpeg-2.1/opj_config.h -- Up-to-date: /usr/local/lib/libopenjp2.so.2.1.0 -- Up-to-date: /usr/local/lib/libopenjp2.so.7 -- Up-to-date: /usr/local/lib/libopenjp2.so -- Up-to-date: /usr/local/include/openjpeg-2.1/openjpeg.h -- Up-to-date: /usr/local/include/openjpeg-2.1/opj_stdint.h -- Up-to-date: /usr/local/bin/opj_decompress -- Up-to-date: /usr/local/bin/opj_compress -- Up-to-date: /usr/local/bin/opj_dump 看不出来是否安装成功...试着继续配置了一下poppler,错误信息改变了 configure: WARNING: libjpeg not found. disable JPEG support. checking libjpeg.h works correctly... no checking libjpeg.h problem can be fixed by XMD_H macro... no, disable libjpeg configure: error: Install libjpeg before trying to build poppler. You can also decide to use the internal unmaintained DCT decoder or none at all. See --help. 这我就不知道该怎么办了,求帮助!!! ps:软件源我换了阿里云的源,但是还是好多下不了,导致我都得去网上下载包下来解压安装,也不知道安装方式对不对,真的不懂这个系统,我的安装方式:解压压缩包,在文件目录执行cmake . && make && make install 或者有没有大神知道Windows下的安装方法的教教我!Windows下我下了源码,但是那个exe文件执行不了

gcc编译出错gcc++:no. such this

c语言问题,请求大神帮忙,谢谢了![图片](https://img-ask.csdn.net/upload/201707/17/1500221962_788209.png)

conda安装librosa报错LinkError: post-link script failed for package conda-forge::qt?

(tensorflow-gpu) C:\Users\AnnJune>conda install -c conda-forge librosa Collecting package metadata: done Solving environment: \ The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency: - conda-forge/noarch::librosa==0.6.3=py_0 - conda-forge/win-64::matplotlib==3.1.0=py36_1 - conda-forge/win-64::matplotlib-base==3.1.0=py36h2852a4a_1 - defaults/win-64::numba==0.39.0=py36h830ac7b_0 - conda-forge/win-64::pyqt==5.6.0=py36h764d66f_1008 - conda-forge/noarch::resampy==0.2.1=py_1 - conda-forge/win-64::scikit-learn==0.21.2=py36h0ff8352_0 - defaults/win-64::scipy==1.2.1=py36h29ff71c_0 done ## Package Plan ## environment location: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu added / updated specs: - librosa The following packages will be downloaded: package | build ---------------------------|----------------- certifi-2019.3.9 | py36_0 149 KB conda-forge icu-58.1 | vc14_0 11.3 MB conda-forge llvmlite-0.28.0 | py36_0 12.5 MB conda-forge numba-0.43.1 | py36hf9181ef_0 2.8 MB defaults openssl-1.1.1b | hfa6e2cd_2 4.8 MB conda-forge pyqt-5.9.2 | py36h6538335_0 4.3 MB conda-forge qt-5.9.7 | hc6833c9_1 91.1 MB conda-forge sip-4.19.8 |py36h6538335_1000 281 KB conda-forge ------------------------------------------------------------ Total: 127.1 MB The following NEW packages will be INSTALLED: audioread conda-forge/win-64::audioread-2.1.6-py36_0 blas pkgs/main/win-64::blas-1.0-mkl ca-certificates conda-forge/win-64::ca-certificates-2019.3.9-hecc5488_0 cycler conda-forge/noarch::cycler-0.10.0-py_1 decorator conda-forge/noarch::decorator-4.4.0-py_0 freetype conda-forge/win-64::freetype-2.10.0-h5db478b_0 icc_rt pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1 icu conda-forge/win-64::icu-58.1-vc14_0 intel-openmp pkgs/main/win-64::intel-openmp-2019.3-203 joblib conda-forge/noarch::joblib-0.13.2-py_0 jpeg conda-forge/win-64::jpeg-9c-hfa6e2cd_1001 kiwisolver conda-forge/win-64::kiwisolver-1.1.0-py36he980bc4_0 libblas conda-forge/win-64::libblas-3.8.0-10_mkl libcblas conda-forge/win-64::libcblas-3.8.0-10_mkl liblapack conda-forge/win-64::liblapack-3.8.0-10_mkl libpng conda-forge/win-64::libpng-1.6.37-h7602738_0 llvmlite conda-forge/win-64::llvmlite-0.28.0-py36_0 mkl pkgs/main/win-64::mkl-2019.3-203 numpy conda-forge/win-64::numpy-1.16.3-py36h873a0b8_0 openssl conda-forge/win-64::openssl-1.1.1b-hfa6e2cd_2 pyparsing conda-forge/noarch::pyparsing-2.4.0-py_0 python-dateutil conda-forge/noarch::python-dateutil-2.8.0-py_0 qt conda-forge/win-64::qt-5.9.7-hc6833c9_1 sip conda-forge/win-64::sip-4.19.8-py36h6538335_1000 six conda-forge/win-64::six-1.12.0-py36_1000 tornado conda-forge/win-64::tornado-6.0.2-py36hfa6e2cd_0 zlib conda-forge/win-64::zlib-1.2.11-h2fa13f4_1004 The following packages will be UPDATED: numba 0.39.0-py36h830ac7b_0 --> 0.43.1-py36hf9181ef_0 pyqt 5.6.0-py36h764d66f_1008 --> 5.9.2-py36h6538335_0 The following packages will be SUPERSEDED by a higher-priority channel: certifi pkgs/main --> conda-forge Proceed ([y]/n)? y Downloading and Extracting Packages openssl-1.1.1b | 4.8 MB | ############################################################################ | 100% numba-0.43.1 | 2.8 MB | ############################################################################ | 100% pyqt-5.9.2 | 4.3 MB | ############################################################################ | 100% llvmlite-0.28.0 | 12.5 MB | ############################################################################ | 100% qt-5.9.7 | 91.1 MB | ############################################################################ | 100% certifi-2019.3.9 | 149 KB | ############################################################################ | 100% icu-58.1 | 11.3 MB | ############################################################################ | 100% sip-4.19.8 | 281 KB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: \ ERROR conda.core.link:_execute_post_link_actions(658): An error occurred while installing package 'conda-forge::qt-5.9.7-hc6833c9_1'. LinkError: post-link script failed for package conda-forge::qt-5.9.7-hc6833c9_1 running your command again with `-v` will provide additional information location of failed script: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu\Scripts\.qt-post-link.bat ==> script messages <== <None> Attempting to roll back. failed ERROR conda.core.link:_execute(568): An error occurred while installing package 'conda-forge::qt-5.9.7-hc6833c9_1'. LinkError: post-link script failed for package conda-forge::qt-5.9.7-hc6833c9_1 running your command again with `-v` will provide additional information location of failed script: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu\Scripts\.qt-post-link.bat ==> script messages <== <None> Attempting to roll back. Rolling back transaction: done LinkError: post-link script failed for package conda-forge::qt-5.9.7-hc6833c9_1 running your command again with `-v` will provide additional information location of failed script: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu\Scripts\.qt-post-link.bat ==> script messages <== <None>

初级玩转Linux+Ubuntu(嵌入式开发基础课程)

课程主要面向嵌入式Linux初学者、工程师、学生 主要从一下几方面进行讲解: 1.linux学习路线、基本命令、高级命令 2.shell、vi及vim入门讲解 3.软件安装下载、NFS、Samba、FTP等服务器配置及使用

我以为我对Mysql事务很熟,直到我遇到了阿里面试官

太惨了,面试又被吊打

Python代码实现飞机大战

文章目录经典飞机大战一.游戏设定二.我方飞机三.敌方飞机四.发射子弹五.发放补给包六.主模块 经典飞机大战 源代码以及素材资料(图片,音频)可从下面的github中下载: 飞机大战源代码以及素材资料github项目地址链接 ————————————————————————————————————————————————————————— 不知道大家有没有打过飞机,喜不喜欢打飞机。当我第一次接触这个东西的时候,我的内心是被震撼到的。第一次接触打飞机的时候作者本人是身心愉悦的,因为周边的朋友都在打飞机, 每

Python数据分析与挖掘

92讲视频课+16大项目实战+源码+¥800元课程礼包+讲师社群1V1答疑+社群闭门分享会=99元 &nbsp; 为什么学习数据分析? &nbsp; &nbsp; &nbsp; 人工智能、大数据时代有什么技能是可以运用在各种行业的?数据分析就是。 &nbsp; &nbsp; &nbsp; 从海量数据中获得别人看不见的信息,创业者可以通过数据分析来优化产品,营销人员可以通过数据分析改进营销策略,产品经理可以通过数据分析洞察用户习惯,金融从业者可以通过数据分析规避投资风险,程序员可以通过数据分析进一步挖掘出数据价值,它和编程一样,本质上也是一个工具,通过数据来对现实事物进行分析和识别的能力。不管你从事什么行业,掌握了数据分析能力,往往在其岗位上更有竞争力。 &nbsp;&nbsp; 本课程共包含五大模块: 一、先导篇: 通过分析数据分析师的一天,让学员了解全面了解成为一个数据分析师的所有必修功法,对数据分析师不在迷惑。 &nbsp; 二、基础篇: 围绕Python基础语法介绍、数据预处理、数据可视化以及数据分析与挖掘......这些核心技能模块展开,帮助你快速而全面的掌握和了解成为一个数据分析师的所有必修功法。 &nbsp; 三、数据采集篇: 通过网络爬虫实战解决数据分析的必经之路:数据从何来的问题,讲解常见的爬虫套路并利用三大实战帮助学员扎实数据采集能力,避免没有数据可分析的尴尬。 &nbsp; 四、分析工具篇: 讲解数据分析避不开的科学计算库Numpy、数据分析工具Pandas及常见可视化工具Matplotlib。 &nbsp; 五、算法篇: 算法是数据分析的精华,课程精选10大算法,包括分类、聚类、预测3大类型,每个算法都从原理和案例两个角度学习,让你不仅能用起来,了解原理,还能知道为什么这么做。

如何在虚拟机VM上使用串口

在系统内核开发中,经常会用到串口调试,利用VMware的Virtual Machine更是为调试系统内核如虎添翼。那么怎么搭建串口调试环境呢?因为最近工作涉及到这方面,利用强大的google搜索和自己

程序员的兼职技能课

获取讲师答疑方式: 在付费视频第一节(触摸命令_ALL)片头有二维码及加群流程介绍 限时福利 原价99元,今日仅需39元!购课添加小助手(微信号:csdn590)按提示还可领取价值800元的编程大礼包! 讲师介绍: 苏奕嘉&nbsp;前阿里UC项目工程师 脚本开发平台官方认证满级(六级)开发者。 我将如何教会你通过【定制脚本】赚到你人生的第一桶金? 零基础程序定制脚本开发课程,是完全针对零脚本开发经验的小白而设计,课程内容共分为3大阶段: ①前期将带你掌握Q开发语言和界面交互开发能力; ②中期通过实战来制作有具体需求的定制脚本; ③后期将解锁脚本的更高阶玩法,打通任督二脉; ④应用定制脚本合法赚取额外收入的完整经验分享,带你通过程序定制脚本开发这项副业,赚取到你的第一桶金!

MFC一站式终极全套课程包

该套餐共包含从C小白到C++到MFC的全部课程,整套学下来绝对成为一名C++大牛!!!

C++语言基础视频教程

C++语言基础视频培训课程:本课与主讲者在大学开出的程序设计课程直接对接,准确把握知识点,注重教学视频与实践体系的结合,帮助初学者有效学习。本教程详细介绍C++语言中的封装、数据隐藏、继承、多态的实现等入门知识;主要包括类的声明、对象定义、构造函数和析构函数、运算符重载、继承和派生、多态性实现等。 课程需要有C语言程序设计的基础(可以利用本人开出的《C语言与程序设计》系列课学习)。学习者能够通过实践的方式,学会利用C++语言解决问题,具备进一步学习利用C++开发应用程序的基础。

北京师范大学信息科学与技术学院笔试10复试真题

北京师范大学信息科学与技术学院笔试,可以更好的让你了解北师大该学院的复试内容,获得更好的成绩。

深度学习原理+项目实战+算法详解+主流框架(套餐)

深度学习系列课程从深度学习基础知识点开始讲解一步步进入神经网络的世界再到卷积和递归神经网络,详解各大经典网络架构。实战部分选择当下最火爆深度学习框架PyTorch与Tensorflow/Keras,全程实战演示框架核心使用与建模方法。项目实战部分选择计算机视觉与自然语言处理领域经典项目,从零开始详解算法原理,debug模式逐行代码解读。适合准备就业和转行的同学们加入学习! 建议按照下列课程顺序来进行学习 (1)掌握深度学习必备经典网络架构 (2)深度框架实战方法 (3)计算机视觉与自然语言处理项目实战。(按照课程排列顺序即可)

网络工程师小白入门--【思科CCNA、华为HCNA等网络工程师认证】

本课程适合CCNA或HCNA网络小白同志,高手请绕道,可以直接学习进价课程。通过本预科课程的学习,为学习网络工程师、思科CCNA、华为HCNA这些认证打下坚实的基础! 重要!思科认证2020年2月24日起,已启用新版认证和考试,包括题库都会更新,由于疫情原因,请关注官网和本地考点信息。题库网络上很容易下载到。

Python界面版学生管理系统

前不久上传了一个控制台版本的学生管理系统,这个是Python界面版学生管理系统,这个是使用pycharm开发的一个有界面的学生管理系统,基本的增删改查,里面又演示视频和完整代码,有需要的伙伴可以自行下

软件测试2小时入门

本课程内容系统、全面、简洁、通俗易懂,通过2个多小时的介绍,让大家对软件测试有个系统的理解和认识,具备基本的软件测试理论基础。 主要内容分为5个部分: 1 软件测试概述,了解测试是什么、测试的对象、原则、流程、方法、模型;&nbsp; 2.常用的黑盒测试用例设计方法及示例演示;&nbsp; 3 常用白盒测试用例设计方法及示例演示;&nbsp; 4.自动化测试优缺点、使用范围及示例‘;&nbsp; 5.测试经验谈。

Tomcat服务器下载、安装、配置环境变量教程(超详细)

未经我的允许,请不要转载我的文章,在此郑重声明!!! 请先配置安装好Java的环境,若没有安装,请参照我博客上的步骤进行安装! 安装Java环境教程https://blog.csdn.net/qq_40881680/article/details/83585542 Tomcat部署Web项目(一)·内嵌https://blog.csdn.net/qq_40881680/article/d...

2019数学建模A题高压油管的压力控制 省一论文即代码

2019数学建模A题高压油管的压力控制省一完整论文即详细C++和Matlab代码,希望对同学们有所帮助

图书管理系统(Java + Mysql)我的第一个完全自己做的实训项目

图书管理系统 Java + MySQL 完整实训代码,MVC三层架构组织,包含所有用到的图片资源以及数据库文件,大三上学期实训,注释很详细,按照阿里巴巴Java编程规范编写

linux下利用/proc进行进程树的打印

在linux下利用c语言实现的进程树的打印,主要通过/proc下的目录中的进程文件,获取status中的进程信息内容,然后利用递归实现进程树的打印

微信小程序开发实战之番茄时钟开发

微信小程序番茄时钟视频教程,本课程将带着各位学员开发一个小程序初级实战类项目,针对只看过官方文档而又无从下手的开发者来说,可以作为一个较好的练手项目,对于有小程序开发经验的开发者而言,可以更好加深对小程序各类组件和API 的理解,为更深层次高难度的项目做铺垫。

[已解决]踩过的坑之mysql连接报“Communications link failure”错误

目录 前言 第一种方法: 第二种方法 第三种方法(适用于项目和数据库在同一台服务器) 第四种方法 第五种方法(项目和数据库不在同一台服务器) 总结 前言 先给大家简述一下我的坑吧,(我用的是mysql,至于oracle有没有这样的问题,有心的小伙伴们可以测试一下哈), 在自己做个javaweb测试项目的时候,因为买的是云服务器,所以数据库连接的是用ip地址,用IDE开发好...

人工智能-计算机视觉实战之路(必备算法+深度学习+项目实战)

系列课程主要分为3大阶段:(1)首先掌握计算机视觉必备算法原理,结合Opencv进行学习与练手,通过实际视项目进行案例应用展示。(2)进军当下最火的深度学习进行视觉任务实战,掌握深度学习中必备算法原理与网络模型架构。(3)结合经典深度学习框架与实战项目进行实战,基于真实数据集展开业务分析与建模实战。整体风格通俗易懂,项目驱动学习与就业面试。 建议同学们按照下列顺序来进行学习:1.Python入门视频课程 2.Opencv计算机视觉实战(Python版) 3.深度学习框架-PyTorch实战/人工智能框架实战精讲:Keras项目 4.Python-深度学习-物体检测实战 5.后续实战课程按照自己喜好选择就可以

2019 AI开发者大会

2019 AI开发者大会(AI ProCon 2019)是由中国IT社区CSDN主办的AI技术与产业年度盛会。多年经验淬炼,如今蓄势待发:2019年9月6-7日,大会将有近百位中美顶尖AI专家、知名企业代表以及千余名AI开发者齐聚北京,进行技术解读和产业论证。我们不空谈口号,只谈技术,诚挚邀请AI业内人士一起共铸人工智能新篇章!

机器学习初学者必会的案例精讲

通过六个实际的编码项目,带领同学入门人工智能。这些项目涉及机器学习(回归,分类,聚类),深度学习(神经网络),底层数学算法,Weka数据挖掘,利用Git开源项目实战等。

Python数据分析师-实战系列

系列课程主要包括Python数据分析必备工具包,数据分析案例实战,核心算法实战与企业级数据分析与建模解决方案实战,建议大家按照系列课程阶段顺序进行学习。所有数据集均为企业收集的真实数据集,整体风格以实战为导向,通俗讲解Python数据分析核心技巧与实战解决方案。

YOLOv3目标检测实战系列课程

《YOLOv3目标检测实战系列课程》旨在帮助大家掌握YOLOv3目标检测的训练、原理、源码与网络模型改进方法。 本课程的YOLOv3使用原作darknet(c语言编写),在Ubuntu系统上做项目演示。 本系列课程包括三门课: (1)《YOLOv3目标检测实战:训练自己的数据集》 包括:安装darknet、给自己的数据集打标签、整理自己的数据集、修改配置文件、训练自己的数据集、测试训练出的网络模型、性能统计(mAP计算和画出PR曲线)和先验框聚类。 (2)《YOLOv3目标检测:原理与源码解析》讲解YOLOv1、YOLOv2、YOLOv3的原理、程序流程并解析各层的源码。 (3)《YOLOv3目标检测:网络模型改进方法》讲解YOLOv3的改进方法,包括改进1:不显示指定类别目标的方法 (增加功能) ;改进2:合并BN层到卷积层 (加快推理速度) ; 改进3:使用GIoU指标和损失函数 (提高检测精度) ;改进4:tiny YOLOv3 (简化网络模型)并介绍 AlexeyAB/darknet项目。

2021考研数学张宇基础30讲.pdf

张宇:博士,全国著名考研数学辅导专家,教育部“国家精品课程建设骨干教师”,全国畅销书《张宇高等数学18讲》《张宇线性代数9讲》《张宇概率论与数理统计9讲》《张宇考研数学题源探析经典1000题》《张宇考

三个项目玩转深度学习(附1G源码)

从事大数据与人工智能开发与实践约十年,钱老师亲自见证了大数据行业的发展与人工智能的从冷到热。事实证明,计算机技术的发展,算力突破,海量数据,机器人技术等,开启了第四次工业革命的序章。深度学习图像分类一直是人工智能的经典任务,是智慧零售、安防、无人驾驶等机器视觉应用领域的核心技术之一,掌握图像分类技术是机器视觉学习的重中之重。针对现有线上学习的特点与实际需求,我们开发了人工智能案例实战系列课程。打造:以项目案例实践为驱动的课程学习方式,覆盖了智能零售,智慧交通等常见领域,通过基础学习、项目案例实践、社群答疑,三维立体的方式,打造最好的学习效果。

DirectX修复工具V4.0增强版

DirectX修复工具(DirectX Repair)是一款系统级工具软件,简便易用。本程序为绿色版,无需安装,可直接运行。 本程序的主要功能是检测当前系统的DirectX状态,如果发现异常则进行修复

期末考试评分标准的数学模型

大学期末考试与高中的考试存在很大的不同之处,大学的期末考试成绩是主要分为两个部分:平时成绩和期末考试成绩。平时成绩和期末考试成绩总分一般为一百分,然而平时成绩与期末考试成绩所占的比例不同会导致出现不同

Vue.js 2.0之全家桶系列视频课程

基于新的Vue.js 2.3版本, 目前新全的Vue.js教学视频,让你少走弯路,直达技术前沿! 1. 包含Vue.js全家桶(vue.js、vue-router、axios、vuex、vue-cli、webpack、ElementUI等) 2. 采用笔记+代码案例的形式讲解,通俗易懂

c语言项目开发实例

十个c语言案例 (1)贪吃蛇 (2)五子棋游戏 (3)电话薄管理系统 (4)计算器 (5)万年历 (6)电子表 (7)客户端和服务器通信 (8)潜艇大战游戏 (9)鼠标器程序 (10)手机通讯录系统

相关热词 c#中如何设置提交按钮 c#帮助怎么用 c# 读取合并单元格的值 c#带阻程序 c# 替换span内容 c# rpc c#控制台点阵字输出 c#do while循环 c#调用dll多线程 c#找出两个集合不同的
立即提问