Linux build failing again

Linux geeks and Mac OS hipsters unite! A board for discussion of Supermodel on non-Windows platforms.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Linux build failing again

Postby Shoegazer » Fri Sep 29, 2017 1:24 pm

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?
Shoegazer
 
Posts: 9
Joined: Fri Oct 14, 2016 5:51 pm

Re: Linux build failing again

Postby Ian » Sat Sep 30, 2017 2:18 am

add

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

see if that fixes it
Ian
 
Posts: 1220
Joined: Tue Feb 23, 2016 9:23 am

Re: Linux build failing again

Postby Shoegazer » Sat Sep 30, 2017 10:54 am

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!
Shoegazer
 
Posts: 9
Joined: Fri Oct 14, 2016 5:51 pm


Return to Alternative Fashion

Who is online

Users browsing this forum: No registered users and 1 guest