liuliu / ccv

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

icfdetect error #154

Open amlandas78 opened 9 years ago

amlandas78 commented 9 years ago

I used the following command to compile the icfdetect.c file in "bin" folder: gcc icfdetect.c -o icfdetect.o -c -O3 -Wall -I"../lib" -msse2 -D HAVE_LIBPNG -D HAVE_LIBJPEG -D HAVE_CBLAS -D HAVE_TESSERACT -D HAVE_AVCODEC -D HAVE_AVFORMAT -D HAVE_SWSCALE -D HAVE_SSE2 Which gave a warning like: icfdetect.c: In function ‘main’: icfdetect.c:36:9: warning: ignoring return value of ‘chdir’, declared with attribute warn_unused_result [-Wunused-result] chdir(argv[3]); ^ Can you please help me with this? I configured the lib folder using ./configure.