Skip to content

Support Modern Panda3D, CMake, and Visual Studio.#18

Open
thetestgame wants to merge 1 commit intotobspr:masterfrom
DigitalDescent:master
Open

Support Modern Panda3D, CMake, and Visual Studio.#18
thetestgame wants to merge 1 commit intotobspr:masterfrom
DigitalDescent:master

Conversation

@thetestgame
Copy link
Contributor

I'm sure there will likely be feedback but I'm considering this a first attempt at upgrading the module builder for the latest Visual Studio, CMake, and Panda3D so I can continue to do C++ development for the engine.

Visual Studio version detection and support:

  • Expanded detection and assignment of MSVC_VERSION_SHORT in CMakeLists.txt to support Visual Studio versions up to 2026 (vc144), with improved logic and warnings for unknown versions.
  • Updated the list of recognized MSVC versions in scripts/common.py to include all minor versions of 2022 (vc143) and added entries for the upcoming 2026 release (vc144).

Interrogate binary discovery and error handling:

  • Enhanced the logic in scripts/common.py to locate the interrogate binary by first checking pip-installed locations, then the system PATH, and finally the SDK, with clear error messages and installation hints if not found.
  • Improved error message in CMakeLists.txt when interrogate is missing, now suggesting installation via pip for easier troubleshooting.

Build and setup robustness:

  • Updated scripts/setup.py to check for the presence of the p3interrogatedb library and fall back to libpanda if not available, improving compatibility with newer Panda3D SDKs.

@thetestgame thetestgame changed the title Update for latest libraries Support Modern Panda3D, CMake, and Visual Studio. Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant