hit-scir / ltp4j Goto Github PK
View Code? Open in Web Editor NEWThis project forked from ruoshui1126/ltp4j
ltp4j: Language Technology Platform For Java
This project forked from ruoshui1126/ltp4j
ltp4j: Language Technology Platform For Java
我运行的是examples里面的Console.java, 一切都是按照http://ltp4j.readthedocs.io/en/neoltp4j/run.html#id3 中来的,但是不论是在命令行还是eclipse下,创建模型时都出错,输出乱码,请问是怎么回事?
若采用Release模式编译ltp,则Debug目录不存在,导致编译出错
执行上述第4步时报错:
Starting Core 7 with 13 source files...
[ERROR] In file included from ltp/src/srl/common/model/CNN1dLayerBuilder.cpp:5:
[ERROR] In file included from ltp/src/srl/common/model/CNN1dLayerBuilder.h:8:
[ERROR] In file included from ltp/src/srl/common/model/ModelBuilder.h:8:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/src/srl/common/model/AffineTransformModelBuilder.cpp:5:
[ERROR] In file included from ltp/src/srl/common/model/AffineTransformModelBuilder.h:8:
[ERROR] In file included from ltp/src/srl/common/model/./ModelBuilder.h:8:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/src/srl/Srl/model/SrlSrlModel.cpp:5:
[ERROR] In file included from ltp/src/srl/Srl/model/SrlSrlModel.h:10:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/common/model/SeqLabelModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/src/srl/SRL_DLL.cpp:2:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/DepSRL.h:20:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/Pi/model/SrlPiModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/common/model/PiSrlModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/common/model/SeqLabelModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/src/srl/DepSRL.cpp:12:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/DepSRL.h:20:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/Pi/model/SrlPiModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/common/model/PiSrlModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/src/srl/common/model/SeqLabelModel.h:9:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/cfsm-builder.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/cfsm-builder.h:7:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/init.cc:3:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/dynet.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/grad-check.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/grad-check.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/expr.h:21:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/devices.cc:5:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/hsm-builder.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/hsm-builder.h:7:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/fast-lstm.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/fast-lstm.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/deep-lstm.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/deep-lstm.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/model.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/expr.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/expr.h:21:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-contract.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes-contract.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/mp.cc:2:
[ERROR] In file included from ltp/thirdparty/dynet/dynet/mp.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/saxe-init.cc:2:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/exec.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/exec.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-common.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/gru.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/gru.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/graph.cc:2:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/param-nodes.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/param-nodes.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/tensor.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/treelstm.cc:5:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-conv2d.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes-conv.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/lstm.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/lstm.h:10:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/pretrain.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/pretrain.h:8:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-conv.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes-conv.h:4:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/shadow-params.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/rnn.cc:1:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/rnn.h:14:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/rnn-state-machine.cc:5:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/guanzhu/Mydoc/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[INFO] Core 1 interrupted
[INFO] Core 2 interrupted
[INFO] Core 3 interrupted
[INFO] Core 4 interrupted
[INFO] Core 5 interrupted
[INFO] Core 6 interrupted
[INFO] Core 7 interrupted
[INFO] 105 files were compiled.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 28.714 s
[INFO] Finished at: 2018-01-23T01:11:55+08:00
[INFO] Final Memory: 23M/384M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-compile (default-nar-compile) on project ltp4j: NAR: Compile failed: g++ failed with return code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
static SRL srl_a=new SRL();
srl_a.srl(words, pos, ners, heads_arcs, arcs, srls); 该行一直运行,不结束,不报错
其中参数words, pos, ners, heads_arcs, arcs已有值。
srls是待返回结果。定义如下
List<Pair<Integer, List<Pair<String, Pair<Integer, Integer>>>>> srls=new ArrayList<Pair<Integer, List<Pair<String, Pair<Integer, Integer>>>>>();
分词&词性识别都没有加载自定义词典的方法,请问java版本是否不支持自定义词典呢
您好,osx上面, C++的版本make是没有问题的,但是ltp4j的时候,make报错,错误信息如下:
[ 16%] Built target srl_jni
[ 25%] Linking CXX shared library libs/libparser_jni.dylib
Undefined symbols for architecture x86_64:
"parser_parse(void_, std::vector<std::string, std::allocatorstd::string > const&, std::vector<std::string, std::allocatorstd::string > const&, std::vector<int, std::allocator >&, std::vector<std::string, std::allocatorstd::string >&)", referenced from:
Java_edu_hit_ir_ltp4j_Parser_parse in parser_jni.cpp.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: ** [libs/libparser_jni.dylib] Error 1
make[1]: *** [CMakeFiles/parser_jni.dir/all] Error 2
make: *** [all] Error 2
MacdeMacBook-Pro:ltp4j mac$ make
Scanning dependencies of target srl_jni
[ 8%] Building CXX object CMakeFiles/srl_jni.dir/jni/srl_jni.cpp.o
/Users/mac/Documents/ltp4j/jni/srl_jni.cpp:2:10: fatal error: 'ltp/SRL_DLL.h'
file not found
^
1 error generated.
make[2]: *** [CMakeFiles/srl_jni.dir/jni/srl_jni.cpp.o] Error 1
make[1]: *** [CMakeFiles/srl_jni.dir/all]
Error occurred when compile c++ code, ltp/thirdparty/jsoncpp/src/lib_json/json_reader.cpp
For Linux
‘thread_local’ does not name a type
just try to use a compiler that supports c++11
For Mac
thread-local storage is not supported for the current target
ENV
Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/usr/include/c++/4.2.1
Apple LLVM version 7.0.2 (clang-700.1.81)
Target: x86_64-apple-darwin14.5.0
how to solve it? Any help will be appreicated
环境:
mac os 10.1.4.1
报错内容:
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.hit.ir.ltp4j:ltp4j:nar:0.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -----------------------< edu.hit.ir.ltp4j:ltp4j >-----------------------
[INFO] Building hitscir-ltp4j 0.1.0-SNAPSHOT
[INFO] --------------------------------[ nar ]---------------------------------
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j ---
[INFO] Using AOL: x86_64-MacOSX-gpp
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-download (default-nar-download) @ ltp4j ---
[INFO] Getting Nar dependencies
[INFO] Getting Nar dependencies
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-unpack (default-nar-unpack) @ ltp4j ---
[INFO] Getting Nar dependencies
[INFO] Unpacking 0 dependencies to /Users/zhangyanqi/javaProject/ltp4j/target/nar
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-gnu-configure (default-nar-gnu-configure) @ ltp4j ---
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-system-generate (default-nar-system-generate) @ ltp4j ---
[INFO] Generating /Users/zhangyanqi/javaProject/ltp4j/target/nar/nar-generated/edu/hit/ir/ltp4j/NarSystem.java
[INFO] Not using 'native-lib-loader' because it is not a dependency)
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-vcproj (default-nar-vcproj) @ ltp4j ---
[INFO]
[INFO] --- maven-resources-plugin:3.1.0:resources (default-resources) @ ltp4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/zhangyanqi/javaProject/ltp4j/src/main/resources
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-resources (default-nar-resources) @ ltp4j ---
[INFO] Copied 0 resources
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-gnu-resources (default-nar-gnu-resources) @ ltp4j ---
[INFO]
[INFO] --- maven-compiler-plugin:3.7.0:compile (default-compile) @ ltp4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /Users/zhangyanqi/javaProject/ltp4j/target/classes
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-javah (default-nar-javah) @ ltp4j ---
[INFO] Running /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javah compiler on 7 classes...
[INFO] + /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javah -classpath /Users/zhangyanqi/javaProject/ltp4j/target/classes -d /Users/zhangyanqi/javaProject/ltp4j/target/nar/javah-include edu.hit.ir.ltp4j.NarSystem edu.hit.ir.ltp4j.SplitSentence edu.hit.ir.ltp4j.Parser edu.hit.ir.ltp4j.Postagger edu.hit.ir.ltp4j.Segmentor edu.hit.ir.ltp4j.NER edu.hit.ir.ltp4j.SRL
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-gnu-make (default-nar-gnu-make) @ ltp4j ---
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-compile (default-nar-compile) @ ltp4j ---
[INFO] Compiling 331 native files
[INFO] Warning: clang cannot dynamically link libgcc
[INFO] Starting dependency analysis for 45 files.
[INFO] Error parsing /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/exception:java.io.FileNotFoundException: /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/exception (Is a directory)
[INFO] Error parsing /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/iterator:java.io.FileNotFoundException: /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/iterator (Is a directory)
[INFO] Error parsing /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/algorithm:java.io.FileNotFoundException: /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/algorithm (Is a directory)
[INFO] Error parsing /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/range/algorithm:java.io.FileNotFoundException: /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/range/algorithm (Is a directory)
[INFO] Error parsing /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/utility:java.io.FileNotFoundException: /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/utility (Is a directory)
[INFO] Error parsing /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/functional:java.io.FileNotFoundException: /Users/zhangyanqi/javaProject/ltp4j/target/nar/obj/x86_64-MacOSX-gpp/../../../../src/main/c++/ltp/thirdparty/boost/include/boost/functional (Is a directory)
[INFO] 45 files are up to date.
[INFO] 0 files to be recompiled from dependency analysis.
[INFO] 104 total files to be compiled.
[INFO] Found 8 processors available
[INFO]
Starting Core 0 with 13 source files...
[INFO]
Starting Core 1 with 13 source files...
[INFO]
Starting Core 2 with 13 source files...
[INFO]
Starting Core 3 with 13 source files...
[INFO]
Starting Core 4 with 13 source files...
0 / 104 [f[l1e;s34 mcIoNmFpOi[emd]. .
arting Core 5 with 13 source files...
[INFO]
Starting Core 6 with 13 source files...
[INFO]
Starting Core 7 with 13 source files...
[ERROR] In file included from ltp/src/srl/common/model/CNN1dLayerBuilder.cpp:5:
[ERROR] In file included from ltp/src/srl/common/model/AffineTransformModelBuilder.cpp:5:
[ERROR] In file included from ltp/src/srl/common/model/CNN1dLayerBuilder.h:8:
[ERROR] In file included from ltp/src/srl/common/model/AffineTransformModelBuilder.h:8:
[ERROR] In file included from ltp/src/srl/common/model/ModelBuilder.h:8:
[ERROR] In file included from ltp/src/srl/common/model/./ModelBuilder.h:8:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/src/srl/DepSRL.cpp:12:
[ERROR] In file included from ltp/src/srl/SRL_DLL.cpp:2:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/DepSRL.h:20:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/DepSRL.h:20:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/Pi/model/SrlPiModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/Pi/model/SrlPiModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/common/model/PiSrlModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/common/model/PiSrlModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/common/model/SeqLabelModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/common/model/SeqLabelModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] ^
[ERROR] In file included from ltp/src/srl/Srl/model/SrlSrlModel.cpp:5:
[ERROR] In file included from ltp/src/srl/Srl/model/SrlSrlModel.h:10:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/src/srl/common/model/SeqLabelModel.h:9:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/devices.cc:5:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/dynet.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/fast-lstm.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/fast-lstm.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/cfsm-builder.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/cfsm-builder.h:7:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/hsm-builder.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/hsm-builder.h:7:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/grad-check.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/grad-check.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/expr.h:21:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/deep-lstm.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/deep-lstm.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/mp.cc:2:
[ERROR] In file included from ltp/thirdparty/dynet/dynet/mp.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/exec.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/exec.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-conv2d.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes-conv.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/init.cc:3:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-common.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/expr.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/expr.h:21:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/param-nodes.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/param-nodes.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/graph.cc:2:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/tensor.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/model.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/gru.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/gru.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/rnn.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/rnn.h:14:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/pretrain.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/pretrain.h:8:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/model.h:18:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/lstm.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/lstm.h:10:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/shadow-params.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-contract.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes-contract.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] In file included from ltp/thirdparty/dynet/dynet/nodes-conv.cc:1:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/nodes-conv.h:4:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] 1 error generated.
[ERROR] In file included from ltp/thirdparty/dynet/dynet/rnn-state-machine.cc:5:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/dynet.h:19:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/dynet/dynet/tensor.h:34:
[ERROR] In file included from /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/Tensor:143:
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:39:7: error: class template partial specialization is not more specialized than the primary template [-Winvalid-partial-specialization]
[ERROR] class TensorStorage<T, FixedDimensions, Options_>
[ERROR] ^
[ERROR] /Users/zhangyanqi/javaProject/ltp4j/src/main/c++/ltp/thirdparty/eigen/unsupported/Eigen/CXX11/src/Tensor/TensorStorage.h:34:63: note: template is declared here
[ERROR] template<typename T, typename Dimensions, int Options_> class TensorStorage;
[ERROR] ^
[INFO] Core 1 interrupted
[INFO] Core 2 interrupted
[INFO] Core 3 interrupted
[INFO] Core 4 interrupted
[INFO] Core 5 interrupted
[INFO] Core 6 interrupted
[INFO] Core 7 interrupted
[INFO] 104 files were compiled.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 36.215 s
[INFO] Finished at: 2018-12-11T13:12:13+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-compile (default-nar-compile) on project ltp4j: NAR: Compile failed: g++ failed with return code 1 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
NarSystem这个文件找不到
MacOS 10.13.4系统下运行srl demo提示:
java.lang.UnsatisfiedLinkError: edu.hit.ir.ltp4j.SRL.srl(Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;Ljava/util/List;)
请问如何解决?谢谢!
google得知,此处问题应该提示没有link,在xml表显示加入g++后仍不work。
倘若在Developer command prompt for vs2017运行,会提示:
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: msvc.windowsSdkVersion not specified and versions cannot be found -> [Help 1]
"cmake ."命令可以成功运行,但是make命令报错,请问一下,这是怎么回事?
@carfly @Oneplus @jiangfeng1124 @endyul
import java.util.ArrayList;
import java.util.List;
import edu.hit.ir.ltp4j.*;
public class Ltp4jTest {
public static void main(String[] args) {
// 分词
if (Segmentor.create("/Users/mac/Documents/ltp-3.3.2/ltp_data/cws.model") < 0) {
System.err.println("load failed");
return;
}
String sent = "国务院总理李克强调研上海外高桥时提出,支持上海积极探索新机制。";
List<String> words = new ArrayList<String>();
int size = Segmentor.segment(sent, words);
for (int i = 0; i < size; i++) {
System.out.print(words.get(i));
if (i == size - 1) {
System.out.println();
} else {
System.out.print(" | ");
}
}
Segmentor.release();
// 词性标注
if (Postagger.create("/Users/mac/Documents/ltp-3.3.2/ltp_data/pos.model") < 0) {
System.err.println("load failed");
return;
}
List<String> postags = new ArrayList<String>();
size = Postagger.postag(words, postags);
for (int i = 0; i < size; i++) {
System.out.print(words.get(i) + "/" + postags.get(i));
if (i == size - 1) {
System.out.println();
} else {
System.out.print(" | ");
}
}
Postagger.release();
// 命名实体识别
if (NER.create("/Users/mac/Documents/ltp-3.3.2/ltp_data/ner.model") < 0) {
System.err.println("load failed");
return;
}
List<String> ners = new ArrayList<String>();
NER.recognize(words, postags, ners);
for (int i = 0; i < ners.size(); i++) {
if (!"O".equals(ners.get(i)))
System.out.println(ners.get(i));
}
NER.release();
// 依存句法分析
if (Parser.create("/Users/mac/Documents/ltp-3.3.2/ltp_data/parser.model") < 0) {
System.err.println("load failed");
return;
}
List<Integer> heads = new ArrayList<Integer>();
List<String> deprels = new ArrayList<String>();
size = Parser.parse(words, postags, heads, deprels);
for (int i = 0; i < size; i++) {
System.out.print(heads.get(i) + ":" + deprels.get(i));
if (i == size - 1) {
System.out.println();
} else {
System.out.print(" ");
}
}
Parser.release();
// 语义角色标注
SRL.create("/Users/mac/Documents/ltp-3.3.2/ltp_data/srl");
List<Pair<Integer, List<Pair<String, Pair<Integer, Integer>>>>> srls = new ArrayList<Pair<Integer, List<Pair<String, Pair<Integer, Integer>>>>>();
SRL.srl(words, postags, ners, heads, deprels, srls);
System.out.println(words);
System.out.println(postags);
System.out.println(ners);
System.out.println(heads);
System.out.println(deprels);
System.out.println(srls.size());
for (int i = 0; i < srls.size(); ++i) {
System.out.println(srls.get(i).first + ":");
for (int j = 0; j < srls.get(i).second.size(); ++j) {
System.out.println(" tpye = " + srls.get(i).second.get(j).first + " beg = "
+ srls.get(i).second.get(j).second.first + " end = " + srls.get(i).second.get(j).second.second);
}
}
SRL.release();
}
}
百度云盘的模型文件下载不了
RT,新的版本3.3.1可以导入模型,但是无结果输出,是否需要更新接口?
测试数据:"我是**xx大学的。\n一名学生。"
测试流程: Split_sentences -> cws -> pos -> ner
测试结果:其他流程都没问题,但是词性标注有问题,错误如下
本机测试的错误信息,ubuntu14.04, 32位, g++ 4.8.2
我是**人民大学的。
一名学生。
我是**人民大学的。
[我, 是, **, 人民, 大学, 的, 。]
[r, v, ns, n, n, u, wp]
[O, O, B-Ni, I-Ni, E-Ni, O, O]
[]
[]
#
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x86f168ee, pid=8015, tid=3061234496
#
# JRE version: Java(TM) SE Runtime Environment (8.0_60-b27) (build 1.8.0_60-b27)
# Java VM: Java HotSpot(TM) Server VM (25.60-b23 mixed mode linux-x86 )
# Problematic frame:
# C [libner.so.0.0.2+0x68ee]*** Error in `java': malloc(): corrupted unsorted chunks 2: 0x872ffbc8 ***
[1] 8015 abort (core dumped) java -cp .:/home/yomin/workspace/test/lib/ltp4j.jar test.welcome
服务器测试错误,ubuntu14.04, 64位, g++ 4.8.5
# A fatal error has been detected by the Java Runtime Environment:
#
# SIGSEGV (0xb) at pc=0x00007ff1490b9572, pid=5665, tid=140676095026944
#
# JRE version: Java(TM) SE Runtime Environment (8.0_73-b02) (build 1.8.0_73-b02)
# Java VM: Java HotSpot(TM) 64-Bit Server VM (25.73-b02 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# C [libner.so.0.0.2+0x8572] __ltp_dll_ner_wrapper::recognize(std::vector<std::string, std::allocator<std::string> > const&, std::vector<std::string, std::allocator<std::string> > const&, std::vector<std::string, std::allocator<std::string> >&)+0x1112
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
# If you would like to submit a bug report, please visit:
# http://bugreport.java.com/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
貌似是libner.so的问题,然后用命令ltp_test去测试貌似没问题。
基于LTP 3.4.0编译的LTP4J,编译好后按照教程建立eclipse下的java工程,简单测试函数功能,ner/pos/parser/seg正常运行,srl在create时抛错(采用的新版pisrl_win.model)。
错误异常如下:
A fatal error has been detected by the Java Runtime Environment:
EXCEPTION_UNCAUGHT_CXX_EXCEPTION (0xe06d7363) at pc=0x000007fefd04a06d, pid=12656, tid=0x00000000000039d8
JRE version: Java(TM) SE Runtime Environment (8.0_161-b12) (build 1.8.0_161-b12)
Java VM: Java HotSpot(TM) 64-Bit Server VM (25.161-b12 mixed mode windows-amd64 compressed oops)
Problematic frame:
C [KERNELBASE.dll+0x1a06d]
Failed to write core dump. Minidumps are not enabled by default on client versions of Windows
An error report file with more information is saved as:
E:\WORKSPACE\LTP_new_version\hs_err_pid12656.log
If you would like to submit a bug report, please visit:
http://bugreport.java.com/bugreport/crash.jsp
The crash happened outside the Java Virtual Machine in native code.
See problematic frame for where to report the bug.
如题,
libner_jni.so libparser_jni.so libpostagger_jni.so libsegmentor_jni.so libsplit_sentence_jni.so libsrl_jni.so
x86和x86_64
Windows10 安装了vc 2017
maven3.1.1 jdk1.8
git clone https://github.com/HIT-SCIR/ltp4j.git
cd ltp4j
git checkout neoltp4j
git submodule init
git submodule update
按步骤执行,执行了好几次命令行报错如下,麻烦哪位能给个建议
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: Could not launch cmd.exe /X /C "link /?": Error while executing process. Cannot run program "link": CreateProcess error=2, 系统找不到指定的文件。 -> [Help 1]
D:\work\LTP\ltp4j\ltp4j>mvn -Dmaven.test.skip=true
[WARNING]
[WARNING] Some problems were encountered while building the effective settings
[WARNING] Unrecognised tag: 'mirror' (position: START_TAG seen ... -->\n... @172:9) @ D:\work\utils\apache-maven-3.1.1\bin..\conf\settings.xml, line 172, column 9
[WARNING]
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.hit.ir.ltp4j:ltp4j:nar:0.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hitscir-ltp4j 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.744s
[INFO] Finished at: Tue Jun 05 23:21:01 CST 2018
[INFO] Final Memory: 9M/151M
[INFO] ------------------------------------------------------------------------
[WARNING] The requested profile "nexus" could not be activated because it does not exist.
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: Could not launch cmd.exe /X /C "link /?": Error while executing process. Cannot run program "link": CreateProcess error=2, 系统找不到指定的文件。 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] ###http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
D:\work\LTP\ltp4j\ltp4j>
#23
#linux是64位的,libsegmentor_jni.so文件已经复制到/usr/lib下去了。
Exception in thread "main" java.lang.UnsatisfiedLinkError: /usr/lib/libsegmentor_jni.so: libsegmentor.so.0.1.0: cannot open shared object file: No such file or directory
at java.lang.ClassLoader$NativeLibrary.load(Native Method)
at java.lang.ClassLoader.loadLibrary1(ClassLoader.java:1965)
at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1890)
at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1880)
at java.lang.Runtime.loadLibrary0(Runtime.java:849)
at java.lang.System.loadLibrary(System.java:1088)
at edu.hit.ir.ltp4j.Segmentor.(Unknown Source)
at sentiment.edu.hit.scir.ltp.IRLTP.(IRLTP.java:19)
at sentiment.edu.hit.scir.ltp.LinuxWordSeg.(LinuxWordSeg.java:11)
at sentiment.edu.hit.scir.ltp.LTP_CutWords_File.cutwords_file_weibo(LTP_CutWords_File.java:52)
at cn.edu.hit.ir.EmotionClassification.classifiy(EmotionClassification.java:48)
如题,外部词典如何添加
看log是java.lang.UnsatisfiedLinkError: no ltp4j-1.0.0 in java.library.path
但是nar的log里是有设置DYLD_LIBRARY_PATH
[DEBUG] Setting environment variable [DYLD_LIBRARY_PATH]=[/Users/Oliver/Development/ltp4j/target/nar/ltp4j-1.0.0-x86_64-MacOSX-gpp-jni/lib/x86_64-MacOSX-gpp/jni]
查了下似乎是El Capitan中开启了SIP后,导致DYLD_LIBRARY_PATH
失效。
oracle/node-oracledb#149
http://stackoverflow.com/questions/37320489/dyld-library-path-with-current-mac-os-x-is-not-working
oracle/node-oracledb#231
一直报
[WARNING] 2017-05-24 18:39:08 line 1: postag "" not exist.
错误
切词仍然不行,生僻字的组合都没有效果。可以给出一个加入外部词典后有效果的例子么?
我尝试把ltp4j用appveyor做ci,但是一直失败。在appveyor上debug了一下,发现问题在于多vs系统下nar-maven会使用vs 9.0和winsdk 8.1配合,实际两者不兼容,结果就ci fail了。
Hello,文档中没有给出具体过程,这一块的知识也不太熟悉。
请问:
添加完LD_LIBRARY_PATH路径之后,命令行编译运行的流程是什么,可以解答一下么?
错误是:“E:\NLP\ltp\segmentor_jni.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform”
请问如何才能配置才能正确在64位机器上使用呢?
在python中,调用c++扩展程序,每句话不到1ms
在java中,通过jni调用c++,每句话需要16ms
分词和词性标注,速度还是可以的。
请问这是什么原因呢?
通过 maven 编译出的
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 25.920 s
[INFO] Finished at: 2019-10-11T15:01:45+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: Could not launch cmd.exe /X /C "link /?": Error while executing process. Cannot run program "link": CreateProcess error=2, 系统找不到指定的文件。 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
G:\workspace-ltp\ltp4j>mvn -Dmaven.test.skip=true
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.hit.ir.ltp4j:ltp4j:nar:0.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] -----------------------< edu.hit.ir.ltp4j:ltp4j >-----------------------
[INFO] Building hitscir-ltp4j 0.1.0-SNAPSHOT
[INFO] --------------------------------[ nar ]---------------------------------
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j ---
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.539 s
[INFO] Finished at: 2019-10-11T15:23:58+08:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) on project ltp4j: Could not launch cmd.exe /X /C "link /?": Error while executing process. Cannot run program "link": CreateProcess error=2, 系统找不到指定的文件。 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for edu.hit.ir.ltp4j:ltp4j:nar:0.1.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-compiler-plugin is missing. @ line 54, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
[WARNING]
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building hitscir-ltp4j 0.1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-validate (default-nar-validate) @ ltp4j ---
[INFO] Using AOL: x86_64-MacOSX-gpp
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-download (default-nar-download) @ ltp4j ---
[INFO] Getting Nar dependencies
[INFO] Getting Nar dependencies
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-unpack (default-nar-unpack) @ ltp4j ---
[INFO] Getting Nar dependencies
[INFO] Unpacking 0 dependencies to /Users/zxy/study/ltp/ltp4j/target/nar
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-gnu-configure (default-nar-gnu-configure) @ ltp4j ---
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-system-generate (default-nar-system-generate) @ ltp4j ---
[INFO] Generating /Users/zxy/study/ltp/ltp4j/target/nar/nar-generated/edu/hit/ir/ltp4j/NarSystem.java
[INFO] Not using 'native-lib-loader' because it is not a dependency)
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-vcproj (default-nar-vcproj) @ ltp4j ---
[INFO]
[INFO] --- maven-resources-plugin:3.0.2:resources (default-resources) @ ltp4j ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory /Users/zxy/study/ltp/ltp4j/src/main/resources
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-resources (default-nar-resources) @ ltp4j ---
[INFO] Copied 0 resources
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-gnu-resources (default-nar-gnu-resources) @ ltp4j ---
[INFO]
[INFO] --- maven-compiler-plugin:3.6.0:compile (default-compile) @ ltp4j ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 8 source files to /Users/zxy/study/ltp/ltp4j/target/classes
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-javah (default-nar-javah) @ ltp4j ---
[INFO] Running /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/javah compiler on 7 classes...
[INFO] + /Library/Java/JavaVirtualMachines/jdk1.8.0_101.jdk/Contents/Home/bin/javah -classpath /Users/zxy/study/ltp/ltp4j/target/classes -d /Users/zxy/study/ltp/ltp4j/target/nar/javah-include edu.hit.ir.ltp4j.NarSystem edu.hit.ir.ltp4j.SplitSentence edu.hit.ir.ltp4j.Postagger edu.hit.ir.ltp4j.Parser edu.hit.ir.ltp4j.Segmentor edu.hit.ir.ltp4j.NER edu.hit.ir.ltp4j.SRL
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-gnu-make (default-nar-gnu-make) @ ltp4j ---
[INFO]
[INFO] --- nar-maven-plugin:3.5.0:nar-compile (default-nar-compile) @ ltp4j ---
[INFO] Compiling 6 native files
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 3.560 s
[INFO] Finished at: 2017-01-12T20:08:50+08:00
[INFO] Final Memory: 19M/207M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal com.github.maven-nar:nar-maven-plugin:3.5.0:nar-compile (default-nar-compile) on project ltp4j: NAR: Include path not found: com.github.maven_nar.IncludePath@37b57b54 -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
zxydeMacBook-Pro:ltp4j zxy$ find target/ -type f -name ".jar" -or -name ".so"
zxydeMacBook-Pro:ltp4j zxy$ find target/ -type f -name ".jar" -or -name ".so"
zxydeMacBook
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.