Skip to content
This repository has been archived by the owner on May 5, 2018. It is now read-only.

template compile error #2

Open
fjallraven opened this issue Apr 9, 2018 · 0 comments
Open

template compile error #2

fjallraven opened this issue Apr 9, 2018 · 0 comments

Comments

@fjallraven
Copy link

Hi

When building under Linux (gcc 4.8.5) I'm getting this:

In file included from /FbxExporter-master/Plugin/MeshUtils/MeshUtils.h:12:0,
from /FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:2:

/FbxExporter-master/Plugin/MeshUtils/muConcurrency.h: In instantiation of ‘void mu::parallel_for(int, int, int, const Body&) [with Body = mu::QuadifyTriangles(IArray<mu::tvec3 >, IArray, bool, float, RawVector&, RawVector&)::__lambda10]’:

/FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:318:6: required from here
/FbxExporter-master/Plugin/MeshUtils/muConcurrency.h:53:20: error: no match for call to ‘(const mu::QuadifyTriangles(IArray<mu::tvec3 >, IArray, bool, float, RawVector&, RawVector&)::__lambda10) (int&, int&)’
body(begin, end);
images/personal/industrial/kiln/working/FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:234:44: note: candidate is:
parallel_for(0, num_triangles, 8192, [&](int ti1) {
/FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:234:53: note: mu::QuadifyTriangles(IArray<mu::tvec3 >, IArray, bool, float, RawVector&, RawVector&)::__lambda10
parallel_for(0, num_triangles, 8192, [&](int ti1) {
/FbxExporter-master/Plugin/MeshUtils/MeshUtils.cpp:234:53: note: candidate expects 1 argument, 2 provided

Any ideas?

Thanks

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant