On Thu, Jan 5, 2012 at 1:03 PM, Riccardo Vianello
<[email protected]> wrote:
>
> 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.

Riccardo is close. I think the problem is that the version of boost
that is being found is too old. The RDKit requires at least version
1.39. If you succeeded in building the RDKit, then you do have a more
recent version installed, so the problem here must be fixable using
the -I flag as Riccardo suggests.

I will update the header of sample.cpp to indicate that you need to
tell it where to find the boost libraries.

Best Regards,
-greg

------------------------------------------------------------------------------
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

Reply via email to