Developer's Image Library (DevIL) is a cross-platform image library utilizing a simple syntax to load, save, convert, manipulate, filter, and display a variety of images with ease. It is highly portable and has been ported to several platforms.
Can somebody help me? I have spent two days to solve the problem, but i failed.
/usr/bin/ld: /usr/local/lib/libpng.a(png.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC
/usr/local/lib/libpng.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
src-IL/CMakeFiles/IL.dir/build.make:2104: recipe for target 'lib/x64/libIL.so' failed
make[2]: [lib/x64/libIL.so] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src-IL/CMakeFiles/IL.dir/all' failed
make[1]: [src-IL/CMakeFiles/IL.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
Can somebody help me? I have spent two days to solve the problem, but i failed.
/usr/bin/ld: /usr/local/lib/libpng.a(png.o): relocation R_X86_64_32 against `.rodata.str1.8' can not be used when making a shared object; recompile with -fPIC /usr/local/lib/libpng.a: error adding symbols: Bad value collect2: error: ld returned 1 exit status src-IL/CMakeFiles/IL.dir/build.make:2104: recipe for target 'lib/x64/libIL.so' failed make[2]: [lib/x64/libIL.so] Error 1 CMakeFiles/Makefile2:85: recipe for target 'src-IL/CMakeFiles/IL.dir/all' failed make[1]: [src-IL/CMakeFiles/IL.dir/all] Error 2 Makefile:116: recipe for target 'all' failed make: *** [all] Error 2