Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

maven安装失败 #44

Open
freestyledash opened this issue Dec 11, 2018 · 1 comment
Open

maven安装失败 #44

freestyledash opened this issue Dec 11, 2018 · 1 comment

Comments

@freestyledash
Copy link

环境:
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

@910408560
Copy link

我也是mvn失败了
报错:
zhang@DESKTOP-MFAC90S MINGW64 /d/Git/ltp4j (master)
$ mvn
[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: 6.765 s
[INFO] Finished at: 2019-04-29T10:12:51+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: msvc.version not specified and no VSCOMNTOOLS environment variable can be found -> [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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants