nsf / pnoise

Perlin noise benchmark
77 stars 23 forks source link

Fixed Crystal version #8

Closed asterite closed 9 years ago

asterite commented 9 years ago

By the way, now there's an AUR package for Crystal

Maybe you can include its results in the README?

nsf commented 9 years ago
[nsf @ pnoise]$ LANG=C crystal -o bin_test_cr --release test.cr
.crystal//home/nsf/projects/pnoise/test.cr/main.o: In function `__crystal_main':
main_module:(.text+0x1aa): undefined reference to `cos'
main_module:(.text+0x1c1): undefined reference to `sin'
collect2: error: ld returned 1 exit status
Error: execution of command failed with code: 1: `cc -o bin_test_cr .crystal//home/nsf/projects/pnoise/test.cr/main.o  -lpcre -lgc -lunwind `

I know it needs -lm, but I have no idea how to add it, if you can help me with that, will do the results.

asterite commented 9 years ago

Sure, the next release fixes this (it's fixed in HEAD). I'll let you know when there's a new version. Thanks!

asterite commented 9 years ago

Can you try now? There's a new version 0.5.1-1. Thanks!

nsf commented 9 years ago

Done.