Makepanda CgGL issue

I grabbed the Panda3D source off the CVS just now, and upon running makepanda.py, I received the following error:

ERROR: Could not locate thirdparty package cggl, aborting build

So I figured I’d just knock off Nvidia Cg…

xidram@XEDARE:~/panda3d$ python makepanda/makepanda.py --no-nvidiacg
WARNING: Could not locate thirdparty package tinyxml, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
ERROR: Could not locate thirdparty package cggl, aborting build

Now, I know those warnings about TinyXML and VRPN are not significant. I can grab those libraries whenever. But the CgGL error still aborts the build even with Cg disabled. To test this, I installed the nvidia-cg-toolkit package from the Ubuntu repository, and using the same command (from the terminal history) I got no error for CgGL.

xidram@XEDARE:~/panda3d$ python makepanda/makepanda.py --no-nvidiacg
WARNING: Could not locate thirdparty package tinyxml, excluding from build
WARNING: Could not locate thirdparty package vrpn, excluding from build
Generating dependencies...

And then it goes on with the build.

So, why is Makepanda depending so heavily on the non-free package nvidia-cg-toolkit even with --no-nvidiacg flagged?

Whoops, that’s a minor mistake. Makepanda should automatically disable cggl and cgdx9 when nvidiacg is disabled. I’ll check in a fix later.

Thanks for noticing!