Giter Club home page Giter Club logo

runeslayer's People

Contributors

maxow 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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

turion

runeslayer's Issues

GLX error when starting

I tried building on my other machine today, and unfortunately I got this error:

$ dist/build/RuneSlayer/RuneSlayer
RuneSlayer version 0.1.0 Copyright (C) 2018-2019 Maksymilian Owsianny
Timestamp : 2019-11-14 19:23:55 +0000
Revision  : f579f46f22cb0b646e903a444e0ed175824ce904
Exe hash  : add8c1b8c292290998c3d739362ba428b97dbfd6

3.2.1 X11 GLX EGL clock_gettime /dev/js Xf86vm
RuneSlayer: Window creation failed
CallStack (from HasCallStack):
  error, called at src/Relude/Debug.hs:91:11 in relude-0.4.0-37Q1PylyLVNLu7s5THX52D:Relude.Debug
  error, called at src/Engine/Context.hs:48:17 in Carnot-0.1.26.5-HCh9XzTz5XCESjoQ9x41La:Engine.Context

Strange error when checking repo out incorrectly

Not an issue necessarily, but I thought I'd document in case someone else runs into this.

$ git clone [email protected]:MaxOw/RuneSlayer.git
$ cd RuneSlayer
$ nix-build 
building '/nix/store/73pz9vnkfx1caamf3s5wyvy16awvdyyx-cabal2nixResult.drv'...
error: creating directory '/nix/var': Permission denied
error: creating directory '/nix/var': Permission denied
Initialized empty Git repository in /build/git-checkout-tmp-gxpYcTAW/vm0524mzxx6cwfc2zvgds2vcg6khv0n6-Carnot/.git/
fatal: '/nix/store/vm0524mzxx6cwfc2zvgds2vcg6khv0n6-Carnot' does not appear to be a git repository
fatal: Could not read from remote repository.
[...]

The mistake here is not doing git clone --recursive. If you add --recursive, then this step works. See NixOS/nixpkgs#45775. (Thanks @srhb!)

Use nix to build executable

It would be cool if the last step of the build (cabal build) is already done, so you can just do nix-build and it will build everything, including the executable.

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.