Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-23 Thread James Swetnam
Greg The attached patch may be better, in which I just define the methods in question inline-- this way you wont have to add any new FORCE* macros. Saves a lot of lines of code, too. James On Thu, Aug 23, 2012 at 9:08 PM, Greg Landrum wrote: > Hi James, > > On Fri, Aug 24, 2012 at 1:24 AM, Jam

Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-23 Thread Greg Landrum
Hi James, On Fri, Aug 24, 2012 at 1:24 AM, James Swetnam wrote: > Ironically, I just ran into this same issue with our internal gcc build > today. I've attached a patch that removes the platform-specific -O0 flag > for Dict.cpp and replaces the force_types() method with the following, which > is

Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-23 Thread Andrew Dalke
On Aug 24, 2012, at 1:24 AM, James Swetnam wrote: > Ironically, I just ran into this same issue with our internal gcc build > today. I've attached a patch that removes the platform-specific -O0 flag for > Dict.cpp and replaces the force_types() method with the following, which is > somewhat mor

Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-23 Thread James Swetnam
Ironically, I just ran into this same issue with our internal gcc build today. I've attached a patch that removes the platform-specific -O0 flag for Dict.cpp and replaces the force_types() method with the following, which is somewhat more C++ standard-compliant and portable: #define ANY_FORCE(T)

Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-23 Thread James Swetnam
Sorry for the red herring, Andrew. FWIW, per the comment in CMakeLists.txt, I was able to reproduce the error on GCC 4.4.3 on our corporate ubuntu distribution by removing the -O0 flag. Experimentation revealed that building Dict.cpp with -O1 links successfully, so I assume the particular optimiz

Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-22 Thread Greg Landrum
Hi Andrew, On Wed, Aug 22, 2012 at 12:17 PM, Andrew Dalke wrote: > On Aug 17, 2012, at 11:35 AM, Greg Landrum wrote: >> Here is, hopefully, the last update on this topic. Apologies for the >> verbosity. > > I'm trying to build the latests from the new repository. Here's > the message I get: > >

Re: [Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-22 Thread James Swetnam
Looks like you're trying to link against a 32-bit shared library? file -L /path/to/boost/shared/libraries* Should tell you the architecture of your boost 1.5 On Wed, Aug 22, 2012 at 3:17 AM, Andrew Dalke wrote: > On Aug 17, 2012, at 11:35 AM, Greg Landrum wrote: > > Here is, hopefully, the last

[Rdkit-devel] "symbol(s) not found" on Mac OS X 10.7.3

2012-08-22 Thread Andrew Dalke
On Aug 17, 2012, at 11:35 AM, Greg Landrum wrote: > Here is, hopefully, the last update on this topic. Apologies for the > verbosity. I'm trying to build the latests from the new repository. Here's the message I get: [ 4%] Building CXX object Code/RDGeneral/CMakeFiles/testDict.dir/testDict.cpp.