Comments (8)
I have created a first basic version with glfw clone into the external directory.
Can you check it out on windows, @lhog ? I have checked it also works on my Linux box.
https://github.com/FunMiles/Vookoo. Branch glfw-subrepo
The changes also address #16
from vookoo.
Bear in mind that GLFW only exists to run the examples and is not a dependency of Vookoo itself (vku.hpp) which is dependant only on the Vulkan headers. However, we need an example framework to get us started - if only to create windows on three disparate platforms. I am not averse to using subrepos however, but we must document them carefully so that a new user who wants to run the examples will know how.
from vookoo.
@andy-thomason So far, my CMakeLists.txt in the main directory only supports the building of the examples. I intend to add an install capability, but perhaps as a separate pull request, as to keep issues well separated. In the install capability, it will create cmake files. The cmake file would allow to use find_package(vookoo)
and they could have two components, the base one for vku.hpp and the framework one for vku_framework.hpp. The first one would add no dependency, but the second could carry with it the glfw dependency. Maybe we can have a discussion about this in a separate issue about installation. I can also amend the README.md to cover the subject of the examples. It already does say clearly that it is an include-only library.
In the mean time, do you think the building of the examples should be under a CMake option? Should it be on or off by default?
from vookoo.
Didn't work for me out of the box:
from vookoo.
@lhog, I rebooted my linux machine under windows and it works without trouble. Did you, by any chance, keep your build to point to the example as the CMake root directory? You need to select the main directory as the location of the CMakeLists.
from vookoo.
@FunMiles yep, apologies, I missed the fact you added another CMakeLists.
Works for me now too.
from vookoo.
Great. I'm creating the pull request.
from vookoo.
The PR has been merged. I'm closing this issue.
from vookoo.
Related Issues (20)
- Should it be Break here? vku_framework.hpp:init function HOT 2
- Multisampling option HOT 2
- CMake error: target dependency added via `target_include_directories` HOT 8
- Spirv-headers are not in correct locations with latest LunarG on linux HOT 13
- Allow running on Mac OS X with MoltenVK HOT 4
- uniform example (example 03) causes Vulkan layer to report problem. HOT 8
- Add an 'install' capability for Vookoo. HOT 2
- Handle window resizing HOT 7
- Add Shader Specialization Constant capability. HOT 3
- Make the vku::framework and vku::Window more flexible HOT 7
- VK_LAYER_LUNARG_standard_validation has been removed in Vulkan version 1.2.135.0 HOT 2
- Vookoo organisation HOT 4
- changes for you, reformed Framework and Window a little bit, adds functionality to PipelineMaker HOT 1
- Return type mismatch in [Compute]PipelineMaker HOT 1
- Structured Binding compile error on createComputePipelineUnique
- Your code is building fine on MSYS2 MINGW64 HOT 1
- Remove `std::aligned_union`
- Vookoo will not run on Mac with Vulkan 1.3.216. HOT 1
- using Vulkan-Hpp update to 1.1.85 miss vk::SurfaceKHRDeleter change HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vookoo.