imtui
imtui copied to clipboard
build error on linux
unable to build on linux following instructions in README
- already installed ncurses
- mkdir build
- cd build
- cmake ..
it throws the following error, unable to find third party lib headers DearImGUI
$ cmake .. [19:52:07]
-- The C compiler identification is GNU 13.2.1
-- The CXX compiler identification is GNU 13.2.1
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/bin/cc - skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Found Git: /usr/bin/git (found version "2.42.0")
-- Found Curses: /usr/lib/libcurses.so
-- Looking for nodelay in /usr/lib/libncurses.so
-- Looking for nodelay in /usr/lib/libncurses.so - found
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD
-- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Success
-- Found Threads: TRUE
-- Found CURL: /usr/lib/libcurl.so (found version "8.3.0")
-- Configuring done (1.4s)
CMake Error at third-party/CMakeLists.txt:15 (add_library):
Cannot find source file:
imgui/imgui/imgui.cpp
Tried extensions .c .C .c++ .cc .cpp .cxx .cu .mpp .m .M .mm .ixx .cppm
.ccm .cxxm .c++m .h .hh .h++ .hm .hpp .hxx .in .txx .f .F .for .f77 .f90
.f95 .f03 .hip .ispc
CMake Error at third-party/CMakeLists.txt:15 (add_library):
No SOURCES given to target: imgui-for-imtui