Page 1 of 1

Problem memcpy on debian

Posted: 13.02.2017, 10:46
by Gyaile
i'im trying to install celestia on Debian stretch. The configure --with-gnome step ends without any problem but when i launch the make command, i'm
confronted with this error message :

Code: Select all

image.cpp: In function ‘Image* LoadJPEGImage(const string&, int)’:
image.cpp:529:61: error: ‘memcpy’ was not declared in this scope
          memcpy(img->getPixelRow(cont), buffer[0], row_stride);
Makefile:1152 : la recette pour la cible « libcelengine_a-image.o » a
make[3]: *** [libcelengine_a-image.o] Erreur 1

I'm not a guru in C or C++ so i don't know what to do.
Thank's for your help.