Hi,

IIRC, I got the same error (i.e. tr1/memory header not found) once when I
tried to compile with the c++11 standard. Does clang use c++11 as default
standard on OSX10.9?

Tim


On Thu, Oct 31, 2013 at 4:18 PM, Hans De Winter <h...@silicos-it.com> wrote:

> Geoff,
>
> even the master gives me the same issue:
>
> Here is the output from the cmake .. command:
>
> hans$ export EIGEN=/usr/local/src/eigen-eigen-b23437e61a07
> hans$ cmake -DCMAKE_INSTALL_PREFIX=/usr/local/openbabel
> -DEIGEN2_INCLUDE_DIR=$EIGEN ..
> -- Using included inchi library.
> -- Found LibXml2: /usr/lib/libxml2.dylib (found version "2.9.0")
> -- Found ZLIB: /usr/lib/libz.dylib (found version "1.2.5")
> -- Could NOT find wxWidgets (missing:  wxWidgets_FOUND)
> -- Looking for conio.h
> -- Looking for conio.h - not found
> -- Looking for sys/time.h
> -- Looking for sys/time.h - found
> -- Looking for time.h
> -- Looking for time.h - found
> -- Looking for strings.h
> -- Looking for strings.h - found
> -- Looking for rpc/xdr.h
> -- Looking for rpc/xdr.h - not found
> -- Looking for regex.h
> -- Looking for regex.h - found
> -- Looking for C++ include sstream
> -- Looking for C++ include sstream - found
> -- Looking for rint
> -- Looking for rint - found
> -- Looking for snprintf
> -- Looking for snprintf - found
> -- Looking for sranddev
> -- Looking for sranddev - found
> -- Looking for strcasecmp
> -- Looking for strcasecmp - found
> -- Looking for strncasecmp
> -- Looking for strncasecmp - found
> -- Looking for dlopen in dl
> -- Looking for dlopen in dl - found
> -- Looking for sys/types.h
> -- Looking for sys/types.h - found
> -- Looking for stdint.h
> -- Looking for stdint.h - found
> -- Looking for stddef.h
> -- Looking for stddef.h - found
> -- Check size of clock_t
> -- Check size of clock_t - done
> -- Performing Test SCANDIR_NEEDS_CONST
> -- Performing Test SCANDIR_NEEDS_CONST - Failed
> -- Could NOT find Eigen3 (missing:  EIGEN3_INCLUDE_DIR EIGEN3_VERSION_OK)
> (Required is at least version "2.91.0")
> -- Found PkgConfig: /usr/local/bin/pkg-config (found version "0.28")
> -- checking for module 'cairo'
> --   package 'cairo' not found
> -- Found Cairo: /usr/local/lib/libcairo.dylib
> -- Cairo found. PNG output will be supported.
> -- Looking for getopt
> -- Looking for getopt - found
> -- GUI will not be built
> CMake Warning (dev) at test/CMakeLists.txt:210 (include):
>   Syntax Warning in cmake code at
>
>     /usr/local/src/openbabel/cmake/modules/UsePythonTest.cmake:54:14
>
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning (dev) at test/CMakeLists.txt:210 (include):
>   Syntax Warning in cmake code at
>
>     /usr/local/src/openbabel/cmake/modules/UsePythonTest.cmake:54:31
>
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning (dev) at test/CMakeLists.txt:210 (include):
>   Syntax Warning in cmake code at
>
>     /usr/local/src/openbabel/cmake/modules/UsePythonTest.cmake:57:25
>
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> CMake Warning (dev) at test/CMakeLists.txt:210 (include):
>   Syntax Warning in cmake code at
>
>     /usr/local/src/openbabel/cmake/modules/UsePythonTest.cmake:57:39
>
>   Argument not separated from preceding token by whitespace.
> This warning is for project developers.  Use -Wno-dev to suppress it.
>
> -- Found PythonInterp: /usr/bin/python (found version "2.7.5")
> -- Configuring done
> -- Generating done
> -- Build files have been written to: /usr/local/src/openbabel/build
>
> and the output from the subsequent make command:
>
> hans$ make
> Scanning dependencies of target openbabel
> [  1%] Building CXX object src/CMakeFiles/openbabel.dir/alias.o
> In file included from /usr/local/src/openbabel/src/alias.cpp:17:
> In file included from
> /usr/local/src/openbabel/include/openbabel/alias.h:19:
> /usr/local/src/openbabel/include/openbabel/shared_ptr.h:25:14: fatal
> error: 'tr1/memory' file not found
>     #include <tr1/memory>
>              ^
> 1 error generated.
> make[2]: *** [src/CMakeFiles/openbabel.dir/alias.o] Error 1
> make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
> make: *** [all] Error 2
>
> Thx,
> Hans
>
> On 31 Oct 2013, at 15:51, Geoffrey Hutchison <geoff.hutchi...@gmail.com>
> wrote:
>
> I'd recommend trying Git master. I'm intending to make a 2.3.3 stable
> release at some point, so I will try to track down the problem.
>
> But as I said, I know that the latest development code compiles cleanly.
>
> -Geoff
>
>
>
>
> ------------------------------------------------------------------------------
> Android is increasing in popularity, but the open development platform that
> developers love is also attractive to malware creators. Download this white
> paper to learn more about secure code signing practices that can help keep
> Android apps secure.
> http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
> _______________________________________________
> OpenBabel-discuss mailing list
> OpenBabel-discuss@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-discuss
>
>
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to