Problem memcpy on debian

Have a question about using Celestia? Check here first for FAQs and helpful advice.
Forum rules
Please help to make this forum more useful by checking the FAQs before posting! Keep it clean, keep it civil, keep it truthful, stay on topic, be responsible, share your knowledge.
Topic author
Gyaile
Posts: 1
Joined: 13.02.2017
With us: 7 years 9 months

Problem memcpy on debian

Post #1by Gyaile » 13.02.2017, 10:46

Hi,
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
échouée
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.
johann.

Return to “Help Central”