Open
Description
There are probably still people who want to run this project on Windows. So I tell you how I tried
It works in VS2022 (msvc v143), so it works in most cases
- Clone this project and install Panda3D(1.10.9)
git clone https://github.com/lettier/3d-game-shaders-for-beginners.git
- Open the visual studio
- 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
Metadata
Metadata
Assignees
Labels
No labels