View previous topic :: View next topic |
Author |
Message |
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Wed Apr 16, 2008 6:41 pm Post subject: Problem installing ArcLib |
|
|
Hey all,
I'm currently following the tutorial on DMedia about installing and trying out ArcLib. I can't manage to install it using DSSS. It crashes everytime during installation saying "arc\math\angle.d(25): module Math cannot read file `tango\math\Math.d`". I've snooped arround the forums here trying to find something but I didnt. Anybody knows?
Thanks. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Wed Apr 16, 2008 8:54 pm Post subject: |
|
|
Hey Xeon06,
Are you familiar with SVN and the command line? If not, I can try to hook you up with a .zip file.
If so, check out http://www.dsource.org/projects/arclib/browser/branches/arc02/tango/arclib int the svn. The folder comes with a dsss.conf file.
In the path of the folder, make a .bat file or run the command manually for 'dsss build & dsss install'
If you still get problems, let me know.
Currently, dsss net install is a bit screwy. Every once in a while it will try to fetch an outdated phobos branch. I was relying on Gregor to fix it, but it hasn't happened so I will have Gregor simply change the name of arclib to arclib-core in the dsss net install list.
If you have any other problems, please let me know.
~ Clay |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Thu Apr 17, 2008 6:20 am Post subject: |
|
|
Thanks for your help. I know how to use SVN to download that but I don't know where to put it. Probably inside my DSSS directory, but where if so?
Thanks. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Apr 17, 2008 9:55 am Post subject: |
|
|
Hey Xeon06,
Gregor fixed the DSSS for me, so try...
dsss net install arclib-core
If this doesn't work, post the error log here.
Thanks.
~ Clay |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Thu Apr 17, 2008 3:27 pm Post subject: |
|
|
Same error about the Math tango angle.d line 25. |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Apr 17, 2008 5:14 pm Post subject: |
|
|
Xeon06,
Are you using DMD or GDC?
I think the problem is that you need to install Tango.
If you use DMD, go here http://www.dsource.org/projects/tango/wiki/DmdDownloads , pick the package for your operating system, and unzip it into your C:\dmd folder.
~ Clay |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Thu Apr 17, 2008 6:17 pm Post subject: |
|
|
press ctrl-c and try again.
It takes a little while to compile as well. |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Thu Apr 17, 2008 7:10 pm Post subject: |
|
|
After retrying a few times it finally installed. Thanks! Now I have another problem. When I try to build the most trivial of examples, an hello world, using "dsss build", it says it cannot read file at line 3, "std\stdio.d". As you might have guessed, this line contains my import declaration. I had tried compiling an hello world with the DMD that I downloaded from Tango's website earlier and I had obtained the same result. |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Sat Apr 19, 2008 7:05 am Post subject: |
|
|
Does anyone know how I can fix that? |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Sat Apr 19, 2008 7:40 pm Post subject: |
|
|
Ah ok thanks a lot I wasn't quite getting the whole "Standard library" thing. Would you mind helping me with something else? I'm trying to run the example hello world on D source (the one that uses GUI), however when I try to run it it just closes and theres an exception message in the console:
derelict.util.exception.SharedLibLoadException:Failed to load shared library freetype.dll
Now I'm fairly sure I installed everything correctly and there is a file "dsss\lib\DerelictFT.lib"...
Do you know whats wrong?
Thanks. |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Sun Apr 20, 2008 9:08 am Post subject: |
|
|
Allright putting the freetype dll in the same directory seems to make it work, however I'm not supposed to need to do that am I? I thought this whole lib file thing did the job of removing the need for dlls... |
|
Back to top |
|
|
clayasaurus
Joined: 21 May 2004 Posts: 857
|
Posted: Mon Apr 21, 2008 5:27 pm Post subject: |
|
|
No, the .lib are for the derelict code and the arclib code.
The dll files are what derelict calls when executing. All DLL files are necessary.
DLL's can be found here: http://svn.dsource.org/projects/arclib/downloads/dll/ |
|
Back to top |
|
|
Xeon06
Joined: 16 Apr 2008 Posts: 19
|
Posted: Mon Apr 21, 2008 5:47 pm Post subject: |
|
|
Allright I can't thank you enough for your help. I have two other questions but these you can probably answer more easily because it concerns general Arc functions. I looked into the API reference but couldn't find a thing.
1)Is there some kind of camera or projection implemented that allows to have a big play space but only "zooming" on a particular area at a time?
2)Is there a way to rotate, make transformations on the shapes drawn with arc.draw.shapes ?
Thanks. |
|
Back to top |
|
|
|