ggerganov / imtui

ImTui: Immediate Mode Text-based User Interface C++ Library
https://imtui.ggerganov.com
MIT License
3.04k stars 127 forks source link

cmake error linux #36

Closed 0xtrzy closed 2 years ago

0xtrzy commented 2 years ago

`-- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed -- Looking for pthread_create in pthreads -- Looking for pthread_create in pthreads - not found -- Looking for pthread_create in pthread -- Looking for pthread_create in pthread - found -- Found Threads: TRUE
-- Found CURL: /usr/lib64/libcurl.so (found version "7.69.1")
-- Configuring done 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 .m .M .mm .h .hh .h++ .hm .hpp .hxx .in .txx

CMake Error at third-party/CMakeLists.txt:15 (add_library): No SOURCES given to target: imgui-for-imtui

CMake Generate step failed. Build files cannot be regenerated correctly.`

ggerganov commented 2 years ago

Most likely you forgot to run git submodule update --init in order to checkout the imgui git submodule

ggerganov commented 2 years ago

Feel free to reopen this if the issue persists