bcdev / jpy

A bi-directional Python-Java bridge used to embed Java in CPython or the other way round.
Apache License 2.0
187 stars 37 forks source link

Py_free' is invalid in C99 Error #188

Open MagnetonBora opened 3 years ago

MagnetonBora commented 3 years ago

When trying to execute python setup.py build maven bdist_wheel I got the following error src/main/c/jni/org_jpy_PyLib.c:331:9: error: implicit declaration of function 'JPy_free' is invalid in C99. Any ideas on how to fix that?

huayue21 commented 3 years ago

please check out my reply. Are you on Mac OS? This should be common for MAC users.