You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having an issue compiling in C++ using Haxe and Promhx. I am not very familiar with Haxe but the issue seems to be with functions having "double returns". The returns look something like this: return Dispatcher.dispatchMethod(Divide, 'surfaceSplit', [_data, u, useV]) .then(function(s){ return s.map(function(x){ return new NurbsSurface(x); }); });
The error is cannot convert from 'hx::ObjectPtr<promhx::Promise_obj.' to 'Array<Dynamic>'
This happens when trying to call buildcpp.hxml with Haxe.
From what I can understand the resulting C++ is not returning the correct type for the defined function. I so far have two instances: The resulting Intersect.cpp and NurbsSurface.cpp.
I have all the current dependencies installed. I'd appreciate any help.
The text was updated successfully, but these errors were encountered:
I am having an issue compiling in C++ using Haxe and Promhx. I am not very familiar with Haxe but the issue seems to be with functions having "double returns". The returns look something like this:
return Dispatcher.dispatchMethod(Divide, 'surfaceSplit', [_data, u, useV]) .then(function(s){ return s.map(function(x){ return new NurbsSurface(x); }); });
The error is
cannot convert from 'hx::ObjectPtr<promhx::Promise_obj.' to 'Array<Dynamic>'
This happens when trying to call buildcpp.hxml with Haxe.
From what I can understand the resulting C++ is not returning the correct type for the defined function. I so far have two instances: The resulting Intersect.cpp and NurbsSurface.cpp.
I have all the current dependencies installed. I'd appreciate any help.
The text was updated successfully, but these errors were encountered: