Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ofxOfeliaEvents::callEventListener(ofxOfeliaData *x, t_symbol *s, ofDragInfo &e) issue #90

Open
Jonathhhan opened this issue Apr 14, 2024 · 2 comments

Comments

@Jonathhhan
Copy link
Collaborator

Jonathhhan commented Apr 14, 2024

If I compile the external with OF master and VS I get this error in ofxOfeliaEvents::callEventListener(ofxOfeliaData *x, t_symbol *s, ofDragInfo &e):
"const std::filesystem::path::value_type *" is not compatible with "const char *"

The error appears in line 229 in ofxOfeliaEvents.cpp:
lua_pushstring(L, e.files[i].c_str());

I can compile, if I comment out the line (but it would be much nicer to fix the issue, of course).

@Jonathhhan
Copy link
Collaborator Author

Another way is to exclude ofDragInfo here (line 22): https://github.com/Jonathhhan/swig-openframeworks/blob/OF-master/openFrameworks/openFrameworks/events.i
Also ofxLua does not work with OF master and ofDragInfo, so the best thing would be to make it work again.

@Jonathhhan
Copy link
Collaborator Author

I guess it will be solved here: openframeworks/openFrameworks#7916

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

No branches or pull requests

1 participant