Giter VIP home page Giter VIP logo

hickory's People

Contributors

asivitz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hickory's Issues

Build failed due to posix_spawnp not being found

I don't know why this isn't being found as it seems like something builtin. Anyways here is the error message in full. Hope you can give me advice on how to resolve this. The system I use is arch linux with ghc 9.0.2. I'm compiling from the clone I made of your repository.

Hickory > [54 of 57] Compiling Hickory.Vulkan.Text
Hickory >
Hickory > /home/cmo/code/Hickory/core/Hickory/Vulkan/Text.hs:35:16: error:
Hickory > * Exception when trying to run compile-time code:
Hickory > glslangValidator: startProcess: posix_spawnp: does not exist (No such file or directory)
Hickory > Code: template-haskell-2.16.0.0:Language.Haskell.TH.Quote.quoteExp
Hickory > vert
Hickory > "\n
Hickory > \ #version 450\n
Hickory > \ #extension GL_EXT_scalar_block_layout : require\n
Hickory > \n
Hickory > \ layout(location = 0) in vec3 inPosition;\n
Hickory > \ layout(location = 3) in vec2 inTexCoord;\n
Hickory > \n
Hickory > \ layout(location = 1) out vec2 texCoord;\n
Hickory > \n
Hickory > \ struct Uniforms\n
Hickory > \ {\n
Hickory > \ mat4 modelViewProjMatrix;\n
Hickory > \ vec4 color;\n
Hickory > \ vec4 outlineColor;\n
Hickory > \ float outlineSize;\n
Hickory > \ float sdfPixelRange;\n
Hickory > \ vec2 tiling;\n
Hickory > \ };\n
Hickory > \n
Hickory > \ layout (push_constant) uniform constants { uint uniformIdx; } PushConstants;\n
Hickory > \ layout (row_major, scalar, set = 0, binding = 0) uniform UniformBlock { Uniforms uniforms [128]; } uniformBlock;\n
Hickory > \n
Hickory > \ void main() {\n
Hickory > \ Uniforms uniforms = uniformBlock.uniforms[PushConstants.uniformIdx];\n
Hickory > \ gl_Position = uniforms.modelViewProjMatrix * vec4(inPosition, 1.0);\n
Hickory > \ texCoord = uniforms.tiling * inTexCoord;\n
Hickory > \ }\n
Hickory > \n"
Hickory > * In the quasi-quotation:
Hickory > [vert|
Hickory > #version 450
Hickory > #extension GL_EXT_scalar_block_layout : require
Hickory >
Hickory > layout(location = 0) in vec3 inPosition;
Hickory > layout(location = 3) in vec2 inTexCoord;
Hickory >
Hickory > layout(location = 1) out vec2 texCoord;
Hickory >
Hickory > struct Uniforms
Hickory > {
Hickory > mat4 modelViewProjMatrix;
Hickory > vec4 color;
Hickory > vec4 outlineColor;
Hickory > float outlineSize;
Hickory > float sdfPixelRange;
Hickory > vec2 tiling;
Hickory > };
Hickory >
Hickory > layout (push_constant) uniform constants { uint uniformIdx; } PushConstants;
Hickory > layout (row_major, scalar, set = 0, binding = 0) uniform UniformBlock { Uniforms uniforms [128]; } uniformBlock;
Hickory >
Hickory > void main() {
Hickory > Uniforms uniforms = uniformBlock.uniforms[PushConstants.uniformIdx];
Hickory > gl_Position = uniforms.modelViewProjMatrix * vec4(inPosition, 1.0);
Hickory > texCoord = uniforms.tiling * inTexCoord;
Hickory > }
Hickory >
Hickory > |]
Hickory > |
Hickory > 35 | vertShader = [vert|
Hickory > | ^^^^^^...
Hickory >
Progress 3/7

-- While building package Hickory-0.1.0.0 (scroll up to its section to see the error) using:
/home/cmo/.stack/setup-exe-cache/x86_64-linux/Cabal-simple_mPHDZzAJ_3.2.1.0_ghc-8.10.7 --verbose=1 --builddir=.stack-work/dist/x86_64-linux/Cabal-3.2.1.0 build lib:Hickory exe:pack-model --ghc-options " -fdiagnostics-color=always"
Process exited with code: ExitFailure 1

Shooter Example not updated to recent API changes

Hickory looks very cool and innovative; I'd very much love to play around with it! Unfortunately, it seems like the shooter example uses some functions and APIs that are no longer part of the current Hickory, and it fails to build after I pulled the latest master branch.

Specifically, things like withAttrVal and GlobalSettings are causing build failures.

Would you mind updating the example when you have the time?

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.