Re: [Rdkit-discuss] Build on Windows

2010-07-30 Thread Evgueni Kolossov
Hi Greg,

Actually 1.43 version is in CMakeLists.
So I have repeated the whole process but... with the same result.
I have tried to edit file FindBoost.cmake from CMake because there was no
boost version 1.43 for some reason (I cannot understand how you build it
without this changes) and this helped a little - no complains about not
finding boost any more. But it still cannot find regex for some reason and i
do not understand why I do not have .dll built.

May be RDKit now cannot be build without Python at all?

Regards,
Evgueni

On 29 July 2010 20:12, Greg Landrum greg.land...@gmail.com wrote:

 Hi Evgueni,

 On Thu, Jul 29, 2010 at 9:08 PM, Evgueni Kolossov ekolos...@gmail.com
 wrote:
 
  - I am sure I included install in the bjam command line
  - I have only
  /c/boost/lib/libboost_regex-vc90-mt-1_43.lib
  and
  /c/boost/lib/libboost_regex-vc90-mt.lib
 
   -and I have not added 1.43 to the
  Boost_ADDITIONAL_VERSIONS line
 
  So, will add it and try again

 that should clear it up. I'm not sure the software will actually run
 without being able to find the dll (and I'm also not sure why it's not
 present), but hopefully you'll be able to link.

 -greg

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] Build on Windows

2010-07-30 Thread Evgueni Kolossov
Greg,

I do not understand:
.\bjam.exe toolset=msvc link=shared --with-regex release install
or
.\bjam.exe toolset=msvc link=static --with-regex release install?

Regards,
Evgueni


On 30 July 2010 09:44, Greg Landrum greg.land...@gmail.com wrote:

 On Fri, Jul 30, 2010 at 9:55 AM, Evgueni Kolossov ekolos...@gmail.com
 wrote:
 
  Actually 1.43 version is in CMakeLists.
  So I have repeated the whole process but... with the same result.
  I have tried to edit file FindBoost.cmake from CMake because there was no
  boost version 1.43 for some reason (I cannot understand how you build it
  without this changes)

 You shouldn't need to do this since the changes to CMakeLists.txt
 provide all the additional information that's required.

  and this helped a little - no complains about not
  finding boost any more. But it still cannot find regex for some reason
 and i
  do not understand why I do not have .dll built.

 Maybe you need to be more explicit about it (though I'm not clear why
 this should be). I just modified the bjam command on the wiki to add a
 link=shared parameter to it. For you the command is probably :
 .\bjam.exe toolset=msvc link=shared --with-regex release install
 I left out python and thread since I don't think you need either of them.
 Try that one and see if the dll gets built. For reasons I don't
 completely understand, you still also need the regex static library,
 so if you start from scratch with boost, you need to also do:
 .\bjam.exe toolset=msvc link=static --with-regex release install

  May be RDKit now cannot be build without Python at all?

 The RDKit build options don't have anything to do with how boost
 builds itself, so I don't think that's it.

 -greg

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] Build on Windows

2010-07-30 Thread Evgueni Kolossov
Ok this way it works...

Regards,
Evgueni

On 30 July 2010 09:52, Greg Landrum greg.land...@gmail.com wrote:

 On Fri, Jul 30, 2010 at 10:50 AM, Evgueni Kolossov ekolos...@gmail.com
 wrote:
  Greg,
 
  I do not understand:
  .\bjam.exe toolset=msvc link=shared --with-regex release install
  or
  .\bjam.exe toolset=msvc link=static --with-regex release install?

 for the moment, please do both.
 Once I have this figured out we should be able to drop the second one.

 -greg




Mob. +44(0)7812070446
--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss


Re: [Rdkit-discuss] Build on Windows

2010-07-30 Thread Greg Landrum
Ok, I think I finally got this fixed correctly. I made a modification
to the build rules for the SLN module
($RDBASE/Code/GraphMol/SLNParse/CMakeLists.txt) that should force
dynamic linkage on windows. the extra build of the static version of
the regex library should no longer be required.

Best,
-greg


On Fri, Jul 30, 2010 at 10:52 AM, Greg Landrum greg.land...@gmail.com wrote:
 On Fri, Jul 30, 2010 at 10:50 AM, Evgueni Kolossov ekolos...@gmail.com 
 wrote:
 Greg,

 I do not understand:
 .\bjam.exe toolset=msvc link=shared --with-regex release install
 or
 .\bjam.exe toolset=msvc link=static --with-regex release install?

 for the moment, please do both.
 Once I have this figured out we should be able to drop the second one.

--
The Palm PDK Hot Apps Program offers developers who use the
Plug-In Development Kit to bring their C/C++ apps to Palm for a share
of $1 Million in cash or HP Products. Visit us here for more details:
http://p.sf.net/sfu/dev2dev-palm
___
Rdkit-discuss mailing list
Rdkit-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/rdkit-discuss