-
Notifications
You must be signed in to change notification settings - Fork 0
How to configure builds for Windows users
-
Install Panda3D
1.10.9-x64
toC:\Panda3D-1.10.9-x64
-
Clone this project
git clone https://github.com/lettier/3d-game-shaders-for-beginners.git
and -
Open the Visual Studio 2022
-
Create new C++ Empty Project
- project name: whatever you want
- location:
{cloned directory}\demonstration
- check "place solution and project in the same directory"
-
Move
demonstration\src\main.cxx
to the project directoy -
Add to the project by 'Add Existing File'
-
Open
main.cxx
and comment out#include <unistd.h>
-
Change "Debug" to "Release" below the menu bar
-
Open up the project configuration pages
-
Change output directory to
$(SolutionDir)..\
in the General tab -
Add
PATH=C:\Panda3D-1.10.9-x64\bin;%PATH%
in the Debugging tab -> Environment -
Add
C:\Panda3D-1.10.9-x64\include
in the VC++ directory tab -> External include directoies -
Add
C:\Panda3D-1.10.9-x64\lib
in the VC++ directories tab -> Library directories -
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
-
Build the project
-
Execute the binary file (.exe) created in
{cloned directory}\demonstration