View previous topic :: View next topic |
Author |
Message |
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Tue Nov 04, 2008 1:56 pm Post subject: How to install ArcLib using DSSS |
|
|
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 |
|
|
deadimp
Joined: 22 Oct 2008 Posts: 28
|
Posted: Wed Nov 05, 2008 10:45 pm Post subject: |
|
|
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 |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Nov 06, 2008 7:17 pm Post subject: |
|
|
I've decided to use arc_extname and I've put the appropriate changes in the trunk. |
|
Back to top |
|
|
Darloth
Joined: 29 Jan 2009 Posts: 3
|
Posted: Thu Jan 29, 2009 1:13 pm Post subject: hope this is the right place - documentation errors |
|
|
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 |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Jan 29, 2009 8:30 pm Post subject: |
|
|
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 |
|
|
cyhawk
Joined: 12 Feb 2009 Posts: 10
|
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
|
Back to top |
|
|
joelcnz
Joined: 23 Feb 2009 Posts: 76
|
Posted: Thu Mar 19, 2009 9:59 pm Post subject: |
|
|
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? 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 |
|
|
cyhawk
Joined: 12 Feb 2009 Posts: 10
|
Posted: Fri Mar 20, 2009 2:31 am Post subject: |
|
|
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 |
|
|
|