- changed status to resolved
building from source failed due to VertexBuffer::setData memcpy
Issue #207
resolved
Dear Ben, dear XMALab maintainers,
I’m just starting my first user experience with XMALab, which involves building it from source on arch linux.
I’ve successfully fought my way through the installation of all the legacy dependencies (I’d been using opencv4 and Qt5 lately), which was actually the only major hurdle for me, and managed to configure/generate.
Then in the “make” procedure, the compiler failed:
<xmalab>/src/gl/VertexBuffer.cpp:86 error: ‘memcpy’ was not declared in this scope
memcpy
seems to be linux default, and following this advice I managed to compile by adding #include <cstring>
to VertexBuffer.cpp.
Maybe this can be added to the source?
Kind regards,
Falk
Comments (1)
-
- Log in to comment
fixes
#207: Added include cstring to VertexBuffer.cpp→ <<cset 2f23b1c3d11a>>