dstep icon indicating copy to clipboard operation
dstep copied to clipboard

Undefined symbol: clang_getEnumConstantDeclValue when running dstep

Open nomad-software opened this issue 12 years ago • 5 comments

I followed all the build steps and get:

./dstep: symbol lookup error: ./dstep: undefined symbol: clang_getEnumConstantDeclValue

when i run the dstep binary.

nomad-software avatar Nov 14 '13 20:11 nomad-software

Which version of libclang are you using?

jacob-carlborg avatar Nov 14 '13 20:11 jacob-carlborg

I compiled it using this guide: https://github.com/jacob-carlborg/dstep#libclang So i guess 3.1.

nomad-software avatar Nov 14 '13 21:11 nomad-software

Could you try a pre-compiled library or binary?

jacob-carlborg avatar Nov 14 '13 21:11 jacob-carlborg

I tried the pre-built binaries and get:

File(77E2D8, "")/usr/include/x86_64-linux-gnu/sys/types.h:147:10: fatal error: 'stddef.h' file not found

nomad-software avatar Nov 14 '13 22:11 nomad-software

Yeah, unfortunately that is expected for some includes. Please see the readme how to solve this: https://github.com/jacob-carlborg/dstep#libclang.

jacob-carlborg avatar Nov 15 '13 08:11 jacob-carlborg