anarky
Joined: 03 Jul 2010 Posts: 35
|
Posted: Mon Oct 17, 2011 4:46 am Post subject: Get started on Linux 17/10/2011 |
|
|
It works extremely well don't worry
You must have a few libs installed...
Code: | $ldd buildyage
linux-gate.so.1 => (0xb77e2000)
libpthread.so.0 => /lib/i686/cmov/libpthread.so.0 (0xb77a9000)
libm.so.6 => /lib/i686/cmov/libm.so.6 (0xb7783000)
libc.so.6 => /lib/i686/cmov/libc.so.6 (0xb7627000)
/lib/ld-linux.so.2 (0xb77e3000) |
And Yage uses Derelict, that is to say in the background you must have SDL libs on your machine.
Install dmd + tango, download the bundle version here:
http://downloads.dsource.org/projects/tango/0.99.9/tango-0.99.9-bin-linux-with-dmd.1.056.tar.gz
extract the tango bundle to for example "path1", then you must add this path to your PATH (and possibly to your shell file: bashrc or whatever):
Code: | $export PATH=$PATH:path1/tango-bundle/bin |
Checking out is then very easy with mercurial
Code: | $sudo apt-get install mercurial [i]<- may be necessary[/i]
$hg clone https://anarky@bitbucket.org/JoeCoder/yage
|
But you still have the option to download the source as a tarball here:
https://bitbucket.org/JoeCoder/yage/downloads
At this point you can build!
Code: | cd yage/build
dmd buildyage.d
./buildyage -release && ../bin/yage3d |
Building in debug mode doesn't work because a test on quaternions operation fails for the moment...
You can edit buildyage.d to try the other demos (there are 3 of them). |
|