Zainteresowałem się formatem BPG, w którym to pliki mogą być bardzo skompresowane a jakość bije na głowę Jpeg.
Chciałem skompilować libbpg-0.9.8.tar.gz. Zainstalowałem wszystkie zalezności jak biblioteki jpg, png, SDL, kompilator yasm.
Pod Linuxsem pojawia się błąd (podobnie pod Msys2 dla WIndows):
$ make -j2
make -C x265.out/12bit
gcc -Os -Wall -MMD -fno-asynchronous-unwind-tables -fdata-sections -ffunction-sections -fno-math-errno -fno-signed-zeros -fno-tree-vectorize -fomit-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_REENTRANT -I. -DCONFIG_BPG_VERSION=\"0.9.8\" -g -c -o bpgview.o bpgview.c
make[1]: Entering directory '/home/andrzej-borucki/Downloads/libbpg-0.9.8/x265.out/12bit'
make[1]: *** No targets specified and no makefile found. Stop.
make[1]: Leaving directory '/home/andrzej-borucki/Downloads/libbpg-0.9.8/x265.out/12bit'
Makefile:123: recipe for target 'x265_make' failed
make: *** [x265_make] Error 2
make: *** Waiting for unfinished jobs....
Linie Makefile, kórego załączam to:
x265.out:
mkdir -p x265.out/8bit x265.out/10bit x265.out/12bit
cd x265.out/12bit && cmake ../../x265/source $(CMAKE_OPTS) -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN12=ON
cd x265.out/10bit && cmake ../../x265/source $(CMAKE_OPTS) -DHIGH_BIT_DEPTH=ON -DEXPORT_C_API=OFF -DENABLE_SHARED=OFF -DENABLE_CLI=OFF -DMAIN10=ON
cd x265.out/8bit && cmake ../../x265/source $(CMAKE_OPTS) -DLINKED_10BIT=ON -DLINKED_12BIT=ON -DENABLE_SHARED=OFF -DENABLE_CLI=OFF
# use this target to manually rebuild x265
x265_make: | x265.out
$(MAKE) -C x265.out/12bit
$(MAKE) -C x265.out/10bit
$(MAKE) -C x265.out/8bit
Nawet wszedłem do katalogu x265/buil/linux i tam uruchomiłem pliki *.sh w nadziei że utworzą mi inne makefile