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

How to install ArcLib using DSSS

 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Tue Nov 04, 2008 1:56 pm    Post subject: How to install ArcLib using DSSS Reply with quote

1. Get Current D Compiler + Tango working on platform
2. Grab DSSS
3. On the command line, type 'dsss net install arclib-core'
--You will see a lot of weird errors, DSSS should be installing libraries needed to use ArcLib.
4. The core ArcLib should be installed. If you want, try to compile the example programs here: http://www.dsource.org/projects/arclib/browser/trunk/examples/arc
5. For each extension, 'dsss net install arclib-extension'
6. Examples for each extension, http://www.dsource.org/projects/arclib/browser/trunk/examples/

If DSSS net install fails, which it may do, grab the SVN trunk http://www.dsource.org/projects/arclib/browser/trunk and then use "dsss build" and "dsss install" commands inside the folders that contain dsss.conf files.

DSSS is the preferred way to build & install ArcLib.


Last edited by clayasaurus on Tue Nov 03, 2009 12:07 pm; edited 1 time in total
Back to top
View user's profile Send private message AIM Address
deadimp



Joined: 22 Oct 2008
Posts: 28

PostPosted: Wed Nov 05, 2008 10:45 pm    Post subject: Reply with quote

This is how I've set up my directory for working with arclib SVN, checking out only what I want:

svn/ - This is a directory I have for storing working copies of various projects
+ arclib/ - Made this directory - is NOT part of a SVN checkout. This is where I check out the core and other extensions. i.e. arc/ resulted from `svn co $root/trunk/arclib/arc`
+ + etc/ - Anything outside of $root/trunk
+ + + examples/ - svn co of $root/examples
+ + + testbin/ - svn co of $root/downloads/testbin. I have set this up so I can set my current directory to etc/, and then execute something like "./examples/arc/window" in my shell so that testbin/ is in the current working directory.

Of course, you can also just check out all of $root/downloads and $root/trunk/ and just work from there. The thing that's a pain with my setup is that I have to manually update each module. This can be changed (and I might change it) by checking out $root/trunk as svn/arclib/trunk.

Anybody else have other ways they wish to share?

Notes:
  • name/ denotes a directory "name"
  • $root is the SVN root for arclib, "http://svn.dsource.org/projects/arclib"
  • I'm using Ubuntu, a Linux distro, so executables don't have/need any special filename extension. "examples/arc/window" is the executable generated for that example. In Windows, it would be "examples\arc\window.exe".
  • The back-ticks `` denote a shell command

_________________
deadimp.org
> MegaMan X Crossfire - MegaMan X fan game

Beginning D; Basic experience in PHP, C++, Java, C#, MySQL, HTML, CSS, JavaScript, VB
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Nov 06, 2008 7:17 pm    Post subject: Reply with quote

I've decided to use arc_extname and I've put the appropriate changes in the trunk.
Back to top
View user's profile Send private message AIM Address
Darloth



Joined: 29 Jan 2009
Posts: 3

PostPosted: Thu Jan 29, 2009 1:13 pm    Post subject: hope this is the right place - documentation errors Reply with quote

After a bit of struggling with dsss, I managed to get arclib installed and compiling nicely. It looks useful, but so far I havn't learned enough to do anything impressive.

To help with that, I tried to build the docs, and got several errors. As far as I can tell they're because the svn of the various packages doesn't contain a copy of arcmacros.ddos which candydoc has been told to expect, and so it can't find it and fails.

The modules --doc fails for are listed below:

arclib-blaze
arclib-scenegraph
arclib-sprite

The rest work at present.

Also, the package name for dsss is arclib-parcticle, even though the module itself is arclib_particle.
I hope that's helpful and this is roughly the right place to report something like that.
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Jan 29, 2009 8:30 pm    Post subject: Reply with quote

Hey,

Thanks, glad you got it working. I'll have to get Gregor to fix the DSSS parcticle name misspelling :-/ I'll add the right ddoc file for the extensions you mentioned.

~ Clay
Back to top
View user's profile Send private message AIM Address
cyhawk



Joined: 12 Feb 2009
Posts: 10

PostPosted: Thu Feb 12, 2009 4:42 am    Post subject: Reply with quote

I have installed ArcLib on Windows XP by getting DMC 8.50 from http://ftp.digitalmars.com/dmc.zip, DMD 1.033 and Tango 0.99.7 together from http://www.dsource.org/projects/tango/wiki/DmdDownloads, DSSS 0.78 from http://svn.dsource.org/projects/dsss/downloads/0.78/ and after unpacking all these I issued "dsss net install arclib-core". It successfully downloaded and compiled everything. Then I checked out the ArcLib examples from http://svn.dsource.org/projects/arclib/trunk/examples/ and issued "dsss build" in examples/arc. Some examples gave the warning "Module xml.d does not have a module declaration.", but not window.d.

Yet if I run window.exe nothing happens. So I "instrumented" the code to print "hello" before and after the call to arc.window.open and now the output of window.exe is a single "hello" -- arc.window.open is effectively an exit instruction for me.

Please let me know if I did something wrong or how you would recommend to go about debugging this situation!

PS: Sorry, I did not know about arc.log... It tells me plainly enough that it's missing sdl.dll. Now that I got the binaries from http://www.libsdl.org/download-1.2.php and http://www.libsdl.org/projects/SDL_image/ it works! I will leave this post in the hopes that it may help someone.
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Feb 16, 2009 3:38 pm    Post subject: Reply with quote

All the DLL's required can be found here:

http://svn.dsource.org/projects/arclib/downloads/dll/

Similarly, all the example binary files can be found here:

http://svn.dsource.org/projects/arclib/downloads/testbin/

~ Clay
Back to top
View user's profile Send private message AIM Address
joelcnz



Joined: 23 Feb 2009
Posts: 76

PostPosted: Thu Mar 19, 2009 9:59 pm    Post subject: Reply with quote

I'm interested in how to use SVN with dsource? Seems that is the only way to get downloads there, or could I just use DSSS? I use the command prompt in Windows Vista. I've never gotten DSSS to work for me yet.

What's with IDE's? Rolling Eyes DOS prompt to compile with batch files and load up into an editor. I give up on IDE's. - oops went off topic!
Back to top
View user's profile Send private message MSN Messenger
cyhawk



Joined: 12 Feb 2009
Posts: 10

PostPosted: Fri Mar 20, 2009 2:31 am    Post subject: Reply with quote

DSSS can be used to download ArcLib and build your project very easily! Make sure you get it working! It is not a big deal — just make sure you put it in your path for easy access.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> ArcLib 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