linux安装opencv是make出错 10C

[ 7%] Built target libwebp
[ 7%] Built target opencv_test_core_pch_dephelp
[ 7%] Built target opencv_core_pch_dephelp
[ 7%] Built target opencv_ts_pch_dephelp
[ 7%] Built target pch_Generate_opencv_ts
[ 7%] Built target pch_Generate_opencv_core
[ 7%] Building CXX object modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp: In function ‘int lapack_gemm_c(const fptype*, size_t, const fptype*, size_t, fptype, const fptype*, size_t, fptype, fptype*, size_t, int, int, int, int)’:
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:437: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:437: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:438: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:438: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:439: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:439: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:440: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:440: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:443: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:443: error: expected ‘;’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:444: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:444: error: expected ‘;’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:494: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:494: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:496: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:496: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:501: error: expected unqualified-id before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:501: error: expected ‘)’ before ‘__complex__’
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:504: error: ‘cAlpha’ was not declared in this scope
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:504: error: ‘cBeta’ was not declared in this scope
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:506: error: ‘cAlpha’ was not declared in this scope
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:506: error: ‘cBeta’ was not declared in this scope
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp: In function ‘int lapack_gemm_c(const fptype*, size_t, const fptype*, size_t, fptype, const fptype*, size_t, fptype, fptype*, size_t, int, int, int, int) [with fptype = float]’:
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:591: instantiated from here
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:439: warning: unused variable ‘ldsrc3’ [-Wunused-variable]
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp: At global scope:
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:434: warning: unused parameter ‘alpha’ [-Wunused-parameter]
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp: In function ‘int lapack_gemm_c(const fptype*, size_t, const fptype*, size_t, fptype, const fptype*, size_t, fptype, fptype*, size_t, int, int, int, int) [with fptype = double]’:
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:598: instantiated from here
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:439: warning: unused variable ‘ldsrc3’ [-Wunused-variable]
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp: At global scope:
/home/w/opencv-3.2.0/modules/core/src/hal_internal.cpp:434: warning: unused parameter ‘alpha’ [-Wunused-parameter]
modules/core/CMakeFiles/opencv_core.dir/build.make:930: recipe for target 'modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o' failed
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/hal_internal.cpp.o] Error 1
CMakeFiles/Makefile2:1289: 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

1个回答

opencv源码包文件有bug

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

[ 12%] Built target gen-pkgconfig [ 12%] Built target libwebp [ 12%] Built target ippiw [ 12%] Building CXX object 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o In file included from /home/w/opencv/3rdparty/protobuf/src/google/protobuf/repeated_field.h:62, from /home/w/opencv/3rdparty/protobuf/src/google/protobuf/extension_set.h:51, from /home/w/opencv/3rdparty/protobuf/src/google/protobuf/extension_set.cc:38: 3rdparty/protobuf/CMakeFiles/libprotobuf.dir/build.make:110: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o' failed make[2]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/src/google/protobuf/extension_set.cc.o] Error 1 CMakeFiles/Makefile2:436: recipe for target '3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all' failed make[1]: *** [3rdparty/protobuf/CMakeFiles/libprotobuf.dir/all] Error 2 Makefile:160: recipe for target 'all' failed make: *** [all] Error 2

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滤波。。。跪求大神帮忙。。。

linux下Apriltag+opencv编译问题?

