-
Notifications
You must be signed in to change notification settings - Fork 549
FTBFS on Fedora 22: ‘JPEG_GREYSCALE’ was not declared #1360
Copy link
Copy link
Closed
Description
After supposedly having obtained all of the required libraries, I started the build. At some point I get this:
[ 25%] Building CXX object src/backend/cuda/CMakeFiles/afcuda.dir/__/__/api/c/imageio2.cpp.o
/ufs/eyalroz/src/arrayfire-full-3.3.1/src/api/c/imageio.cpp: In function ‘af_err af_load_image(void**, const char*, bool)’:
/ufs/eyalroz/src/arrayfire-full-3.3.1/src/api/c/imageio.cpp:152:57: error: ‘JPEG_GREYSCALE’ was not declared in this scope
if(fif == FIF_JPEG && !isColor) flags = flags | JPEG_GREYSCALE;
I'm not sure which library this regards, but I do have
FREEIMAGE_DYNAMIC_LIBRARY:FILEPATH=/usr/lib64/libfreeimage.so
FREEIMAGE_INCLUDE_PATH:PATH=/usr/include
FREEIMAGE_STATIC_LIBRARY:FILEPATH=FREEIMAGE_STATIC_LIBRARY-NOTFOUND
(copied those from my CMakeCache.txt), so I should be OK; if not, I should have been notified of something missing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels