Bug with mouse events

I’m new inwith JUCE and I start a projet in c++ that use JUCE and pybind11 (for python connection).

I have a crash when I try to call a pybind11 function into a mouse event handler.

for instance when I run

void mouseDown(const MouseEvent &event) {

I get

(JUCE v6.1.2)
Process finished with exit code 139 (interrupted by signal 11: SIGSEGV)

If I call this function somewhere else it works fine !

I know that it is difficult to help me if you don’t know pybind11 but any suggestion is welcome.



1 Like

Hey, did you finally find a solution?

In the meantime can I ask you an help to load pybind11 in projucer?