For what it's worth - 
something that I needed and wasn't obvious from the documentation is the
way to use RDKit libraries in my own project without getting entangled
in boost jam weirdness  - i.e. via regular make process. After some
trial and error I have the following lines in my Makefile - perhaps it
will save time to someone else if it's included in the docs:

RDKIT=../../rdkit-svn/
BOOST=../../boost_1_34_1
LD_LIBRARY_PATH=$(RDKIT)/bin

RDKITINC=-I$(RDKIT)/Code/ -I$(RDKIT)/External/vflib-2.0/include/ \\ 
-I$(BOOST)
RDKITLIB=-L$(RDKIT)/bin/ -lRDGeneral -lSmilesParse -lGraphMol \\
-lFileParsers -lDepictor -lRDGeometry -lSubstruct \\
-L$(RDKIT)/External/vflib-2.0/lib -lvf

$RDKITINC is then added to the other "include" variables and $RDKITLIB
to the libraries that are needed to be linked.
Your set of libs in RDKITLIB may vary.

Just my $.02

Igor


On Wed, 2008-07-16 at 18:51 +0200, Greg Landrum wrote:
> Dear Noel,
> 
> On Wed, Jul 16, 2008 at 9:10 AM, Noel O'Boyle <[email protected]> wrote:
> > I would be happy if you just concentrated on updating the
> > documentation for the current supported builds so that they're
> > self-contained and foolproof.
> 
> That's a good concrete suggestion that I can act on. I gave up a long
> time ago on making anything foolproof (the fools are just too wily),
> but perhaps we can manage fool-resistant. :-)
> 
> > I'm thinking here mainly of the Windows
> > build - what boost stuff do I need to download exactly?
> 
> yes; this info should be more explicit
> 
> > Also, the
> > Linux build tells me to read the boost documentation, but I don't want
> > to do this.
> 
> heh.
> 
> I'm going to start working on the BuildingOnWindows and
> BuildingOnLinux pages on the wiki:
> http://code.google.com/p/rdkit/wiki/BuildingOnWindows
> and
> http://code.google.com/p/rdkit/wiki/BuildingOnLinux
> to try and get the instructions as clear and explicit as possible.
> 
> If interested parties could keep an eye on things and let me know how
> things look, we can iterate to something that works. Since it doesn't
> look like the google code wiki lets you monitor pages, send me email
> if you'd like to have this operate in "push" mode (e.g. I'll send you
> email when I make changes).
> 
> Best Regards,
> -greg
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Rdkit-discuss mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Reply via email to