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

Problem installing ArcLib
Goto page 1, 2  Next
 
Post new topic   Reply to topic     Forum Index -> ArcLib
View previous topic :: View next topic  
Author Message
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Wed Apr 16, 2008 6:41 pm    Post subject: Problem installing ArcLib Reply with quote

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
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Wed Apr 16, 2008 8:54 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Thu Apr 17, 2008 6:20 am    Post subject: Reply with quote

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
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Apr 17, 2008 9:55 am    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Thu Apr 17, 2008 3:27 pm    Post subject: Reply with quote

Same error about the Math tango angle.d line 25.
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Apr 17, 2008 5:14 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Thu Apr 17, 2008 5:23 pm    Post subject: Reply with quote

Now it just freezes with a blinking cursor there:
http://img508.imageshack.us/img508/7295/70463801st9.png
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Thu Apr 17, 2008 6:17 pm    Post subject: Reply with quote

press ctrl-c and try again.

It takes a little while to compile as well.
Back to top
View user's profile Send private message AIM Address
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Thu Apr 17, 2008 7:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Sat Apr 19, 2008 7:05 am    Post subject: Reply with quote

Does anyone know how I can fix that?
Back to top
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Sat Apr 19, 2008 11:46 am    Post subject: Reply with quote

Read up on Tango some more...

http://www.dsource.org/projects/tango

Tango replaces the phobos standard library, and then adds some more features, like XML and VFS.

Also, see http://www.dsource.org/projects/arclib/wiki/WhyUseTango
Back to top
View user's profile Send private message AIM Address
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Sat Apr 19, 2008 7:40 pm    Post subject: Reply with quote

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
View user's profile Send private message
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Sun Apr 20, 2008 9:08 am    Post subject: Reply with quote

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
View user's profile Send private message
clayasaurus



Joined: 21 May 2004
Posts: 857

PostPosted: Mon Apr 21, 2008 5:27 pm    Post subject: Reply with quote

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
View user's profile Send private message AIM Address
Xeon06



Joined: 16 Apr 2008
Posts: 19

PostPosted: Mon Apr 21, 2008 5:47 pm    Post subject: Reply with quote

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
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
Goto page 1, 2  Next
Page 1 of 2

 
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