Closed shujaatak closed 1 year ago
Are you running bootstrap-vcpkg.bat? That should be setting an install folder where you would find the binaries and the share folder. Or the equivalent of cmake install path. If you are building the cmake INSTALL target, should be installing all the files somewhere.
Yes, I am running bootstrap-vcpkg.bat from rocky repository.
I get only build directory containing the following content:
Finally I got the projects to run but this involved some manual work (I am still waiting for the official proper build procedure)
I set the ROCKY_FILE_PATH environment variable to the build->bin->Release->share folder. And I copied shaders folder from rocky/src/rocky_vsg/ to build->bin->Release->share folder.
Similarly, I set the PROJ_DATA environment variable to the build->bin->Release->proj folder. And I copied proj.db from build/vcpkg_installed/x64-windows/share/proj to build->bin->Release->proj folder.
I set ROCKY_DEFAULT_FONT environment variable to C:/windows/fonts/arialbd.ttf
NOTE: If you are building and running the project using Visual Studio, you need to restart Visual Studio whenever you add or remove Environment Variables!
Glad you got it working.
The "official" thing to do is to build the INSTALL project in Visual Studio - this will install all the headers, shaders, and executables to the install folder you designated when you bootstrap-vcpkg.bat
.
Issue I am facing:
I get the following error when running rsimple.exe, I can't also run rdemo.exe and rengine.exe.:
How I have built the project and setup the paths:
I have followed the build steps mentioned in the Readme file, I have got the following files in the build->bin->Release folder:
I have set the ROCKY_FILE_PATH to the share folder in build->bin->Release as shown above in the snapshot. The share folder had nothing in it so I copied shaders folder from rocky/src/rocky_vsg/ to build->bin->Release->share.
Similarly, I have set PROJ_DATA to build->bin->Release->proj but proj directory is also empty and I don't know what to copy in it.
And I have set ROCKY_DEFAULT_FONT to C:/windows/fonts/arialbd.ttf