EasyPR icon indicating copy to clipboard operation
EasyPR copied to clipboard

编译错误 expected primary-expression before ‘>’ token

Open chess99 opened this issue 7 years ago • 1 comments

I'm submitting a ... (check one with "x")

[ ] bug report
[ x ] help wanted
[ ] feature request

Current behavior 编译EasyPR, 使用OpenCv 3.4.1 和 OpenCv 3.2.0都出现了以下错误:

/home/xxx/EasyPR/include/easypr/config.h:143:42: error: expected primary-expression before ‘>’ token
     model = ml::ANN_MLP::load<ml::ANN_MLP>(path);

OpenCv是按照如下命令编译的 cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/usr/local ..

Expected/desired behavior

Reproduction of the problem

If the current behavior is a bug or you can illustrate your feature request better with an example, please provide the steps to reproduce.

What is the expected behavior?

What is the motivation / use case for changing the behavior?

Please tell us about your environment:

  • System: Ubuntu 16.04

  • Compiler version/IDE: gcc 5.4.0

  • CMake version: 3.5.1

  • OpenCV version: [3.4.1 | 3.2.0 ]

chess99 avatar Mar 03 '18 18:03 chess99

主页有说明

dirtycold avatar Mar 29 '18 07:03 dirtycold