Igor,
Thanks so much for passing this along. I've been meaning to follow
up on my attempts to get rdkit going on a Mac, and giving me an escape
hatch from boost makes this much more likely to actually happen.
Andy
Greg Landrum wrote:
Dear Igor,
On Wed, Jul 16, 2008 at 7:19 PM, Igor Filippov <[email protected]> wrote:
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.
Thanks, this is really helpful. I've had "add documentation for non
boost builds" on my ToDo list for a while and this is a great start.
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