error in build OpenCV 2.4.0 (from sourceforge) in Linux (Bug #2006)


Added by Vladimir Savinov almost 13 years ago. Updated almost 13 years ago.


Status:Cancelled Start date:2012-06-01
Priority:Normal Due date:
Assignee:Vladimir Savinov % Done:

0%

Category:build/install
Target version:2.4.1
Affected version: Operating System:
Difficulty: HW Platform:
Pull request:

Description

Debian 6

In file included from /usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:460:
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:35:1: warning: missing terminating " character
In file included from /usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:460:
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:35: error: missing terminating " character
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:36:11: error: too many decimal points in number
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:36:29: error: invalid suffix "st" on integer constant
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:40:29: warning: character constant too long for its type
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:57: error: stray ‘
’ in program
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:57: error: stray ‘’ in program
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:68:10: error: #include expects "FILENAME" or <FILENAME>
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:71: error: stray ‘\’ in program
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:71:9: warning: missing terminating " character
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:71: error: missing terminating " character
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:74:23: warning: missing terminating " character
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1515: error: stray ‘\’ in program
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1515:4: warning: missing terminating " character
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1515: error: missing terminating " character
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc: In function ‘const std::string& cv::getBuildInformation()’:
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:36: error: expected ‘,’ or ‘;’ before ‘version’
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:138: error: ‘z_stream’ was not declared in this scope
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:140: error: expected ‘;’ before ‘typedef’
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:161: error: ‘gz_header’ was not declared in this scope
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:163: error: expected ‘;’ before ‘typedef’
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1505: error: ‘ZEXTERN’ was not declared in this scope
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1505: error: expected ‘;’ before ‘const’
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1511: warning: no return statement in function returning non-void
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc: At global scope:
/usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc:1515: error: expected unqualified-id before ‘)’ token
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:462: error: expected unqualified-id before ‘return’
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:465: error: ‘string’ does not name a type
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:474: error: ‘string’ does not name a type
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:503: error: ISO C++ forbids declaration of ‘Exception’ with no type
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:503: error: expected ‘,’ or ‘...’ before ‘&’ token
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp: In function ‘void error(int)’:
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:506: error: ‘exc’ was not declared in this scope
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:510: error: ‘exc’ was not declared in this scope
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:526: error: ‘exc’ was not declared in this scope
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp: At global scope:
/usr/src/OpenCV-2.4.0/modules/core/src/system.cpp:543: error: expected declaration before ‘}’ token
make[2]: *** [modules/core/CMakeFiles/opencv_core.dir/src/system.cpp.o] Error 1
make[1]: *** [modules/core/CMakeFiles/opencv_core.dir/all] Error 2


Related issues

duplicates Bug #1902: SVN revision 8315 build fails Cancelled 2012-05-07

Associated revisions

Revision 0cea828a
Added by Andrey Pavlenko about 11 years ago

Merge pull request #2006 from krodyush:pullreq/2.4-opt-131120-gfft

History

Updated by Andrey Kamaev almost 13 years ago

Closing as a duplicate.

  • Status changed from Open to Cancelled
  • Target version set to 2.4.1
  • Category set to build/install
  • Assignee set to Andrey Kamaev

Updated by Vladimir Savinov almost 13 years ago

same problem with 2.4.1

Updated by Andrey Kamaev almost 13 years ago

Vladimir Savinov wrote:

same problem with 2.4.1

Post your cmake output and /usr/src/OpenCV-2.4.0/release/modules/core/version_string.inc file.

  • Assignee changed from Andrey Kamaev to Vladimir Savinov

Updated by Vladimir Savinov almost 13 years ago

Thanks! problem solved with last cmake version (2.8.8) vs 2.8.2 in Debian

Also available in: Atom PDF