Created
June 20, 2016 15:39
-
-
Save fish2000/3a78bb7bc236f01f7b742b409b4add47 to your computer and use it in GitHub Desktop.
Halide compilation error
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Scanning dependencies of target Halide | |
| [ 40%] Building CXX object src/CMakeFiles/Halide.dir/AddImageChecks.cpp.o | |
| [ 40%] Building CXX object src/CMakeFiles/Halide.dir/AlignLoads.cpp.o | |
| [ 40%] Building CXX object src/CMakeFiles/Halide.dir/AddParameterChecks.cpp.o | |
| [ 41%] Building CXX object src/CMakeFiles/Halide.dir/AllocationBoundsInference.cpp.o | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AddParameterChecks.cpp:1: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AddParameterChecks.h:10: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/IR.h:11: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Buffer.h:14: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Argument.h:10: | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: error: instantiation of variable 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' required here, but no definition is available [-Werror,-Wundefined-var-template] | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/IROperator.h:204:53: note: in instantiation of function template specialization 'Halide::Internal::IRHandle::as<Halide::Internal::Broadcast>' requested here | |
| } else if (const Internal::Broadcast *b = a.as<Internal::Broadcast>()) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:86:30: note: forward declaration of template entity is here | |
| static EXPORT IRNodeType _type_info; | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: note: add an explicit instantiation declaration to suppress this warning if 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' is explicitly instantiated in another translation unit | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| 1 error generated. | |
| make[2]: *** [src/CMakeFiles/Halide.dir/AddParameterChecks.cpp.o] Error 1 | |
| make[2]: *** Waiting for unfinished jobs.... | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AlignLoads.cpp:3: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AlignLoads.h:7: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/IR.h:11: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Buffer.h:14: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Argument.h:10: | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: error: instantiation of variable 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' required here, but no definition is available [-Werror,-Wundefined-var-template] | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/IROperator.h:204:53: note: in instantiation of function template specialization 'Halide::Internal::IRHandle::as<Halide::Internal::Broadcast>' requested here | |
| } else if (const Internal::Broadcast *b = a.as<Internal::Broadcast>()) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:86:30: note: forward declaration of template entity is here | |
| static EXPORT IRNodeType _type_info; | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: note: add an explicit instantiation declaration to suppress this warning if 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' is explicitly instantiated in another translation unit | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AllocationBoundsInference.cpp:1: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AllocationBoundsInference.h:8: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/IR.h:11: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Buffer.h:14: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Argument.h:10: | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: error: instantiation of variable 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' required here, but no definition is available [-Werror,-Wundefined-var-template] | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/IROperator.h:204:53: note: in instantiation of function template specialization 'Halide::Internal::IRHandle::as<Halide::Internal::Broadcast>' requested here | |
| } else if (const Internal::Broadcast *b = a.as<Internal::Broadcast>()) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:86:30: note: forward declaration of template entity is here | |
| static EXPORT IRNodeType _type_info; | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: note: add an explicit instantiation declaration to suppress this warning if 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' is explicitly instantiated in another translation unit | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| 1 error generated. | |
| 1 error generated. | |
| make[2]: *** [src/CMakeFiles/Halide.dir/AlignLoads.cpp.o] Error 1 | |
| make[2]: *** [src/CMakeFiles/Halide.dir/AllocationBoundsInference.cpp.o] Error 1 | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AddImageChecks.cpp:1: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/AddImageChecks.h:10: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/IR.h:11: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Buffer.h:14: | |
| In file included from /tmp/halide-20160620-20824-swyhu4/src/Argument.h:10: | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: error: instantiation of variable 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' required here, but no definition is available [-Werror,-Wundefined-var-template] | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/IROperator.h:204:53: note: in instantiation of function template specialization 'Halide::Internal::IRHandle::as<Halide::Internal::Broadcast>' requested here | |
| } else if (const Internal::Broadcast *b = a.as<Internal::Broadcast>()) { | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:86:30: note: forward declaration of template entity is here | |
| static EXPORT IRNodeType _type_info; | |
| ^ | |
| /tmp/halide-20160620-20824-swyhu4/src/Expr.h:119:44: note: add an explicit instantiation declaration to suppress this warning if 'Halide::Internal::ExprNode<Halide::Internal::Broadcast>::_type_info' is explicitly instantiated in another translation unit | |
| if (ptr && ptr->type_info() == &T::_type_info) { | |
| ^ | |
| 1 error generated. | |
| make[2]: *** [src/CMakeFiles/Halide.dir/AddImageChecks.cpp.o] Error 1 | |
| make[1]: *** [src/CMakeFiles/Halide.dir/all] Error 2 | |
| make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment