Skip to content

Instantly share code, notes, and snippets.

@skrat
Created July 15, 2016 21:33
Show Gist options
  • Save skrat/aa289edf88639ac363d9c07ab97fc011 to your computer and use it in GitHub Desktop.
Save skrat/aa289edf88639ac363d9c07ab97fc011 to your computer and use it in GitHub Desktop.
[ 94%] Building CXX object CMakeFiles/collada2gltfConvert.dir/GLTF/GLTFCleanupEvaluator.cpp.o
[ 94%] Building CXX object CMakeFiles/collada2gltfConvert.dir/profiles/webgl-1.0/GLTFWebGL_1_0_Profile.cpp.o
[ 94%] Building CXX object CMakeFiles/collada2gltfConvert.dir/shaders/commonProfileShaders.cpp.o
[ 95%] Building CXX object CMakeFiles/collada2gltfConvert.dir/helpers/geometryHelpers.cpp.o
/home/skrat/Workspace/xxx/glTF/glTF/COLLADA2GLTF/helpers/geometryHelpers.cpp: In function ‘bool GLTF::__RemapPrimitiveVertices(std::shared_ptr<GLTF::GLTFPrimitive>, std::vector<std::shared_ptr<GLTF::GLTFAccessor> >, GLTF::MeshAttributeVector, GLTF::MeshAttributeVector, unsigned int*, std::shared_ptr<GLTF::GLTFPrimitiveRemapInfos>, unsigned int*)’:
/home/skrat/Workspace/xxx/glTF/glTF/COLLADA2GLTF/helpers/geometryHelpers.cpp:260:74: error: ‘memcpy’ was not declared in this scope
memcpy(ptrDst, ptrSrc, bufferInfos->elementByteLength);
^
/home/skrat/Workspace/xxx/glTF/glTF/COLLADA2GLTF/helpers/geometryHelpers.cpp: In function ‘void GLTF::__RemapMeshAttribute(void*, const string&, const string&, size_t, size_t, size_t, void*)’:
/home/skrat/Workspace/xxx/glTF/glTF/COLLADA2GLTF/helpers/geometryHelpers.cpp:543:109: error: ‘memcpy’ was not declared in this scope
memcpy(&targetBufferPtr[vertexAttributeByteSize * remappedIndex], value, vertexAttributeByteSize);
^
CMakeFiles/collada2gltfConvert.dir/build.make:614: recipe for target 'CMakeFiles/collada2gltfConvert.dir/helpers/geometryHelpers.cpp.o' failed
make[2]: *** [CMakeFiles/collada2gltfConvert.dir/helpers/geometryHelpers.cpp.o] Error 1
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:77: recipe for target 'CMakeFiles/collada2gltfConvert.dir/all' failed
make[1]: *** [CMakeFiles/collada2gltfConvert.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment