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 have an error with ofDragInfo when I try to make Lua bindings in ofxLua:
No operand found that accepts an operand of type std::vector<std::string,std::allocator<std::string>> on the right.
If I replace of::filesystem::path with std::string at line 111 in ofEvents.h it works (maybe better to replace std::string with of::filesystem::path instead?):
//-----------------------------------------------
class ofDragInfo {
public:
std::vector<of::filesystem::path> files;
glm::vec2 position;
};
//-----------------------------------------------
class ofDragInfo {
public:
std::vector<std::string> files;
glm::vec2 position;
};
The text was updated successfully, but these errors were encountered:
I have an error with
ofDragInfo
when I try to make Lua bindings inofxLua
:If I replace
of::filesystem::path
withstd::string
at line 111 inofEvents.h
it works (maybe better to replacestd::string
withof::filesystem::path
instead?):The text was updated successfully, but these errors were encountered: