rainbyte / frag Goto Github PK
View Code? Open in Web Editor NEWFrag is a 3D first person shooting game written in Haskell, by Mun Hon Cheong
License: GNU General Public License v2.0
Frag is a 3D first person shooting game written in Haskell, by Mun Hon Cheong
License: GNU General Public License v2.0
The stacktrace get with lldb is follow:
(lldb) bt
* thread #1: tid = 0x377c1c, 0x00007fffd05c8598 libGL.dylib`glDrawBuffer + 15, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x218)
* frame #0: 0x00007fffd05c8598 libGL.dylib`glDrawBuffer + 15
frame #1: 0x00000001000353da frag`___lldb_unnamed_symbol2920$$frag + 114
frame #2: 0x000000010191b9e0 dyld`initialPoolContent + 41136
frame #3: 0x000000010191ba78 dyld`initialPoolContent + 41288
frame #4: 0x000000010191bb20 dyld`initialPoolContent + 41456
frame #5: 0x000000010191bbc8 dyld`initialPoolContent + 41624
frame #6: 0x000000010191bc60 dyld`initialPoolContent + 41776
frame #7: 0x000000010191bd08 dyld`initialPoolContent + 41944
frame #8: 0x000000010191bda8 dyld`initialPoolContent + 42104
frame #9: 0x000000010191be50 dyld`initialPoolContent + 42272
frame #10: 0x0000000100e99a08 frag`Main_createAWindow_closure + 16
I tried to install frag today by typing stack install frag, and got the following error:
Configuring frag-1.1.2...
Building frag-1.1.2...
Preprocessing executable 'frag' for frag-1.1.2...
on the commandline: warning:
The -fvia-C flag does nothing; it will be removed in a future GHC release
[ 1 of 39] Compiling TGA ( src/TGA.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/frag/frag-tmp/TGA.o )
[ 2 of 39] Compiling Textures ( src/Textures.hs, .stack-work/dist/x86_64-linux/Cabal-1.24.2.0/build/frag/frag-tmp/Textures.o )
src/Textures.hs:35:19: error:
Variable not in scope:
catch
:: IO (Maybe (Size, PixelData Word8))
-> (t0 -> IO (Maybe a0)) -> IO (Maybe (Size, PixelData Word8))
This is a bit odd:
Line 20 in 66202cf
(case (listToILA $ objs) of
x -> x)
Isn't that just the same as
(listToILA objs)
?
This project was always quite impressive for what it achieved.
It would be great to show it by including an animated GIF in the README.
I just checked and it compiles out of the box.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.