tty2gif
tty2gif copied to clipboard
compile error on ubuntu 14.04
trafficstars
I download this code and compile it on ubuntu 14.04.I got these error:
g++ -O2 -fopenmp -I/usr/include/ImageMagick -o tty2gif tty2gif.cpp -lMagick++ -lMagickCore -lX11 tty2gif.cpp: In function 'void SaveReplay(const char_, int)': tty2gif.cpp:246:55: error: 'optimizeImageLayers' was not declared in this scope optimizeImageLayers(&opt,frame.begin(),frame.end()); ^ make: *_* [tty2gif] Error 1
I use Magick::optimizeImageLayers replace it, but the error also happened.
same here!