How to solve CMake Warning at cmake/OpenCVPackaging.cmake:23 (message): CPACK_PACKAGE_VERSION does not match version provided by version.hpp header! [closed]

asked 2017-07-03 04:50:14 -0600

doudou2017 gravatar image

Dear All, I am using: Operating System: Windows 10 Professional 64 bits french version CodeBlocks-16.01 mingw-setup opencv-2.4.13 cmake-3.8.2-win64-x64

I installed codeblocks, cmake and opencv. I launched cmake configuration with the code source in c:/opencv/sources and the libraries to be built in c:/opencv/build/x64/MinGW

The CXX compiler identification is GNU 4.9.2 The C compiler identification is GNU 4.9.2 Check for working CXX compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe Check for working CXX compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/g++.exe -- works Detecting CXX compiler ABI info Detecting CXX compiler ABI info - done Detecting CXX compile features Detecting CXX compile features - done Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe Check for working C compiler: C:/Program Files (x86)/CodeBlocks/MinGW/bin/gcc.exe -- works Detecting C compiler ABI info Detecting C compiler ABI info - done Detecting C compile features Detecting C compile features - done Detected version of GNU GCC: 49 (409) Performing Test HAVE_CXX_FSIGNED_CHAR Performing Test HAVE_CXX_FSIGNED_CHAR - Success Performing Test HAVE_C_FSIGNED_CHAR Performing Test HAVE_C_FSIGNED_CHAR - Success Performing Test HAVE_CXX_MSTACKREALIGN Performing Test HAVE_CXX_MSTACKREALIGN - Success Performing Test HAVE_C_MSTACKREALIGN Performing Test HAVE_C_MSTACKREALIGN - Success Performing Test HAVE_CXX_W Performing Test HAVE_CXX_W - Success Performing Test HAVE_C_W Performing Test HAVE_C_W - Success Performing Test HAVE_CXX_WALL Performing Test HAVE_CXX_WALL - Success Performing Test HAVE_C_WALL Performing Test HAVE_C_WALL - Success Performing Test HAVE_CXX_WERROR_RETURN_TYPE Performing Test HAVE_CXX_WERROR_RETURN_TYPE - Success Performing Test HAVE_C_WERROR_RETURN_TYPE Performing Test HAVE_C_WERROR_RETURN_TYPE - Success Performing Test HAVE_CXX_WERROR_ADDRESS Performing Test HAVE_CXX_WERROR_ADDRESS - Success Performing Test HAVE_C_WERROR_ADDRESS Performing Test HAVE_C_WERROR_ADDRESS - Success Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT Performing Test HAVE_CXX_WERROR_SEQUENCE_POINT - Success Performing Test HAVE_C_WERROR_SEQUENCE_POINT Performing Test HAVE_C_WERROR_SEQUENCE_POINT - Success Performing Test HAVE_CXX_WFORMAT Performing Test HAVE_CXX_WFORMAT - Success Performing Test HAVE_C_WFORMAT Performing Test HAVE_C_WFORMAT - Success Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY Performing Test HAVE_CXX_WERROR_FORMAT_SECURITY - Success Performing Test HAVE_C_WERROR_FORMAT_SECURITY Performing Test HAVE_C_WERROR_FORMAT_SECURITY - Success Performing Test HAVE_CXX_WMISSING_DECLARATIONS Performing Test HAVE_CXX_WMISSING_DECLARATIONS - Success Performing Test HAVE_C_WMISSING_DECLARATIONS Performing Test HAVE_C_WMISSING_DECLARATIONS - Success Performing Test HAVE_CXX_WMISSING_PROTOTYPES Performing Test HAVE_CXX_WMISSING_PROTOTYPES - Failed Performing Test HAVE_C_WMISSING_PROTOTYPES Performing Test HAVE_C_WMISSING_PROTOTYPES - Success Performing Test HAVE_CXX_WSTRICT_PROTOTYPES Performing Test HAVE_CXX_WSTRICT_PROTOTYPES - Failed Performing Test HAVE_C_WSTRICT_PROTOTYPES Performing Test HAVE_C_WSTRICT_PROTOTYPES - Success Performing Test HAVE_CXX_WUNDEF Performing Test HAVE_CXX_WUNDEF - Success Performing Test HAVE_C_WUNDEF Performing Test HAVE_C_WUNDEF - Success Performing Test HAVE_CXX_WINIT_SELF Performing Test HAVE_CXX_WINIT_SELF - Success Performing Test HAVE_C_WINIT_SELF Performing Test HAVE_C_WINIT_SELF - Success Performing Test HAVE_CXX_WPOINTER_ARITH Performing Test HAVE_CXX_WPOINTER_ARITH - Success Performing Test HAVE_C_WPOINTER_ARITH Performing Test HAVE_C_WPOINTER_ARITH - Success Performing Test HAVE_CXX_WSHADOW Performing Test HAVE_CXX_WSHADOW - Success Performing Test HAVE_C_WSHADOW Performing Test HAVE_C_WSHADOW - Success Performing Test HAVE_CXX_WSIGN_PROMO Performing Test HAVE_CXX_WSIGN_PROMO - Success Performing Test HAVE_C_WSIGN_PROMO Performing Test HAVE_C_WSIGN_PROMO - Failed Performing Test HAVE_CXX_WNO_NARROWING Performing Test HAVE_CXX_WNO_NARROWING - Success Performing Test HAVE_C_WNO_NARROWING Performing Test HAVE_C_WNO_NARROWING - Success Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR Performing Test HAVE_CXX_WNO_DELETE_NON_VIRTUAL_DTOR - Success Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR Performing Test HAVE_C_WNO_DELETE_NON_VIRTUAL_DTOR - Failed Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS Performing Test HAVE_CXX_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS Performing Test HAVE_C_WNO_UNNAMED_TYPE_TEMPLATE_ARGS - Failed Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS Performing Test HAVE_CXX_WNO_ARRAY_BOUNDS - Success Performing Test HAVE_C_WNO_ARRAY_BOUNDS Performing Test HAVE_C_WNO_ARRAY_BOUNDS - Success Performing Test HAVE_CXX_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS Performing Test HAVE_CXX_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS - Success Performing Test HAVE_C_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS Performing Test HAVE_C_WNO_AGGRESSIVE_LOOP_OPTIMIZATIONS - Success Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION Performing Test HAVE_CXX_FDIAGNOSTICS_SHOW_OPTION - Success Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION Performing Test HAVE_C_FDIAGNOSTICS_SHOW_OPTION - Success Performing Test ...

(more)
edit retag flag offensive reopen merge delete

Closed for the following reason duplicate question by doudou2017
close date 2017-07-03 18:24:16.118299

Comments

imho, you're safe to ignore that warning

berak gravatar imageberak ( 2017-07-03 05:20:37 -0600 )edit