[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: 'the 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: 'the 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: a 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: the recipe for target 'modules/core/CMakeFiles/opencv_core dir/all' failed
Make [1], [* * * modules/core/CMakeFiles/opencv_core dir/all] Error 2
The Makefile: 160: the recipe for target 'all' failed
Make: * * * [all] Error 2
CodePudding user response:
To 7% error, what's the solution?CodePudding user response:
Stick compiler options, feeling is wrong compiler optionsnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull