liuliu / ccv

C-based/Cached/Core Computer Vision Library, A Modern Computer Vision Library
http://libccv.org
Other
7.08k stars 1.71k forks source link

Error Building tutorial Example (##__VA_ARGS__) #209

Open andreadompe opened 6 years ago

andreadompe commented 6 years ago

Hi all, i'm trying to test the "Read a Photo" example on the turial but i get this error on building

.../liuliu-ccv-07fc691/lib/ccv.h:474: error: expected identifier before numeric constant
         ccv_read_n(in, x, type, ##__VA_ARGS__, 0, 0, 0)
                                                ^

I'm using Qt, the pro file content is

#CCV SWT
INCLUDEPATH += "/home/andomp/Documenti/liuliu-ccv-07fc691/lib/"
LIBS += -L"/home/andomp/Documenti/liuliu-ccv-07fc691/lib" -lccv -lm -lpng -ljpeg -ltesseract
liuliu commented 4 years ago

Windows is not supported. Otherwise what compiler you use?