Hi Greg,
I see rdkit currently uses Travis CI, but have you considered also using a
Windows specific CI server like appveyor <http://www.appveyor.com/> in
addition? It is free for open source projects, and may guard against problems
such as that seen in this thread in future development. I think the setup is
very similar to travis, with an appveyor.yml config file specifying the windows
specific build process.
I’m afraid I'm not at all familiar with Windows, let alone how to build rdkit
on it, otherwise I would attempt to offer a pull request.
Thanks,
Rich
--
Richard Lewis
PhD Candidate
Centre for Molecular Informatics
University of Cambridge
http://www.ch.cam.ac.uk/group/bender <http://www.ch.cam.ac.uk/group/bender>
> On 8 Apr 2015, at 15:13, Greg Landrum <[email protected]> wrote:
>
> 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 <[email protected]
> <mailto:[email protected]>> 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 [email protected]
> <mailto:[email protected]>. 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-
> <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
> [email protected]
> <mailto:[email protected]>
> https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
> <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
> [email protected]
> 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
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss