Skip to content
This repository has been archived by the owner on Sep 28, 2021. It is now read-only.

panel.h not found #19

Closed
gijsbers opened this issue Apr 10, 2019 · 2 comments
Closed

panel.h not found #19

gijsbers opened this issue Apr 10, 2019 · 2 comments

Comments

@gijsbers
Copy link

Not sure if this belongs here. Seems to work fine until the very end where I get:

[ 74%] Building CXX object tools/lldb/source/Core/CMakeFiles/lldbCore.dir/IOHandler.cpp.o
/opt/llvm/src/llvm/tools/lldb/source/Core/IOHandler.cpp:14:10: fatal error: 'panel.h' file not found
#include <panel.h>
         ^~~~~~~~~
1 error generated.
make[2]: *** [tools/lldb/source/Core/CMakeFiles/lldbCore.dir/build.make:447: tools/lldb/source/Core/CMakeFiles/lldbCore.dir/IOHandler.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:65074: tools/lldb/source/Core/CMakeFiles/lldbCore.dir/all] Error 2
make: *** [Makefile:152: all] Error 2
===
=== Failed building LLVM/clang at stage 2
===

panel.h is present:

$ locate panel.h
/usr/include/ncurses/panel.h
/usr/include/ncursesw/panel.h
$ /opt/llvm/bin/clang++ --version
clang version 8.0.1 (https://github.com/llvm-mirror/clang.git 29cb26a72b28cbb5ba43e67aecb3a8cf2b01fee0) (https://github.com/llvm-mirror/llvm.git 18e41dc964f916504ec90dba523826ac74d235c4)
Target: x86_64-suse-linux
Thread model: posix
InstalledDir: /opt/llvm/bin

Thanks for this tool!

@rsmmr
Copy link
Owner

rsmmr commented Apr 11, 2019

Probably more a OS/lldb issue, but you could try setting CXXFLAGS='-I /usr/include/ncurses'.

@rsmmr
Copy link
Owner

rsmmr commented Aug 5, 2019

Closing, maybe give the new version for clang 9.0 a try if still an issue.

@rsmmr rsmmr closed this as completed Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants