Giter Club home page Giter Club logo

Comments (3)

mattparks avatar mattparks commented on August 14, 2024

Scripts/link_resources.sh describes the basics of what you need. Normally the resources folder could be copied to your output directory to Resources/Engine, however on your system your runtime location is in the Acid root. In the main files on your system you could switch from "Resources/Engine" to "Resources". It may be worthwhile for me to search for that path of the engine specific one is missing.

from acid.

FirstLoveLife avatar FirstLoveLife commented on August 14, 2024

my build dir is build not any of cmake-build-debug/cmake-build-release/Build list in link_resources.sh.
So, I ln -s manually:

~/.../build/bin >>> ./Editor                                      ±[●●][master]
-- Instance --
Layers: VK_LAYER_VALVE_steam_overlay_64, VK_LAYER_VALVE_steam_overlay_32, VK_LAYER_LUNARG_screenshot, VK_LAYER_LUNARG_monitor, VK_LAYER_LUNARG_vktrace, VK_LAYER_LUNARG_device_simulation, VK_LAYER_LUNARG_api_dump, VK_LAYER_LUNARG_core_validation, VK_LAYER_GOOGLE_threading, VK_LAYER_GOOGLE_unique_objects, VK_LAYER_LUNARG_object_tracker, VK_LAYER_LUNARG_parameter_validation, VK_LAYER_LUNARG_standard_validation, 
-- Done --
INTEL-MESA: warning: Ivy Bridge Vulkan support is incomplete
-- Physical Device: 358 'Intel(R) Ivybridge Mobile' --
Extensions: VK_KHR_bind_memory2, VK_KHR_create_renderpass2, VK_KHR_dedicated_allocation, VK_KHR_descriptor_update_template, VK_KHR_device_group, VK_KHR_driver_properties, VK_KHR_external_fence, VK_KHR_external_fence_fd, VK_KHR_external_memory, VK_KHR_external_memory_fd, VK_KHR_external_semaphore, VK_KHR_external_semaphore_fd, VK_KHR_get_memory_requirements2, VK_KHR_image_format_list, VK_KHR_incremental_present, VK_KHR_maintenance1, VK_KHR_maintenance2, VK_KHR_maintenance3, VK_KHR_push_descriptor, VK_KHR_relaxed_block_layout, VK_KHR_sampler_mirror_clamp_to_edge, VK_KHR_sampler_ycbcr_conversion, VK_KHR_shader_draw_parameters, VK_KHR_storage_buffer_storage_class, VK_KHR_swapchain, VK_KHR_variable_pointers, VK_KHR_multiview, VK_EXT_display_control, VK_EXT_external_memory_dma_buf, VK_EXT_shader_viewport_index_layer, VK_EXT_vertex_attribute_divisor, VK_EXT_calibrated_timestamps, VK_GOOGLE_decorate_string, VK_GOOGLE_hlsl_functionality1, 
Type: Integrated
Vendor: Intel
Supports Version: 1.1.90
Header Version: 100
-- Done --
Selected Physical Device: 'Intel(R) Ivybridge Mobile', 358
Max MSAA Samples: 8
Error while closing file Guis/White.png: no error
Texture 'Guis/White.png' loaded in 162.755ms
Error while closing file Guis/Button_Filled.png: no error
Texture 'Guis/Button_Filled.png' loaded in 12.387ms
Error while closing file Guis/Triangle_Down.png: no error
Texture 'Guis/Triangle_Down.png' loaded in 0.163ms
Error while closing file Fonts/ProximaNova/Regular.png: no error
Texture 'Fonts/ProximaNova/Regular.png' loaded in 10.053ms
Error while closing file Fonts/ProximaNova/Regular.ttf: no error
Error while closing file Sounds/Button1.ogg: no error
Sound Buffer 'Sounds/Button1.ogg' loaded in 4.325ms
Error while closing file Guis/Button.png: no error
Texture 'Guis/Button.png' loaded in 12.874ms
Error while closing file Guis/ColourWheel.png: no error
Texture 'Guis/ColourWheel.png' loaded in 8.967ms
Error while closing file Guis/Radio.png: no error
Texture 'Guis/Radio.png' loaded in 14.401ms
Error while closing file Guis/Radio_X.png: no error
Texture 'Guis/Radio_X.png' loaded in 0.161ms
Error while closing file Guis/Radio_Filled.png: no error
Texture 'Guis/Radio_Filled.png' loaded in 0.086ms
Error while closing file Icons/Icon-16.png: no error
Error while closing file Icons/Icon-24.png: no error
Error while closing file Icons/Icon-32.png: no error
Error while closing file Icons/Icon-48.png: no error
Error while closing file Icons/Icon-64.png: no error
Error while closing file Icons/Icon-96.png: no error
Error while closing file Icons/Icon-128.png: no error
Error while closing file Icons/Icon-192.png: no error
Error while closing file Icons/Icon-256.png: no error
[Host] Updating plugin
Render Stage built in 2.220ms
 [ VUID_Undefined ] Object: VK_NULL_HANDLE (Type = 0) | vkCreateImage(): Format VK_FORMAT_D32_SFLOAT_S8_UINT is not supported for this combination of parameters.
 [ VUID-VkImageViewCreateInfo-usage-02274 ] Object: 0xfd (Type = 10) | vkCreateImageView(): pCreateInfo->format VK_FORMAT_D32_SFLOAT_S8_UINT with tiling VK_IMAGE_TILING_OPTIMAL does not support usage that includes VK_IMAGE_USAGE_SAMPLED_BIT. The Vulkan spec states: If usage contains VK_IMAGE_USAGE_SAMPLED_BIT, then the format features of the resultant image view must contain VK_FORMAT_FEATURE_SAMPLED_IMAGE_BIT. (https://www.khronos.org/registry/vulkan/specs/1.1-extensions/html/vkspec.html#VUID-VkImageViewCreateInfo-usage-02274)
Render Stage built in 8.667ms
Render Stage built in 0.138ms
Error while closing file Shaders/Deferred/Deferred.vert: no error
Error while closing file Shaders/Deferred/Deferred.frag: no error
 [ UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled ] Object: VK_NULL_HANDLE (Type = 0) | Shader requires fragmentStoresAndAtomics but is not enabled on the device
Pipeline 'Shaders/Deferred/Deferred.frag' created in 112.485ms
Error while closing file Shaders/Brdf.comp: no error
 [ UNASSIGNED-CoreValidation-Shader-DescriptorTypeMismatch ] Object: VK_NULL_HANDLE (Type = 0) | Type mismatch on descriptor slot 0.0 (expected `VK_DESCRIPTOR_TYPE_STORAGE_IMAGE`) but descriptor of type VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
PipelineCompute pipeline 'Shaders/Brdf.comp' created in 15.120ms
File 'Shaders/Deferred.json' saved in 0.527ms
Error while closing file Shaders/Particles/Particle.vert: not found
Error while closing file Shaders/Particles/Particle.frag: no error
 [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object: 0x13a (Type = 15) | Vertex attribute at location 2 not consumed by vertex shader
Pipeline 'Shaders/Particles/Particle.frag' created in 7.214ms
Error while closing file Shaders/Post/Default.vert: no error
Error while closing file Shaders/Post/Default.frag: no error
 [ UNASSIGNED-CoreValidation-Shader-FeatureNotEnabled ] Object: VK_NULL_HANDLE (Type = 0) | Shader requires fragmentStoresAndAtomics but is not enabled on the device
 [ UNASSIGNED-CoreValidation-Shader-DescriptorTypeMismatch ] Object: VK_NULL_HANDLE (Type = 0) | Type mismatch on descriptor slot 0.0 (expected `VK_DESCRIPTOR_TYPE_STORAGE_IMAGE`) but descriptor of type VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER
Pipeline 'Shaders/Post/Default.frag' created in 4.861ms
Error while closing file Shaders/Post/Default.vert: no error
Error while closing file Shaders/Post/Blit.frag: no error
Pipeline 'Shaders/Post/Blit.frag' created in 4.307ms
Error while closing file Shaders/Guis/Gui.vert: no error
Error while closing file Shaders/Billboard.glsl: no error
Error while closing file Shaders/Guis/Gui.frag: no error
 [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object: 0x14c (Type = 15) | Vertex attribute at location 2 not consumed by vertex shader
Pipeline 'Shaders/Guis/Gui.frag' created in 21.310ms
Error while closing file Shaders/Fonts/Font.vert: no error
Error while closing file Shaders/Billboard.glsl: no error
Error while closing file Shaders/Fonts/Font.frag: no error
 [ UNASSIGNED-CoreValidation-Shader-OutputNotConsumed ] Object: 0x152 (Type = 15) | Vertex attribute at location 2 not consumed by vertex shader
Pipeline 'Shaders/Fonts/Font.frag' created in 15.928ms
^C

~/.../build/bin >>> cd Resources/Engine                           ±[●●][master]
~/.../Resources/Engine >>> ls                                      ±[●][master]
Fonts   Guis   Logos    Shaders  Undefined2.png  Undefined.png
Gizmos  Icons  Objects  Sounds   Undefined.obj
~/.../Resources/Engine >>> pwd                                     ±[●][master]
/home/firstlove/dev/Acid/build/bin/Resources/Engine

the error `Error while closing file .... no error" is a bit weird. any insight? @mattparks

It may be worthwhile for me to search for that path of the engine specific one is missing.

Maybe it can be done by cmake at config/build period? a script is not convinently because the name of build dir is deternimated by cmake(just like my build/ case)

Update

Only Editor Example will pop up error(as showed above) now, other examples can run successfully!

from acid.

FirstLoveLife avatar FirstLoveLife commented on August 14, 2024

I'll add a cmake pr to solve Resources/Engine search issue

from acid.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.