On my quest to make double precision wheels of Panda, I’m struggling build Panda on MacOS using Python3 from Homebrew.
I get several errors : if I do anything makepanda does not find libpython3.7m, if I follow Installing Panda3D on a Mac with Python 3.4? it builds partially, but fails later as there are unresolved symbols in pzip, …
Looking at the buildbot script for mac os I don’t see anything specific (and seeing that the python interpreter used to launch the build is /usr/local/bin/python I guess it’s also using Homebrew), there is also https://github.com/panda3d/panda3d/pull/263 but it seems invasive.
Actually it’s worse than that, the files under built/panda3d were files from an older build, after cleaning and rebuilding all, the directory is empty and there is no core.so (or any variant) built anywhere.
ah right that make more sense, I built with --everything and I saw “Using Python 3.7” but I overlooked the warning a dozen lines later :
WARNING: Could not locate thirdparty package python, excluding from build
I guess I’m back to square one to indicate to makepanda where my version of Python resides, I though the modification in SdkLocatePython() would be enough.