Building Panda3D with OpenGL ES using Cygwin and MSVC9. Log

ppremake determines directory dependency order based on the LOCAL_LIBS lines in each Sources.pp. You can also use ppremake -d dirname or ppremake -r dirname to output the forward and reverse dependencies of a particular directory, if it helps you track this down. But in general, the error message is telling you that wegldisplay is directly or indirectly linking with a library built by pandagles2, and vice-versa.

David