Hi James, Greg,
I just submitted a pull request which fixes:
- one actual build failure on Windows (missing library dependency in
Code/GraphMol/CMakeLists.txt)
- one test failure on Windows (this was a CR+LF fix included in a
previous pull request of mine which seems not to have been merged with
trunk)
Unfortunately I have the impression that James' problem is related to
neither of those. Might it be a boost/libboost naming issue?
Error 2651 error LNK2005: "public: virtual __cdecl
boost::detail::thread_data_base::~thread_data_base(void)"
(??1thread_data_base@detail@boost@@UEAA@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
James, could it be that you have multiple version of boost on your
Windows machine and CMake is not picking the correct one? You might try
to explicitly define on the CMake command line both BOOST_ROOT and
BOOST_LIBRARYDIR location as I do on my system:
"C:\Program Files (x86)\CMake\bin\cmake"
-DBOOST_LIBRARYDIR=c:\32\boost_1_55_0_py34\lib32-msvc-12.0
-DBOOST_ROOT=c:\32\boost_1_55_0_py34 ..
Just a guess, though: that wouldn't explain why the RDKit builds pulling
older revisions.
Cheers,
p.
On 04/08/15 15:49, James Davidson wrote:
Hi Greg – thanks!
One extra piece: as of a few minutes ago, I can confirm that revision
4947 (last revision in Feb) builds, and passes all of the tests.
Kind regards
James
*From:*Greg Landrum [mailto:greg.land...@gmail.com]
*Sent:* 08 April 2015 15:14
*To:* James Davidson
*Cc:* rdkit-discuss@lists.sourceforge.net
*Subject:* Re: [Rdkit-discuss] Problem building recent revisions on
Windows
I will fire up windows tomorrow morning and ensure that things can
build. It's been a couple weeks since I last did that.
-greg
On Wed, Apr 8, 2015 at 3:43 PM, James Davidson
<j.david...@vernalis.com <mailto:j.david...@vernalis.com>> wrote:
Dear All,
I just tried building the latest RDKit build (rev. 5204) from the
github repository, and hit a lot of link errors… So (somewhat at
random) I tried an older build (5042), and saw very similar things
(errors for this attempt are below).
I am running on 64-bit Windows, and use cmake and Visual Studio 2012 –
my build process hasn’t changed since the last time I successfully
built (rev. 4274 – and I can confirm that if I roll-back to this
revision, the build is once again successful), so I wondered if anyone
more skilled in the art than me could suggest what the problem might
be from the errors below(?)
These are the errors when building the ‘ALL_BUILD’ project:
Error 2651 error LNK2005: "public: virtual __cdecl
boost::detail::thread_data_base::~thread_data_base(void)"
(??1thread_data_base@detail@boost@@UEAA@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2652 error LNK2005: "public: void __cdecl
boost::thread::detach(void)" (?detach@thread@boost@@QEAAXXZ) already
defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2653 error LNK2005: "class boost::thread::id __cdecl
boost::this_thread::get_id(void)"
(?get_id@this_thread@boost@@YA?AVid@thread@2@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2654 error LNK2005: "public: class boost::thread::id
__cdecl boost::thread::get_id(void)const "
(?get_id@thread@boost@@QEBA?AVid@12@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2656 error LNK2005: "private: bool __cdecl
boost::thread::join_noexcept(void)"
(?join_noexcept@thread@boost@@AEAA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2658 error LNK2005: "public: bool __cdecl
boost::thread::joinable(void)const "
(?joinable@thread@boost@@QEBA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2659 error LNK2005: "private: bool __cdecl
boost::thread::start_thread_noexcept(void)"
(?start_thread_noexcept@thread@boost@@AEAA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\DistGeomHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdDistGeom
Error 2660 error LNK1169: one or more multiply defined symbols
found C:\RDKit\build\rdkit\Chem\Release\rdDistGeom.pyd rdDistGeom
Error 2675 error LNK2005: "public: virtual __cdecl
boost::detail::thread_data_base::~thread_data_base(void)"
(??1thread_data_base@detail@boost@@UEAA@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2676 error LNK2005: "public: void __cdecl
boost::thread::detach(void)" (?detach@thread@boost@@QEAAXXZ) already
defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2677 error LNK2005: "class boost::thread::id __cdecl
boost::this_thread::get_id(void)"
(?get_id@this_thread@boost@@YA?AVid@thread@2@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2678 error LNK2005: "public: class boost::thread::id
__cdecl boost::thread::get_id(void)const "
(?get_id@thread@boost@@QEBA?AVid@12@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2679 error LNK2005: "private: bool __cdecl
boost::thread::join_noexcept(void)"
(?join_noexcept@thread@boost@@AEAA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2680 error LNK2005: "public: bool __cdecl
boost::thread::joinable(void)const "
(?joinable@thread@boost@@QEBA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2681 error LNK2005: "private: bool __cdecl
boost::thread::start_thread_noexcept(void)"
(?start_thread_noexcept@thread@boost@@AEAA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\ForceFieldHelpers\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdForceFieldHelpers
Error 2682 error LNK1169: one or more multiply defined symbols
found C:\RDKit\build\rdkit\Chem\Release\rdForceFieldHelpers.pyd
1 1 rdForceFieldHelpers
Error 2730 error LNK2005: "public: virtual __cdecl
boost::detail::thread_data_base::~thread_data_base(void)"
(??1thread_data_base@detail@boost@@UEAA@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2731 error LNK2005: "public: void __cdecl
boost::thread::detach(void)" (?detach@thread@boost@@QEAAXXZ) already
defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2732 error LNK2005: "class boost::thread::id __cdecl
boost::this_thread::get_id(void)"
(?get_id@this_thread@boost@@YA?AVid@thread@2@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2733 error LNK2005: "public: class boost::thread::id
__cdecl boost::thread::get_id(void)const "
(?get_id@thread@boost@@QEBA?AVid@12@XZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2734 error LNK2005: "private: bool __cdecl
boost::thread::join_noexcept(void)"
(?join_noexcept@thread@boost@@AEAA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2735 error LNK2005: "public: bool __cdecl
boost::thread::joinable(void)const "
(?joinable@thread@boost@@QEBA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2736 error LNK2005: "private: bool __cdecl
boost::thread::start_thread_noexcept(void)"
(?start_thread_noexcept@thread@boost@@AEAA_NXZ) already defined in
boost_thread-vc110-mt-1_55.lib(boost_thread-vc110-mt-1_55.dll)
C:\RDKit\build\Code\GraphMol\MolAlign\Wrap\libboost_thread-vc110-mt-1_55.lib(thread.obj)
rdMolAlign
Error 2737 error LNK1169: one or more multiply defined symbols
found C:\RDKit\build\rdkit\Chem\Release\rdMolAlign.pyd rdMolAlign
Kind regards
James
______________________________________________________________________
PLEASE READ: This email is confidential and may be privileged. It is
intended for the named addressee(s) only and access to it by anyone
else is unauthorised. If you are not an addressee, any disclosure or
copying of the contents of this email or any action taken (or not
taken) in reliance on it is unauthorised and may be unlawful. If you
have received this email in error, please notify the sender or
postmas...@vernalis.com <mailto:postmas...@vernalis.com>. Email is not
a secure method of communication and the Company cannot accept
responsibility for the accuracy or completeness of this message or any
attachment(s). Please check this email for virus infection for which
the Company accepts no responsibility. If verification of this email
is sought then please request a hard copy. Unless otherwise stated,
any views or opinions presented are solely those of the author and do
not represent those of the Company.
The Vernalis Group of Companies
100 Berkshire Place
Wharfedale Road
Winnersh, Berkshire
RG41 5RD, England
Tel: +44 (0)118 938 0000 <tel:%2B44%20%280%29118%20938%200000>
To access trading company registration and address details, please go
to the Vernalis website at www.vernalis.com <http://www.vernalis.com>
and click on the "Company address and registration details" link at
the bottom of the page..
______________________________________________________________________
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live
exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual-
event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
<mailto:Rdkit-discuss@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
______________________________________________________________________
PLEASE READ: This email is confidential and may be privileged. It is
intended for the named addressee(s) only and access to it by anyone
else is unauthorised. If you are not an addressee, any disclosure or
copying of the contents of this email or any action taken (or not
taken) in reliance on it is unauthorised and may be unlawful. If you
have received this email in error, please notify the sender or
postmas...@vernalis.com. Email is not a secure method of communication
and the Company cannot accept responsibility for the accuracy or
completeness of this message or any attachment(s). Please check this
email for virus infection for which the Company accepts no
responsibility. If verification of this email is sought then please
request a hard copy. Unless otherwise stated, any views or opinions
presented are solely those of the author and do not represent those of
the Company.
The Vernalis Group of Companies
100 Berkshire Place
Wharfedale Road
Winnersh, Berkshire
RG41 5RD, England
Tel: +44 (0)118 938 0000
To access trading company registration and address details, please go
to the Vernalis website at www.vernalis.com and click on the "Company
address and registration details" link at the bottom of the page..
______________________________________________________________________
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss