'GOCR'에 해당되는 글 1건

  1. 2015.05.07 E2140 Declaration is not allowed here

OpenCV GOCR 추가하는 중에,

barcode.c

1229 라인 : char *code=0; int cpos=0;

E2140 Declaration is not allowed here

이런 에러가 발생


원인 : 확장자가 c 이므로 생기는 문제

해결 : Project -> Options -> C++ Compiler 들어가서,

Force C++ compile 를 true로 바꾸어 주어야 한다.

1 

글 보관함

카운터

Total : / Today : / Yesterday :
get rsstistory!