Page 1 of 1

Linux build failing again

PostPosted: Fri Sep 29, 2017 1:24 pm
by Shoegazer
Hello, compiling on Linux Mint 18.2 fails again with:

Code: Select all
In file included from Src/Graphics/New3D/New3D.h:35:0,
                 from Src/Graphics/New3D/New3D.cpp:1:
Src/Graphics/New3D/Model.h: In member function ‘New3D::FVertex& New3D::FVertex::operator=(const New3D::Vertex&)’:
Src/Graphics/New3D/Model.h:39:39: error: ‘memcpy’ was not declared in this scope
   memcpy(this, &vertex, sizeof(Vertex));
...
Makefile:195: recipe for target 'obj/New3D.o' failed
make: *** [obj/New3D.o] Error 1


Any ideas what could be going wrong here?

Re: Linux build failing again

PostPosted: Sat Sep 30, 2017 2:18 am
by Ian
add

#include <string.h>
to the top of model.h

see if that fixes it

Re: Linux build failing again

PostPosted: Sat Sep 30, 2017 10:54 am
by Shoegazer
Yep, that fixes it. Thanks much, Ian. Hopefully somoene will fix the official source tree as well.

Update: ...and I see Dukeeeey did just that. Thanks to you!