Scanning dependencies of target StdDifferentiation2D
[ 16%] Building CXX object CMakeFiles/StdDifferentiation2D.dir/StdDifferentiation2D.cpp.o
/Users/zhenxiong/Desktop/independent_study/turotials/fundamentals-differentiation/tutorial/StdDifferentiation2D.cpp:57:21: error:
no viable overloaded '='
derivMatrixDir1 = LibUtilities::PointsManager()[quadPointsKeyDir1]->GetD();
~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3786:17: note:
candidate function not viable: no known conversion from 'const
Nektar::LibUtilities::Points<double>::MatrixSharedPtrType' (aka 'const
shared_ptr<NekMatrix<double> >') to 'const
std::__1::shared_ptr<Nektar::NekMatrix<double, Nektar::StandardMatrixTag>
>' for 1st argument
shared_ptr& operator=(const shared_ptr& __r) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3797:17: note:
candidate function not viable: no known conversion from 'const
Nektar::LibUtilities::Points<double>::MatrixSharedPtrType' (aka 'const
shared_ptr<NekMatrix<double> >') to
'std::__1::shared_ptr<Nektar::NekMatrix<double, Nektar::StandardMatrixTag>
>' for 1st argument
shared_ptr& operator=(shared_ptr&& __r) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3794:9: note:
candidate template ignored: could not match 'std::__1::shared_ptr' against
'boost::shared_ptr'
operator=(const shared_ptr<_Yp>& __r) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3805:9: note:
candidate template ignored: could not match 'std::__1::shared_ptr' against
'boost::shared_ptr'
operator=(shared_ptr<_Yp>&& __r);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3815:9: note:
candidate template ignored: could not match 'auto_ptr' against
'shared_ptr'
operator=(auto_ptr<_Yp>&& __r);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3839:9: note:
candidate template ignored: could not match 'unique_ptr' against
'shared_ptr'
operator=(unique_ptr<_Yp, _Dp>&& __r);
^
/Users/zhenxiong/Desktop/independent_study/turotials/fundamentals-differentiation/tutorial/StdDifferentiation2D.cpp:60:21: error:
no viable overloaded '='
derivMatrixDir2 = LibUtilities::PointsManager()[quadPointsKeyDir2]->GetD();
~~~~~~~~~~~~~~~ ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3786:17: note:
candidate function not viable: no known conversion from 'const
Nektar::LibUtilities::Points<double>::MatrixSharedPtrType' (aka 'const
shared_ptr<NekMatrix<double> >') to 'const
std::__1::shared_ptr<Nektar::NekMatrix<double, Nektar::StandardMatrixTag>
>' for 1st argument
shared_ptr& operator=(const shared_ptr& __r) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3797:17: note:
candidate function not viable: no known conversion from 'const
Nektar::LibUtilities::Points<double>::MatrixSharedPtrType' (aka 'const
shared_ptr<NekMatrix<double> >') to
'std::__1::shared_ptr<Nektar::NekMatrix<double, Nektar::StandardMatrixTag>
>' for 1st argument
shared_ptr& operator=(shared_ptr&& __r) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3794:9: note:
candidate template ignored: could not match 'std::__1::shared_ptr' against
'boost::shared_ptr'
operator=(const shared_ptr<_Yp>& __r) _NOEXCEPT;
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3805:9: note:
candidate template ignored: could not match 'std::__1::shared_ptr' against
'boost::shared_ptr'
operator=(shared_ptr<_Yp>&& __r);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3815:9: note:
candidate template ignored: could not match 'auto_ptr' against
'shared_ptr'
operator=(auto_ptr<_Yp>&& __r);
^
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include/c++/v1/memory:3839:9: note:
candidate template ignored: could not match 'unique_ptr' against
'shared_ptr'
operator=(unique_ptr<_Yp, _Dp>&& __r);
^
2 errors generated.
make[2]: *** [CMakeFiles/StdDifferentiation2D.dir/StdDifferentiation2D.cpp.o] Error 1
make[1]: *** [CMakeFiles/StdDifferentiation2D.dir/all] Error 2
make: *** [all] Error 2
Best,
Zhen