Git Product home page Git Product logo

atlas's People

Contributors

sguimmara avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

atlas's Issues

Build errors

I am trying to build 0.0.1 branch of atlas using latest C++17 compatible compiler and vulkan 1.1.126.0 on Ubuntu but I get the following three errors. I can remove the first and third error by removing -Werror flag in the CMakeLists.txt file but I don't know how to get rid of the 2nd error:

/home/shujaat/Desktop/Vulkan/atlas/src/atlas/io/debugimagesource.cpp: In member function ‘atlas::io::Response<atlas::core::Image> atlas::io::DebugImageSource::readRegion(atlas::io::Request<atlas::core::Region>)’:
/home/shujaat/Desktop/Vulkan/atlas/src/atlas/io/debugimagesource.cpp:17:10: error: variable ‘region’ set but not used [-Werror=unused-but-set-variable]
     auto region = request.key();
          ^~~~~~
/home/shujaat/Desktop/Vulkan/atlas/src/atlas/renderer/instance.cpp: In function ‘vk::SurfaceFormatKHR pickSurfaceFormat(const std::vector<vk::SurfaceFormatKHR>&)’:
/home/shujaat/Desktop/Vulkan/atlas/src/atlas/renderer/instance.cpp:211:80: error: could not convert ‘{eB8G8R8A8Unorm, eSrgbNonlinear}’ from ‘<brace-enclosed initializer list>’ to ‘vk::SurfaceFormatKHR’
         return { vk::Format::eB8G8R8A8Unorm, vk::ColorSpaceKHR::eSrgbNonlinear };
                                                                                ^
/home/shujaat/Desktop/Vulkan/atlas/src/atlas/renderer/pipeline.cpp: In member function ‘vk::DescriptorSetLayoutBinding atlas::renderer::Pipeline::getUniform(const spirv_cross::Compiler&, const spirv_cross::Resource&, const vk::ShaderStageFlagBits&)’:
/home/shujaat/Desktop/Vulkan/atlas/src/atlas/renderer/pipeline.cpp:438:10: error: variable ‘pair’ set but not used [-Werror=unused-but-set-variable]
     auto pair = std::pair<uint32_t, uint32_t>(set, bind);

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.