apriltag菜鸡一枚,前天才开始接触apriltag,从网上下载了源码准备在虚拟机上 编译一下,根据readme里的内容操作到make opencv_demo 时出错,在 网上找了无数种方法都不能解决,希望各位大佬能指导一二,谢谢各位大佬 Makefile内容如下: ![图片说明](https://img-ask.csdn.net/upload/202004/02/1585796457_775684.png) make时报的错: ![图片说明](https://img-ask.csdn.net/upload/202003/03/1583233029_979636.png)

qt上编译opencv程序出错

编译提取棋盘格角点的的程序,但是一直显示cvFindChessboardCorners这个函数有问题,请大神指教! 错误如下: ``` ../qt_subpix1/main.cpp: In function 'int main(int, char**)': ../qt_subpix1/main.cpp:14:19: warning: deprecated conversion from string constant to 'char*' [-Wwrite-strings] char* filename="1.jpg"; ^ ../qt_subpix1/main.cpp:20:12: warning: unused variable 'c' [-Wunused-variable] char c=getchar(); ^ ../qt_subpix1/main.cpp:37:9: error: 'CV_CALIB_CB_ADAPTIVE_THRESH' was not declared in this scope CV_CALIB_CB_ADAPTIVE_THRESH|CV_CALIB_CB_FILTER_QUADS// check page 382-383. ^ ../qt_subpix1/main.cpp:37:37: error: 'CV_CALIB_CB_FILTER_QUADS' was not declared in this scope CV_CALIB_CB_ADAPTIVE_THRESH|CV_CALIB_CB_FILTER_QUADS// check page 382-383. ^ ../qt_subpix1/main.cpp:38:4: error: 'cvFindChessboardCorners' was not declared in this scope ); ^ ../qt_subpix1/main.cpp:58:4: error: 'cvDrawChessboardCorners' was not declared in this scope ); ^ ../qt_subpix1/main.cpp: At global scope: ../qt_subpix1/main.cpp:11:5: warning: unused parameter 'argc' [-Wunused-parameter] int main(int argc, char** argv) ^ ../qt_subpix1/main.cpp:11:5: warning: unused parameter 'argv' [-Wunused-parameter] make: *** [main.o] Error 1 ``` 程序源码如下: ``` /* hellochess.cpp */ #include <iostream> #include <stdlib.h> #include <cv.h> #include <cxcore.h> #include <highgui.h> #include <math.h> using namespace std; int main(int argc, char** argv) { cout << "Draw Chess OpenCV!"<<endl; char* filename="1.jpg"; IplImage* imgRGB = cvLoadImage(filename); IplImage* imgGrey = cvLoadImage(filename,CV_LOAD_IMAGE_GRAYSCALE); if (imgGrey==NULL){//image validation cout << "No valid image input"<<endl; char c=getchar(); return 1; } //-------find chessboard corners-------------- int corner_row=9;//interior number of row corners.(this can be countered by fingers.) int corner_col=11;//interior number of column corners. int corner_n=corner_row*corner_col; CvSize pattern_size=cvSize(corner_row,corner_col); CvPoint2D32f* corners=new CvPoint2D32f(corner_n); int corner_count; int found=cvFindChessboardCorners(//returning non-zero means sucess. imgGrey,// 8-bit single channel greyscale image. pattern_size,//how many INTERIOR corners in each row and column of the chessboard. corners,//a pointer to an array where the corner locations can be recorded. &corner_count,// optional, if non-NULL, its a point to an integer where the nuber of corners found can be recorded. CV_CALIB_CB_ADAPTIVE_THRESH|CV_CALIB_CB_FILTER_QUADS// check page 382-383. ); //-------------obtain subpixel accuracy on those corners----------------------- int half_win_size=3;//the window size will be 3+1+3=7 int iteration=20; double epislon=0.1; cvFindCornerSubPix( imgGrey, corners, corner_count, cvSize(half_win_size,half_win_size), cvSize(-1,-1),//no ignoring the neighbours of the center corner cvTermCriteria(CV_TERMCRIT_ITER|CV_TERMCRIT_EPS,iteration,epislon) ); //-------Draw the corner pattern------- cvDrawChessboardCorners( imgRGB, pattern_size, corners, corner_count, found ); //to summary a bit of findings. //<<&quot;found=&quot;<<found<<endl; //cout<<&quot;x=&quot;<<corners&#91;2&#93;.x; //cout<<&quot;,y=&quot;<<corners&#91;2&#93;.y<<endl; cvNamedWindow("Find and Draw ChessBoard", CV_WINDOW_AUTOSIZE ); cvShowImage( "Find and Draw ChessBoard", imgRGB ); cvWaitKey(0); cvReleaseImage(&imgGrey); cvReleaseImage(&imgRGB); cvDestroyWindow("Find and Draw ChessBoard"); return 0; } ```

opencv配置成功后,进行测试时出错

CMake Warning at /home/obvious/opencv/cmake/OpenCVConfig.cmake:166 (message): Found OpenCV Windows Pack but it has no binaries compatible with your configuration. You should manually point CMake variable OpenCV_DIR to your build of OpenCV library. Call Stack (most recent call first): CMakeLists.txt:10 (find_package) CMake Error at CMakeLists.txt:10 (find_package): Found package configuration file: /home/obvious/opencv/cmake/OpenCVConfig.cmake but it set OpenCV_FOUND to FALSE so package "OpenCV" is considered to be NOT FOUND. ![图片说明](https://img-ask.csdn.net/upload/201703/05/1488699720_108187.png)

Cmake 配置 Opencv3.0 出现问题

试了多次,用Cmake 配置Opencv 出现如下提示: CMake Error at CMakeLists.txt:98 (project): No CMAKE_CXX_COMPILER could be found. vs 为64位的vs 15;opencv3.2 求大神指导,捣鼓了几个小时不知道怎么解决!!!!

ubuntu16.04安装caffe时编译遇到的问题

![图片说明](https://img-ask.csdn.net/upload/201801/15/1516010855_935381.jpg) 第一次在安装caffe的时候,make all -j16报这个错,cuda、cudnn、nccl、opencv都装成功了 ,依赖包也都装了,实在是不知道哪里的问题,大神帮忙出来看一下吧!!!

opencv3.1.0交叉编译 使用摄像头 编译出错

opencv3.1.0交叉编译: 宿主机:ubuntu 14.04 交叉编译工具:gcc-4.6.2-glibc-2.13-linaro 在使用Cmake-gui配置时,因为要使用摄像头(OV3640)取图像,进行图像处理,所以将Operating System填为Linux, 并将WITH_V4L勾选上,之后执行make命令,总是编译错误,提示许多的库找不到,如下图中所示; 如果将Operating System填为arm-linux,没有勾选WITH_V4L,则可以make编译通过,但在arm开发板上用OpenCV打不开摄像头,isOpened ()返回值是false。请帮忙分析问题原因,希望给提供些正确的解决办法,非常感激! ![勾选WITH_V4L 编译错误信息](https://img-ask.csdn.net/upload/201605/29/1464522128_617542.png)![勾选WITH_V4L 编译错误信息](https://img-ask.csdn.net/upload/201605/29/1464522146_811706.jpg) ![cmake-gui 配置为Linux](https://img-ask.csdn.net/upload/201605/30/1464565387_398821.png) ![cmake-gui 配置为arm-linux](https://img-ask.csdn.net/upload/201605/30/1464565406_575197.png)

linux C++ cmake编译通过,链接的时候出错

今天跑一个老师给的代码,安装了shark、boost和opencv,编译该通过了,但是链接的时候报错,错误如下: /usr/bin/ld: CMakeFiles/test.dir/classifier.cc.o: undefined reference to symbol 'cblas_dgemm' /usr/lib/atlas-base/atlas/libblas.so.3: error adding symbols: DSO missing from command line collect2: error: ld returned 1 exit status src/CMakeFiles/test.dir/build.make:302: recipe for target 'src/test' failed make[2]: *** [src/test] Error 1 CMakeFiles/Makefile2:85: recipe for target 'src/CMakeFiles/test.dir/all' failed make[1]: *** [src/CMakeFiles/test.dir/all] Error 2 Makefile:83: recipe for target 'all' failed make: *** [all] Error 2 百度谷歌了好久实在不知道怎么解决,请问有木有大神指导怎么解决= =

ubuntu环境下nao开发环境的搭建

按照网上帖子搭建nao c++开发环境,成功编译自带例程,但总在make时出错![图片说明](https://img-ask.csdn.net/upload/201703/13/1489395746_251639.png) 请大神帮助解决,尽量不要给链接,并附带说一下原因,方便我学习进步,谢谢。 另:不是opencv的配置

跪求cmake交叉编译出错原因!!!

Linking CXX shared library ../../lib/libopencv_core.so /opt/EmbedSky/4.4.6/lib/gcc/arm-embedsky-linux-gnueabi/4.4.6/../../../../arm-embedsky-linux-gnueabi/bin/ld: ../../3rdparty/lib/libzlib.a(inflate.c.obj): relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC ../../3rdparty/lib/libzlib.a: could not read symbols: Bad value collect2: ld returned 1 exit status make[2]: *** [lib/libopencv_core.so] 错误 1 make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] 错误 2 make: *** [all] 错误 2 请问这是什么错误啊? opencv路径及版本:/usr/local/ Opencv2.4.1 cmake路径及版本:/usr/local/ cmake-2.8.12.2-Linux-i386 用户:root

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

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

invalid null pointer!

![图片说明](https://img-ask.csdn.net/upload/201705/07/1494168216_985520.png) ``` // win_cDemo.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include "tinyxml.h" #include "NLPIR.h" #include <stdio.h> #include <stdlib.h> #include<windows.h> #include <fstream> #include <iostream> #include <string> #include <hash_map> #include <WinSock.h> #include <mysql.h> using namespace std; #pragma comment(lib,"tinyxml.lib") #pragma comment(lib, "NLPIR.lib") #pragma comment(lib, "ws2_32.lib") #pragma comment(lib, "libmysql.lib") //存放字典数据的hashMap hash_map<string,float> hmDic; //计算运行时间的变量 DWORD start_time,end_time; //mysql文件 MYSQL mysqlData; string user,passwd; void processDictionary(string filename,float weight) { ifstream fin(filename.c_str()); if( !fin ) { cout << "Error opening " << filename << " for input" << endl; return; } string buf; while(fin>>buf) { hmDic.insert(make_pair(buf,weight)); } cout<<"Process Dictionary "<<filename<<" Success"<<endl; } void processConfigure() { //获取XML对象 TiXmlDocument doc; //装载文件 doc.LoadFile("configure.xml"); //获取dics TiXmlElement *dicsLevel = (doc.RootElement())->FirstChildElement(); //获取dic TiXmlElement *dicLevel=dicsLevel->FirstChildElement(); TiXmlElement *pathLevel,*weightLevel; start_time = GetTickCount64();//获取开始时间 cout<<"Process Begin, Please Wait Patient"<<endl; while (dicLevel != NULL)// { pathLevel = dicLevel->FirstChildElement();//获取path weightLevel = pathLevel->NextSiblingElement();//获取weight //cout<<pathLevel->GetText()<<":"<<weightLevel->GetText()<<endl; //处理文本 string filename =pathLevel->GetText(); float weight = atof(weightLevel->GetText()); //cout<<filename<<"|"<<weight+1<<endl; processDictionary(filename,weight); dicLevel=dicLevel->NextSiblingElement(); } end_time = GetTickCount64();//获取结束时间 cout<<"Process All Dictionary Use "<<end_time-start_time<<" ms"<<endl; //获取mysql TiXmlElement *mysqlLevel = dicsLevel->NextSiblingElement(); TiXmlElement *userLevel,*passwdLevel; userLevel = mysqlLevel->FirstChildElement();//获取user passwdLevel = userLevel->NextSiblingElement();//获取passwd user = userLevel->GetText(); passwd = passwdLevel->GetText(); } int sentenceAnalysis(string sSentence) { try { const result_t *pVecResult; int nCount; //对句子进行分词 pVecResult=NLPIR_ParagraphProcessA(sSentence.c_str(),&nCount); float totalNum = 0;//句子总的情感值 float tmpNum = 0;//每个字句的情感值 float tmpD = 1;//用来存放临时副词的变量 bool isTmpDSet = 0;//是否有副词被设置 for (int i=0;i<nCount;i++) { string ciXin = pVecResult[i].sPOS;//词性 //不存在词性则跳过 if(ciXin.empty()) { continue; } //词性中包含'w'(即标点符号),表示当前的一个子句已经处理完毕 if(ciXin[0]=='w') { totalNum += tmpNum; tmpNum = 0; continue; } //如果不是形容词a,副词d,动词v,名词n,数词m,则不处理 if(!(ciXin=="a"||ciXin=="d"||ciXin=="v"||ciXin=="n"||ciXin=="m")) continue; string tmp = sSentence.substr(pVecResult[i].start,pVecResult[i].length); auto itr=hmDic.find(tmp); if(itr!=hmDic.end()) { if(ciXin=="d")//如果副词后面接副词,进行多重复合 { tmpD *= itr->second; isTmpDSet = 1; } else if(isTmpDSet)//如果之前存在副词 { tmpNum += tmpD * itr->second; isTmpDSet = 0; } else { tmpNum += itr->second;//不存在副词的影响,直接加减 } } } return totalNum; } catch(...) { //对出错的情况进行默认处理 return 0; } } void initMysql() { try { mysql_init(&mysqlData); // localhost:服务器 root为账号,123456为密码 test为数据库名 3306为端口 if(!mysql_real_connect(&mysqlData, "localhost","root","","fooddata",3306,NULL,0)) { cout<<"database connect fail"<<endl; exit(1); } else cout<<"database connect success"<<endl; } catch (...) { exit(1); } } int main() { //初始化分词器 if(!NLPIR_Init()) { printf("Init fails\n"); return -1; } //首先读取配置文件,建立字典数据 processConfigure(); //初始化mysql数据库 initMysql(); //存储每一行数据 string text; //查询所有结果 string sqlstr = "SELECT id,text,kind FROM comment"; MYSQL_RES *result = NULL; if (0 == mysql_query(&mysqlData, sqlstr.c_str())) { //一次性取得数据集 result = mysql_store_result(&mysqlData); //获取每一行 MYSQL_ROW row = NULL; row = mysql_fetch_row(result); start_time = GetTickCount64(); while (NULL != row) { text = row[1]; //对每个句子进行分词 int answer = sentenceAnalysis(text); if(answer>0) cout<<"正面评价"<<endl; else if(answer<0) cout<<"负面评价"<<endl; else cout<<"中性评价"<<endl; row = mysql_fetch_row(result); } end_time = GetTickCount64(); cout<<"Text all rows use "<<end_time-start_time<<" ms"<<endl; } //关闭数据库 // mysql_close(&mysqlData); //释放分词器资源 NLPIR_Exit(); return 0; } ``` 求大神看看这个怎么修改???

vscode debug C++ 时无法打开控制台(或者说运行不了 gdb.exe)?

**我在使用 vscode 配置 C++ 环境时** **c_cpp_properties.json , tasks.json 都配置好了,** **编译项目和自动识别头文件,自动补全代码等都没有问题。** **但是我的 launch.json 不知道是不是出了问题** **无论怎么按 F5 都没有弹出控制台窗口 !!??** **不管内部还是外部控制台都没有弹出** **一直停留在下面这个界面** ![图片说明](https://img-ask.csdn.net/upload/201903/17/1552789222_97868.png) *** 没有报错!! *** *** 编译也一切正常 *** ** 我的 c_cpp_properties.json , tasks.json 和 launch.json 如下 ** ## c_cpp_properties.json ``` { "configurations": [ { "name": "Win32", "includePath": [ "${workspaceFolder}\\**", "${workspaceFolder}\\**\\**", "D:\\Program Files\\mingw64\\include", "D:\\Program Files\\mingw64\\opt\\include", "D:\\Program Files\\mingw64\\opt\\lib\\libffi-3.2.1\\include", "D:\\Program Files\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\8.1.0\\include", "D:\\Program Files\\mingw64\\x86_64-w64-mingw32\\include", "D:\\Program Files\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\8.1.0\\include\\c++", "D:\\Program Files\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\8.1.0\\include\\c++\\bits", "D:\\Program Files\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\8.1.0\\include\\c++\\x86_64-w64-mingw32\\bits", "D:\\Program Files\\mingw64\\lib\\gcc\\x86_64-w64-mingw32\\8.1.0\\include\\c++\\x86_64-w64-mingw32" ], "defines": [ "_DEBUG", "UNICODE", "_UNICODE" ], "cStandard": "c11", "intelliSenseMode": "msvc-x64", "configurationProvider": "vector-of-bool.cmake-tools" } ], "version": 4 } ``` ## tasks.json ``` { "version": "2.0.0", "tasks": [ { "label": "build", "type": "shell", "group": { "kind": "build", "isDefault": true }, "presentation": { "echo": true, "reveal": "always", "focus": false, "panel": "shared" }, "windows": { "command": "D:\\MyData\\Programming\\C++Workspace\\.vscode\\make.sh", "args": [ "${fileDirname}", "${fileBasenameNoExtension}" ] }, "linux": { "command": "bash" }, "args": [] }, ] } ``` ## launch.json ``` { "version": "0.2.0", "configurations": [ { "name": "(gdb) Launch", "type": "cppdbg", "request": "launch", "program": "${fileDirname}/${fileBasenameNoExtension}.exe", "args": [], "stopAtEntry": false, "cwd": "${workspaceFolder}", "environment": [], "externalConsole": true, "MIMode": "gdb", "miDebuggerPath": "D:\\Program Files\\mingw64\\bin\\gdb.exe", "setupCommands": [ { "description": "Enable pretty-printing for gdb", "text": "-enable-pretty-printing", "ignoreFailures": true } ] }, ] } ``` **我的c_cpp_properties.json 和 tasks.json 应该是没有出错的** **因为并没有报头文件包含错误和编译错误** **我在命令行下用 mingw32-make 编译是完全没有问题的** **在命令行下用 gdb 调试也完全没有问题** **所以不要考虑我出现的错误是环境变量什么的。** **我的 git-bash 也运行正常,所以我的sh 文件也是能正常运行的** **但是我在调试的时候没法打开控制台窗口 !!!** ** 是我的 vscode 无法运行 gdb ?!! ** **还是我的 vscode 无法运行cmd?!!**

学Python后到底能干什么?网友:我太难了

感觉全世界营销文都在推Python,但是找不到工作的话,又有哪个机构会站出来给我推荐工作? 笔者冷静分析多方数据,想跟大家说:关于超越老牌霸主Java,过去几年间Python一直都被寄予厚望。但是事实是虽然上升趋势,但是国内环境下,一时间是无法马上就超越Java的,也可以换句话说:超越Java只是时间问题罢。 太嚣张了会Python的人!找工作拿高薪这么简单? https://edu....

大学四年自学走来,这些私藏的实用工具/学习网站我贡献出来了

大学四年,看课本是不可能一直看课本的了,对于学习,特别是自学,善于搜索网上的一些资源来辅助,还是非常有必要的,下面我就把这几年私藏的各种资源,网站贡献出来给你们。主要有:电子书搜索、实用工具、在线视频学习网站、非视频学习网站、软件下载、面试/求职必备网站。 注意:文中提到的所有资源,文末我都给你整理好了,你们只管拿去,如果觉得不错,转发、分享就是最大的支持了。 一、电子书搜索 对于大部分程序员...

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

为什么程序猿都不愿意去外包?

分享外包的组织架构,盈利模式,亲身经历,以及根据一些外包朋友的反馈,写了这篇文章 ,希望对正在找工作的老铁有所帮助

Java校招入职华为,半年后我跑路了

何来 我,一个双非本科弟弟,有幸在 19 届的秋招中得到前东家华为(以下简称 hw)的赏识,当时秋招签订就业协议,说是入了某 java bg,之后一系列组织架构调整原因等等让人无法理解的神操作,最终毕业前夕,被通知调往其他 bg 做嵌入式开发(纯 C 语言)。 由于已至于校招末尾,之前拿到的其他 offer 又无法再收回,一时感到无力回天,只得默默接受。 毕业后,直接入职开始了嵌入式苦旅,由于从未...

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

@程序员:GitHub这个项目快薅羊毛

今天下午在朋友圈看到很多人都在发github的羊毛,一时没明白是怎么回事。 后来上百度搜索了一下,原来真有这回事,毕竟资源主义的羊毛不少啊,1000刀刷爆了朋友圈!不知道你们的朋友圈有没有看到类似的消息。 这到底是啥情况? 微软开发者平台GitHub 的一个区块链项目 Handshake ,搞了一个招募新会员的活动,面向GitHub 上前 25万名开发者派送 4,246.99 HNS币,大约价...

用python打开电脑摄像头,并把图像传回qq邮箱【Pyinstaller打包】

前言: 如何悄悄的打开朋友的摄像头,看看她最近过的怎么样,嘿嘿!这次让我带你们来实现这个功能。 注: 这个程序仅限在朋友之间开玩笑,别去搞什么违法的事情哦。 代码 发送邮件 使用python内置的email模块即可完成。导入相应的代码封装为一个send函数,顺便导入需要导入的包 注: 下面的代码有三处要修改的地方,两处写的qq邮箱地址,还有一处写的qq邮箱授权码,不知道qq邮箱授权码的可以去百度一...

C++(继承):19---虚基类与虚继承(virtual)

一、菱形继承 在介绍虚继承之前介绍一下菱形继承 概念:A作为基类,B和C都继承与A。最后一个类D又继承于B和C,这样形式的继承称为菱形继承 菱形继承的缺点: 数据冗余:在D中会保存两份A的内容 访问不明确(二义性):因为D不知道是以B为中介去访问A还是以C为中介去访问A,因此在访问某些成员的时候会发生二义性 缺点的解决: 数据冗余:通过下面“虚继承”技术来解决(见下) 访问...

计算机网络——浅析网络层

一、前言 注意,关于ipv4和ipv6,ipv4是ip协议第4版本,也表示这个版本的ip一共4个字节,同样地,ipv6是ip协议第6版本,也表示这个版本的ip一共6个字节。 关于网络层使用路由器实现互联:在计算机网络的分层结构中,不同层有不同的中继设备: 计算机网络层 中继设备/中继系统 物理层 中继器、集线器Hub 数据链路层 网桥或交换机(交换机是多端口网桥,两者本质上是一个东西) 网络层 路...

我以为我学懂了数据结构,直到看了这个导图才发现,我错了

数据结构与算法思维导图

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

华为初面+综合面试(Java技术面)附上面试题

华为面试整体流程大致分为笔试,性格测试,面试,综合面试,回学校等结果。笔试来说,华为的难度较中等,选择题难度和网易腾讯差不多。最后的代码题,相比下来就简单很多,一共3道题目,前2题很容易就AC,题目已经记不太清楚,不过难度确实不大。最后一题最后提交的代码过了75%的样例,一直没有发现剩下的25%可能存在什么坑。 笔试部分太久远,我就不怎么回忆了。直接将面试。 面试 如果说腾讯的面试是挥金如土...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

女朋友过生日,我花了20分钟给她写了一个代理服务器

女朋友说:“看你最近挺辛苦的,我送你一个礼物吧。你看看想要什么,我来准备。” 我想了半天,从书到鞋子到电子产品最后到生活用品,感觉自己什么都不缺,然后和她说:“你省省钱吧,我什么都不需要。” 她坚持要送:“不行,你一定要说一个礼物,我想送你东西了。” 于是,我认真了起来,拿起手机,上淘宝逛了几分钟,但还是没能想出来缺点什么,最后实在没办法了:“这样吧,如果你实在想送东西,那你就写一个代理服务器吧”...

记一次腾讯面试,我挂在了最熟悉不过的队列上……

腾讯后台面试,面试官问:如何自己实现队列?

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

带了6个月的徒弟当了面试官,而身为高级工程师的我天天修Bug......

即将毕业的应届毕业生一枚,现在只拿到了两家offer,但最近听到一些消息,其中一个offer,我这个组据说客户很少,很有可能整组被裁掉。 想问大家: 如果我刚入职这个组就被裁了怎么办呢? 大家都是什么时候知道自己要被裁了的? 面试软技能指导: BQ/Project/Resume 试听内容: 除了刷题,还有哪些技能是拿到offer不可或缺的要素 如何提升面试软实力:简历, 行为面试,沟通能...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

HTTP与HTTPS的区别

面试官问HTTP与HTTPS的区别,我这样回答让他竖起大拇指!

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发(16k)

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

终于懂了TCP和UDP协议区别

终于懂了TCP和UDP协议区别

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

立即提问
相关内容推荐