Hello, On Thu, Jan 5, 2012 at 12:29 PM, Gonzalo Colmenarejo-Sanchez <[email protected]> wrote: > Hi, > > I’m trying to build sample.cpp as specified in the file (g++ -o sample.exe > sample.cpp -I$RDBASE/Code -I$RDBASE/Extern -L$RDBASE/lib -lChemReactions > -lFileParsers -lSmilesParse -lDepictor -lSubstructMatch -lGraphMol > -lDataStructs -lRDGeometryLib -lRDGeneral > > ) but get the following error message: > > In file included from > /GWD/schem/apps/rdkit/default/Code/GraphMol/RDKitBase.h:22, > > from sample.cpp:17: > > /GWD/schem/apps/rdkit/default/Code/GraphMol/Atom.h:20:29: error: > boost/foreach.hpp: No such file or directory
It looks like the compiler can't find the boost libraries header files. Maybe they are installed into a non-standard location and you just need to provide the path to your boost installation with an additional include path (-I) in the g++ command line. HTH, Riccardo ------------------------------------------------------------------------------ Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

