thunlp / NRE

Neural Relation Extraction, including CNN, PCNN, CNN+ATT, PCNN+ATT
MIT License
810 stars 309 forks source link

train.cpp: error: reference to 'end' is ambiguous #19

Open sylviawangfr opened 6 years ago

sylviawangfr commented 6 years ago

train.cpp: error: reference to 'end' is ambiguous

error message appears when compile. Please take a look at the screenshot.

Environment: Mac Apple LLVM version 8.1.0 (clang-802.0.42)

screen shot 2018-02-19 at 20 03 16
sylviawangfr commented 6 years ago

I changed the variable names and got it compiled, but running ./train returned 'Segmentation faults'.

Mrlyk423 commented 6 years ago

You may check if the data location is correct?

bigrat911 commented 6 years ago

got the same ERROR on Mac, Apple LLVM version 9.0.0 (clang-900.0.39.2)

HuaYZhao commented 5 years ago

I also met the same ERROR on my Mac(Mojave) changed variable names and compiled successfully, then broken in ./train with the same ERROR following @sylviawangfr image

yu-andy commented 4 years ago

Still encountering this error on Mac, Apple LLVM version 10.0.0 (clang-1000.10.44.4). Changed variable names which resulted in a segmentation fault when running ./train

I'm wondering if this implementation is compatible with Mac OS?