yanyiwu / cppjieba

"结巴"中文分词的C++版本
MIT License
2.58k stars 691 forks source link

mingw 跑测试失败 #140

Closed TangMonk closed 3 weeks ago

TangMonk commented 4 years ago
PS C:\Users\wuao\cppjieba\build2> mingw32-make.exe test
Running tests...
Test project C:/Users/wuao/cppjieba/build2
    Start 1: ./test/test.run
1/3 Test #1: ./test/test.run ..................***Exception: SegFault  0.07 sec
    Start 2: ./load_test
2/3 Test #2: ./load_test ......................***Exception: SegFault  0.05 sec
    Start 3: ./demo
3/3 Test #3: ./demo ...........................***Exception: SegFault  0.02 sec

0% tests passed, 3 tests failed out of 3

Total Test time (real) =   0.17 sec

The following tests FAILED:
          1 - ./test/test.run (SEGFAULT)
          2 - ./load_test (SEGFAULT)
          3 - ./demo (SEGFAULT)
Errors while running CTest
Makefile:88: recipe for target 'test' failed
mingw32-make: *** [test] Error 8

执行 ./demo.exe 后也没反应

TangMonk commented 4 years ago

在win10的Ubuntu WSL上测试了下,能跑。看来对WIndows不是太友好啊,VS2019也不能编译

github-actions[bot] commented 1 month ago

This issue has not been updated for over 1 year and will be marked as stale. If the issue still exists, please comment or update the issue, otherwise it will be closed after 7 days.

github-actions[bot] commented 3 weeks ago

This issue has been automatically closed due to inactivity. If the issue still exists, please reopen it.