facebookarchive / nuclide

An open IDE for web and native mobile development, built on top of Atom
https://nuclide.io
Other
7.79k stars 682 forks source link

Nuclide should check clang version #452

Open ghost opened 8 years ago

ghost commented 8 years ago

Issue and Steps to Reproduce

ERROR (pid:29777) nuclide - Error receiving data clang.cindex.LibclangError: /usr/local/lib/libclang.so: undefined symbol: clang_CXXMethod_isPureVirtual. Please ensure that your python bindings are compatible with your libclang.so version.

I checked my libclang version to be 3.3, and there is not symbol clang_CXXMethod_isPureVirtual in the shared library.

I fixed this by installing clang 3.7.

Expected Behavior

be able to navigate code. (C++)

Actual Behavior

Nothing happened, no reference jumping, no linter, nothing.

Versions

zertosh commented 8 years ago

cc: @hansonw

ghost commented 8 years ago

Just updated the subject.

The error was from logs, and the client was not notified by anything.

hansonw commented 8 years ago

Thanks for trying us out! We should definitely do this. In the meantime, I'll at least update the docs to indicate that this is a requirement.