Comments (7)
Running CMake at the root of repo to create all the makefiles and then going to the Hologram directory and running make builds just Hologram - is that sufficient? I don't think we need to support running CMake in subdirectories
from vulkansamples.
Hologram relies on the top-level CMakeLists.txt to perform the check. Is it advised each subdirectory perform the check itself?
Or were you trying to run cmake from within Hologram? That would make sense, but Linux build would still fail because FindXCB.cmake would be missing.
from vulkansamples.
Or were you trying to run cmake from within Hologram? That would make sense, but Linux build would still fail because FindXCB.cmake would be missing.
Exactly. I only wanted to compile the Hologram demo without having to build all dependencies for the other examples, so I used it's CMakeLists.txt. On windows this works fine.
from vulkansamples.
There are common setups (FindXCB.cmake included) that cannot be found in Hologram's CMakeLists.txt. I guess the right way here is for the top-level CMakeLists.txt to make samples and their dependencies optional.
from vulkansamples.
FindXCB.cmake is in extra-cmake-modules
According to http://api.kde.org/ecm/manual/ecm-find-modules.7.html adding
find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_FIND_MODULE_DIR})
in front of find_package(XCB REQUIRED)
lets cmake find it.
I also had to add set_property(TARGET Hologram PROPERTY CXX_STANDARD 11)
because this cmakelists file doesn't set c++11.
Oh and from the Hologram directory, you also need to put a glslang build e.g. ln -s /wherever/glslang ../../../glslang
.
With all that I could build it "standalone".
Tl;dr: ChristophHaag@c491ec9
Does LunarG want to support "standalone" builds of the samples like that?
from vulkansamples.
Also, after running CMake from the root of the repo, running "make Hologram" will also just make the Hologram sample
from vulkansamples.
Closing - please open a new issue if there is still a problem
from vulkansamples.
Related Issues (20)
- VK_FORMAT_D24_UNORM_S8_UINT incorrectly assumed supported on Android HOT 1
- gradle issues HOT 6
- Samples never deal with present queues different from rendering queue HOT 2
- Missing dependency on VK_PIPELINE_STAGE_COLOR_ATTACHMENT_OUTPUT_BIT HOT 2
- It's not really clear you need a semaphore per frame HOT 1
- Mweb HOT 2
- Frame stutter when resizing window HOT 5
- Missing include folder HOT 4
- [Can not find ]fatal error: '15-draw_cube.vert.h' file not found HOT 31
- Vulkan Samples
- your advice for create the makefile in build.md don't work the makefile keep missing HOT 8
- Dependency on removed VK_DYNAMIC_STATE_RANGE_SIZE HOT 1
- Existing gradlew breaks with Java version 14 HOT 2
- Overlay layer gets vkCreateDevice pointer illegally HOT 2
- Samples should query existence and enable portability extension
- Any additional informations for "issue with the dynamic viewport(or scissors) on Android" ? HOT 1
- YOUR EXAMPLES ARE NOT COLLECTING !!!!!!!!! YOUR EXAMPLES ARE NOT COLLECTING !!!!!!!!! ВАШИ ПРИМЕРЫ НЕ СОБИРАЮТСЯ !!!!!!!!! NOT GOING TO YOUR EXAMPLES !!!!!!!!! HOT 1
- Build infrastructure assumes amd64 architecture
- VulkanSamples for MacOS HOT 2
- Suggestion to update the android samples to use Volk
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 vulkansamples.