[버그리포팅] OpenCV Beta 5 WIn32 version.

오호라의 이미지

[error message]

...

:\Program Files\OpenCV\cvaux\src\cvbgfg_acmmm2003.cpp(405) : error C2039: 'foreground_regions' : is not a member of 'CvFGDStatModel'
../include\cvaux.h(1240) : see declaration of 'CvFGDStatModel'
C:\Program Files\OpenCV\cvaux\src\cvbgfg_acmmm2003.cpp(411) : error C2039: 'foreground_regions' : is not a member of 'CvFGDStatModel'
../include\cvaux.h(1240) : see declaration of 'CvFGDStatModel'
C:\Program Files\OpenCV\cvaux\src\cvbgfg_gaussmix.cpp(340) : error C2039: 'foreground_regions' : is not a member of 'CvGaussBGModel'
../include\cvaux.h(1300) : see declaration of 'CvGaussBGModel'
cvcalibfilter.cpp

...

cvaux097.dll - 3 error(s), 0 warning(s)

[C:\Program Files\OpenCV\cvaux\src\cvaux.h]

[line 1137]

[before]
CvMemStorage* storage; /*storage for foreground_regions?/ \

[after]
CvMemStorage* storage; /*storage for foreground_regions*/ \

/** document syntax error **/

일요일 아침에 간만에 야후 OpenCV 커뮤니티에서 받은 calibrate camera 소스.

그래서, 또 간만에 OpenCV Beta 5를 다운받아 설치.

받은 소스를 VC++에서 빌드하는 순간. 쏟아지는 에러메시지들...윽...

소스는 그야말로 엉망진창, 이 사람은 과연 이 소스를 다른사람들에게 공개하기 위해서 만들었단 말인가?!

#include "math.h"
#include "stdlib.h"
#include "string.h"
#include "cv.h"

첫번째 초절정 황당함. ㅡㅡ; ( 아시는 분은 알거라고 생각하고 이유는 설명하지 않겠습니다. )

cvd.lib highguid.lib ( cxcored.lib )

두번째 초절정 황당함. 디버깅용 라이브러리를 쓰고, cxcored.lib는 누락됐음.

이걸 해결하기 위해서 cv, cvaux, highgui, cvcore 빌드.

세번째 초절정 황당함.

계속 빌드 에러나서 이상하다 생각해보고 Set Active Configuration을 보니...허걱..

기본 셋팅이 Win Debug64 ITANIUM 이라니...ㅡㅡ; 언제부터 64비트가 기본이었던가...ㅡㅡ;

세상 좋아졌군.

cxcore 빌드에서는 아무리 베타버젼이라지만 어찌 배포버젼에 syntax 에러가 있는지...

OpenCV 빌드를 마치고 다시 시작한 소스 컴파일!! 그래도 쏟아지는 에러...

소스를 보니...허거걱...개판일보직전. OpenCV를 하나도 모르는 나이지만, 디버깅 시작. 끝~

우선. 소스이미지 파일이름 틀리고, 이미지 칼라를 그레이로 바꿀때 싸이즈 틀리고, 기타등등...

어찌 zip파일안의 이미지는 140x240인데, 소스에는 640*480으로 해놨는지...ㅡㅡ;

하다 황당해서 올린분에게 짧은 영어로 몇마디 욕좀 할려고 하다가 그만둡니다.

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.