"but no Cg support is enabled" at runtime

Thanks, I haven’t yet had the time to try it, but I noticed that that flag #define HAVE_CG wasn’t even present in dtool/Config.pp for Panda1.7 (until referenced by #defer HAVE_CG anyway) so adding #define HAVE_CG 1 should fix my problem