swarm-support
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: install graph-1.4.1


From: Magda Fontana
Subject: Re: install graph-1.4.1
Date: Thu, 20 May 1999 12:19:24 +0200

Thank you very much...
I'll try to follow your suggestions.
I'll tell you the outcome!!

cheers

Magda



At 11.15 20/05/99 +0100, you wrote:
>Magda Fontana wrote:
>> 
>> Thank you Gary,
>> 
>> I have got both...and I want to install the graph library.
>> 
>> I am sorry my previous message wasn't clear enough..
>> 
>> I have unzipped the code and saved it in a folder.  I suppose I have to
>> tell swarm to make and install the new library...but how?
>> 
>
>To atone for my earlier mistake, I have tried to do this on my NT machine.
>
>After downloading and unzipping graph-1.4.1, I did a "make" in the
>graph-1.4.1 directory. The compiler complained about not being able to
>see the header files. So I make the following modifications:
>
>DiGraph.m, DiGraphNode.m: Replace <> around graph.h in #import with "
>(i.e. #import <graph.h> becomes #import "graph.m")
>
>graph.h: First three lines now look like this:
>
>#import "graph/DiGraph.h"
>#import "graph/DiGraphNode.h"
>#import "graph/DiGraphLink.h"
>
>Then I did a make, and this created libgraph.a
>
>My guess is libgraph.a should be copied to $SWARMHOME/lib. You'll need
>the include files too. This means changing them back to what they were
>before! (i.e. #import "XXX.h" now reverts to #import <XXX.h>) This is
>an educated guess, but I think you should copy graph.h to $SWARMHOME/include,
>create a directory $SWARMHOME/include/graph, and copy the remaining header
>files there. I don't have any example code using the graph library to
>test this, but I think that it what is intended. If you're a Swarm
>know-it-all, then you probably know the right directory to unzip the source
>to so you don't have to do any editting and the Makefile works fine.
>
>Hope this helps, anyway.
>
>Gary
>
>-- 
>
>Macaulay Land Use Research Institute, Craigiebuckler, Aberdeen. AB15 8QH
>Tel: +44 (0) 1224 318611               Email: address@hidden
>
>                  ==================================
>   Swarm-Support is for discussion of the technical details of the day
>   to day usage of Swarm.  For list administration needs (esp.
>   [un]subscribing), please send a message to <address@hidden>
>   with "help" in the body of the message.
>
>

------------------------------------------------------------------------------
Magda Fontana
Department of Economics
via Po 53 10124
Turin - Italy

Tel. O116702765
Sec. 0116702704
Fax. 0116702762

                  ==================================
   Swarm-Support is for discussion of the technical details of the day
   to day usage of Swarm.  For list administration needs (esp.
   [un]subscribing), please send a message to <address@hidden>
   with "help" in the body of the message.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]