FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Get started on Linux 17/10/2011

 
Post new topic   Reply to topic     Forum Index -> Yage
View previous topic :: View next topic  
Author Message
anarky



Joined: 03 Jul 2010
Posts: 35

PostPosted: Mon Oct 17, 2011 4:46 am    Post subject: Get started on Linux 17/10/2011 Reply with quote

It works extremely well don't worry Cool Very Happy

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


Exclamation Building in debug mode doesn't work because a test on quaternions operation fails for the moment...

Exclamation You can edit buildyage.d to try the other demos (there are 3 of them).
Back to top
View user's profile Send private message
JoeCoder



Joined: 29 Oct 2005
Posts: 294

PostPosted: Sun Feb 12, 2012 9:44 pm    Post subject: Reply with quote

Thank you very much for posting this Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> Yage All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group