[Rdkit-discuss] New problem compiling RDKit on Windows
Dear All, For quite some time I have been successfully compiling RDKit on Windows using Visual Studio 2012. However, recently (and perhaps triggered by a recent VS update that I accepted) I am getting errors. The problem seems to be in Wrap.h (line 133): <<< .mine VS is complaining "error C2059: syntax error:'<<'" and the corresponding error when inspecting the code is "Error: expected a declaration". Does anyone have any suggestions for working through this? 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. 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 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.. __-- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140___ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
Re: [Rdkit-discuss] New problem compiling RDKit on Windows
Hi James, That looks like a leftover from a source-control conflict. I can't find it in github: https://github.com/rdkit/rdkit/blob/master/Code/RDBoost/Wrap.h#L133 Could it be that you are pulling from github and that you had local modifications to the file that lead to a conflict? Best, -greg On Mon, Nov 23, 2015 at 1:52 AM, James Davidson wrote: > Dear All, > > > > For quite some time I have been successfully compiling RDKit on Windows > using Visual Studio 2012. > > However, recently (and perhaps triggered by a recent VS update that I > accepted) I am getting errors. > > > > The problem seems to be in Wrap.h (line 133): > > > > <<< .mine > > > > > > VS is complaining “error C2059: syntax error:’<<’” and the corresponding > error when inspecting the code is “Error: expected a declaration”. > > Does anyone have any suggestions for working through this? > > > > 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. 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 > > 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.. > __ > > > -- > Go from Idea to Many App Stores Faster with Intel(R) XDK > Give your users amazing mobile app experiences with Intel(R) XDK. > Use one codebase in this all-in-one HTML5 development environment. > Design, debug & build mobile apps & 2D/3D high-impact games for multiple > OSs. > http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140 > ___ > Rdkit-discuss mailing list > Rdkit-discuss@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/rdkit-discuss > > -- Go from Idea to Many App Stores Faster with Intel(R) XDK Give your users amazing mobile app experiences with Intel(R) XDK. Use one codebase in this all-in-one HTML5 development environment. Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs. http://pubads.g.doubleclick.net/gampad/clk?id=254741551&iu=/4140___ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
Re: [Rdkit-discuss] New problem compiling RDKit on Windows
Oops - accidentally hit send just now (if you see a previous message)! Let's try that again! Hi Greg, > That looks like a leftover from a source-control conflict. I can't find it > in github: > https://github.com/rdkit/rdkit/blob/master/Code/RDBoost/Wrap.h#L133 > > Could it be that you are pulling from github and that you had local > modifications to the file that lead to a conflict? Sorry for the delayed response - I have only just got a chance to relook at this. I have wiped everything and started again. I now get some different errors, but they are still centred around Wrap.h (and hc.c). The first error - which may lead onto the rest(?) is in Wrap.h line 136: #defined RDUNUSED 20>c:\rdkit\code\rdboost\Wrap.h(136): fatal error C1021: invalid preprocessor command 'defined' I have some recollection that I started by modifying this to try and mend things last time - so maybe that explains why Wrap.h could have been conflicted... Anyway - I guess I will try again and see if it helps; but it seems that there is a problem - at least for Visual Studio(?) 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. 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 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.. __ -- ___ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
Re: [Rdkit-discuss] New problem compiling RDKit on Windows
On Fri, Nov 27, 2015 at 8:34 AM, James Davidson wrote: > > Hi Greg, > > > That looks like a leftover from a source-control conflict. I can't find > it in github: > > https://github.com/rdkit/rdkit/blob/master/Code/RDBoost/Wrap.h#L133 > > > > Could it be that you are pulling from github and that you had local > modifications to the file that lead to a conflict? > > Sorry for the delayed response - I have only just got a chance to relook > at this. > I have wiped everything and started again. I now get some different > errors, but they are still centred around Wrap.h (and hc.c). The first > error - which may lead onto the rest(?) is in Wrap.h line 136: > > > #defined RDUNUSED > 20>c:\rdkit\code\rdboost\Wrap.h(136): fatal error C1021: invalid > preprocessor command 'defined' > > That was definitely a typo in the code. I just fixed it. > I have some recollection that I started by modifying this to try and mend > things last time - so maybe that explains why Wrap.h could have been > conflicted... > Anyway - I guess I will try again and see if it helps; but it seems that > there is a problem - at least for Visual Studio(?) If you still have problems with this (or hc.c), please let me know, -greg -- ___ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
Re: [Rdkit-discuss] New problem compiling RDKit on Windows
That looks like a leftover from a source-control conflict. I can't find it in github: https://github.com/rdkit/rdkit/blob/master/Code/RDBoost/Wrap.h#L133 Could it be that you are pulling from github and that you had local modifications to the file that lead to a conflict? __ 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 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.. __ -- ___ Rdkit-discuss mailing list Rdkit-discuss@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/rdkit-discuss
Re: [Rdkit-discuss] New problem compiling RDKit on Windows
Hi again, Greg > If you still have problems with this (or hc.c), please let me know, hc.c fails to compile. The errors are shown below, and then I get related linking errors. I'm hoping all the errors are related(?) The first line affected is line 42: static doublereal inf = 1e20; Kind regards James Error 2426error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 42 1 hc Error 2427error C2275: 'integer' : illegal use of this type as an expression C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 45 1 hc Error 2428error C2146: syntax error : missing ';' before identifier 'i__1'C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 45 1 hc Error 2429error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 45 1 hc Error 2430error C2065: 'i__2' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 45 1 hc Error 2431error C2275: 'doublereal' : illegal use of this type as an expression C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 46 1 hc Error 2432error C2146: syntax error : missing ';' before identifier 'd__1'C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 46 1 hc Error 2433error C2065: 'd__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 46 1 hc Error 2434error C2065: 'd__2' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 46 1 hc Error 2435error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 49 1 hc Error 2436error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 50 1 hc Error 2437error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 51 1 hc Error 2438error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 52 1 hc Error 2439error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 53 1 hc Error 2440error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 54 1 hc Error 2441error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 55 1 hc Error 2442error C2143: syntax error : missing ';' before 'type' C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 56 1 hc Error 2443error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 72 1 hc Error 2444error C2065: 'i__' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 73 1 hc Error 2445error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 73 1 hc Error 2446error C2065: 'i__' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 74 1 hc Error 2447error C2065: 'i__' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 75 1 hc Error 2448error C2065: 'ncl' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 77 1 hc Error 2449error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 79 1 hc Error 2450error C2065: 'ind' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 80 1 hc Error 2451error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 80 1 hc Error 2452error C2065: 'ind' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 81 1 hc Error 2453error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 90 1 hc Error 2454error C2065: 'i__' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 91 1 hc Error 2455error C2065: 'i__1' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 91 1 hc Error 2456error C2065: 'dmin__' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 92 1 hc Error 2457error C2065: 'inf' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 92 1 hc Error 2458error C2065: 'i__2' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 93 1 hc Error 2459error C2065: 'j' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 94 1 hc Error 2460error C2065: 'i__' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 94 1 hc Error 2461error C2065: 'i__2' : undeclared identifier C:\RDKit\Code\ML\Cluster\Murtagh\hc.c 94 1 hc Error 2462error C2065: 'ind' : undeclared iden