CT Sun <ctsun1998 <at> gmail.com> writes:

> 
> 
> Hi, Greg, it seems the version of boost causes the problem: when I used 
boost 1.46.1 as you did, rdkit was built successfully.
> Thanks.
> CT
> 2014-3-20 AM10:48于 "CT Sun" <ctsun1998 <at> gmail.com>写道:
> 
> 
> Hi Greg,
> Thanks for your attention. I was using the latest boost 1.55.0 and RDKit 
2013_09_2. I would have a try with boost 1.46.1 some later.
> CT
> 
> 2014-03-19 13:21 GMT+08:00 Greg Landrum <greg.landrum <at> gmail.com>:
> 
> Hi CT,
> 
> On Wed, Mar 5, 2014 at 8:56 AM, CT Sun <ctsun1998 <at> gmail.com> wrote:
> 
> 
> 
> 
> 
> 
> I was building RDKit at my CentOS 6.5 system with the following commands:
> cmake -DBOOST_ROOT=/usr/local/lib -
DPYTHON_LIBRARY=/usr/lib/python2.7/config/libpython2.7.a -
DPYTHON_INCLUDE_DIR=/usr/include/python2.7/ -
DPYTHON_EXECUTABLE=/usr/bin/python -DRDK_BUILD_SWIG_WRAPPERS=ON ..
> 
> 
> 
> 
> 
> I would use the latest SWIG (2.0.12) to implement the java wrapper and 
have put JUnit.jar to the folder External/java_lib. Then I met this problem:
> 
> 
> 
> 
> 
> 
> [ 98%] Swig source
> /usr/local/include/boost/smart_ptr/shared_array.hpp:60: Error: Syntax 
error in input(3).
> make[2]: *** [Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx] Error 
1
> 
> 
> 
> 
> 
> make[1]: *** [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/all] 
Error 2
> make: *** [all] Error 2
> 
> and the progress was broken.
> 
> 
> 
> 
> 
> 
> 
> Would you please give me any suggestion?
> 
> 
> 
> Which version of boost and the RDKit are you using?
> I just successfully built the java wrappers with the github rdkit, SWIG 
v2.012, and boost v1.46.1
> 
> 
> 
> 
> -greg
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> --------------------------------------------------------------------------
----
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> 
> _______________________________________________
> Rdkit-discuss mailing list
> Rdkit-discuss <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
>


Greg, 

I am also getting same error:

[ 97%] Building CXX object 
Code/ChemicalFeatures/Wrap/CMakeFiles/rdChemicalFeatures.dir/rdChemicalFeatu
res.cpp.o
[ 98%] Building CXX object 
Code/ChemicalFeatures/Wrap/CMakeFiles/rdChemicalFeatures.dir/FreeChemicalFea
ture.cpp.o
Linking CXX shared module ../../../rdkit/Chem/rdChemicalFeatures.so
[ 98%] Built target rdChemicalFeatures
[ 98%] Swig source
/usr/include/boost/smart_ptr/shared_array.hpp:60: Error: Syntax error in 
input(3).
make[2]: *** [Code/JavaWrappers/gmwrapper/GraphMolJavaJAVA_wrap.cxx] Error 1
make[1]: *** [Code/JavaWrappers/gmwrapper/CMakeFiles/GraphMolWrap.dir/all] 
Error 2
make: *** [all] Error 2

I am using github version of RDKit , SWIG v2.012, and boost v1.46.1 





------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Rdkit-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

Reply via email to