Re: [OpenBabel-Devel] shared_ptr error while compiling master

2013-08-31 Thread Noel O'Boyle
Should work now. Let us know if you still have problems...

- Noel

On 30 August 2013 14:02, David Lonie  wrote:
> Dr. Tsafack,
>
> I've forward your error message to the openbabel development mailing
> list. Perhaps someone there may know what's going on with the shared
> pointer classes?
>
> OB devs, he is following the instructions at
>
> http://xtalopt.openmolecules.net/wiki/index.fcgi/wiki/Installation
>
> for building openbabel from git master on Mac OSX Mountain Lion, and
> running into the following errors. It's having trouble resolving the
> shared_ptr symbol and locating the Eigen headers:
>
> In file included from 
> /Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:17:
> /Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/alias.h:118:47: 
> error:
>   no template named 'shared_ptr'; did you mean
>   'std::tr1::shared_ptr'?
>   ...std::pair > >...
> ^~
> std::tr1::shared_ptr
> /usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
>   'std::tr1::shared_ptr' declared here
> class shared_ptr
>   ^
> In file included from
> /Users/Thierry/Desktop/QE/src/openbabel/src/confsearch.cpp:25:
> /Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/math/align.h:26:10:
> fatal error:
>   'Eigen/Core' file not found
> #include 
>  ^
> /Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:273:9: error:
>   no template named 'shared_ptr'; did you mean
>   'std::tr1::shared_ptr'?
> shared_ptr psp(new OBSmartsPattern);
> ^~
> std::tr1::shared_ptr
> /usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
>   'std::tr1::shared_ptr' declared here
> class shared_ptr
>   ^
> 1 warning and 2 errors generated.
> make[2]: *** [src/CMakeFiles/openbabel.dir/alias.o] Error 1
> make[2]: *** Waiting for unfinished jobs
> 1 warning and 1 error generated.
> make[2]: *** [src/CMakeFiles/openbabel.dir/confsearch.o] Error 1
> 1 warning generated.
> make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
> make: *** [all] Error 2
>
> Any suggestions?
>
> Dave
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> OpenBabel-Devel mailing list
> OpenBabel-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel


Re: [OpenBabel-Devel] shared_ptr error while compiling master

2013-08-30 Thread Noel O'Boyle
I just made some chagnes to the shared_ptr code. If you go back a few
revisions, you can avoid this problem while I sort it out.

Regarding Eigen, I'm assuming you want to use align.h. If so, when
configuring did it find Eigen? If not do you have it installed? What
version, etc?

- Noel

On 30 August 2013 14:02, David Lonie  wrote:
> Dr. Tsafack,
>
> I've forward your error message to the openbabel development mailing
> list. Perhaps someone there may know what's going on with the shared
> pointer classes?
>
> OB devs, he is following the instructions at
>
> http://xtalopt.openmolecules.net/wiki/index.fcgi/wiki/Installation
>
> for building openbabel from git master on Mac OSX Mountain Lion, and
> running into the following errors. It's having trouble resolving the
> shared_ptr symbol and locating the Eigen headers:
>
> In file included from 
> /Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:17:
> /Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/alias.h:118:47: 
> error:
>   no template named 'shared_ptr'; did you mean
>   'std::tr1::shared_ptr'?
>   ...std::pair > >...
> ^~
> std::tr1::shared_ptr
> /usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
>   'std::tr1::shared_ptr' declared here
> class shared_ptr
>   ^
> In file included from
> /Users/Thierry/Desktop/QE/src/openbabel/src/confsearch.cpp:25:
> /Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/math/align.h:26:10:
> fatal error:
>   'Eigen/Core' file not found
> #include 
>  ^
> /Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:273:9: error:
>   no template named 'shared_ptr'; did you mean
>   'std::tr1::shared_ptr'?
> shared_ptr psp(new OBSmartsPattern);
> ^~
> std::tr1::shared_ptr
> /usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
>   'std::tr1::shared_ptr' declared here
> class shared_ptr
>   ^
> 1 warning and 2 errors generated.
> make[2]: *** [src/CMakeFiles/openbabel.dir/alias.o] Error 1
> make[2]: *** Waiting for unfinished jobs
> 1 warning and 1 error generated.
> make[2]: *** [src/CMakeFiles/openbabel.dir/confsearch.o] Error 1
> 1 warning generated.
> make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
> make: *** [all] Error 2
>
> Any suggestions?
>
> Dave
>
> --
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> ___
> OpenBabel-Devel mailing list
> OpenBabel-Devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/openbabel-devel

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel


[OpenBabel-Devel] shared_ptr error while compiling master

2013-08-30 Thread David Lonie
Dr. Tsafack,

I've forward your error message to the openbabel development mailing
list. Perhaps someone there may know what's going on with the shared
pointer classes?

OB devs, he is following the instructions at

http://xtalopt.openmolecules.net/wiki/index.fcgi/wiki/Installation

for building openbabel from git master on Mac OSX Mountain Lion, and
running into the following errors. It's having trouble resolving the
shared_ptr symbol and locating the Eigen headers:

In file included from /Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:17:
/Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/alias.h:118:47: error:
  no template named 'shared_ptr'; did you mean
  'std::tr1::shared_ptr'?
  ...std::pair > >...
^~
std::tr1::shared_ptr
/usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
  'std::tr1::shared_ptr' declared here
class shared_ptr
  ^
In file included from
/Users/Thierry/Desktop/QE/src/openbabel/src/confsearch.cpp:25:
/Users/Thierry/Desktop/QE/src/openbabel/include/openbabel/math/align.h:26:10:
fatal error:
  'Eigen/Core' file not found
#include 
 ^
/Users/Thierry/Desktop/QE/src/openbabel/src/alias.cpp:273:9: error:
  no template named 'shared_ptr'; did you mean
  'std::tr1::shared_ptr'?
shared_ptr psp(new OBSmartsPattern);
^~
std::tr1::shared_ptr
/usr/include/c++/4.2.1/tr1/boost_shared_ptr.h:972:11: note:
  'std::tr1::shared_ptr' declared here
class shared_ptr
  ^
1 warning and 2 errors generated.
make[2]: *** [src/CMakeFiles/openbabel.dir/alias.o] Error 1
make[2]: *** Waiting for unfinished jobs
1 warning and 1 error generated.
make[2]: *** [src/CMakeFiles/openbabel.dir/confsearch.o] Error 1
1 warning generated.
make[1]: *** [src/CMakeFiles/openbabel.dir/all] Error 2
make: *** [all] Error 2

Any suggestions?

Dave

--
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
___
OpenBabel-Devel mailing list
OpenBabel-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-devel