Skip to content

How to configure builds for Windows users

Dmitry Kolesnikovich edited this page Apr 6, 2023 · 4 revisions
  1. Install Panda3D 1.10.9-x64 to C:\Panda3D-1.10.9-x64

  2. Clone this project git clone https://github.com/lettier/3d-game-shaders-for-beginners.git and

  3. Open the Visual Studio 2022

  4. Create new C++ Empty Project

  • project name: whatever you want
  • location: {cloned directory}\demonstration
  • check "place solution and project in the same directory"
  1. Move demonstration\src\main.cxx to the project directoy

  2. Add to the project by 'Add Existing File'

  3. Open main.cxx and comment out #include <unistd.h>

  4. Change "Debug" to "Release" below the menu bar

  5. Open up the project configuration pages

  6. Change output directory to $(SolutionDir)..\ in the General tab

  7. Add PATH=C:\Panda3D-1.10.9-x64\bin;%PATH% in the Debugging tab -> Environment

  8. Add C:\Panda3D-1.10.9-x64\include in the VC++ directory tab -> External include directoies

  9. Add C:\Panda3D-1.10.9-x64\lib in the VC++ directories tab -> Library directories

  10. Add the path below in the Linker tab -> input -> Additional Dependencies

C:\Panda3D-1.10.9-x64\lib\libp3framework.lib
C:\Panda3D-1.10.9-x64\lib\libpanda.lib
C:\Panda3D-1.10.9-x64\lib\libpandaexpress.lib
C:\Panda3D-1.10.9-x64\lib\libp3dtool.lib
C:\Panda3D-1.10.9-x64\lib\libpandaphysics.lib
C:\Panda3D-1.10.9-x64\lib\libp3dtoolconfig.lib
C:\Panda3D-1.10.9-x64\lib\libp3openal_audio.lib
  1. Build the project

  2. Execute the binary file (.exe) created in {cloned directory}\demonstration

Clone this wiki locally