Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build error on linux #51

Open
ayaankhan98 opened this issue Oct 23, 2023 · 1 comment
Open

build error on linux #51

ayaankhan98 opened this issue Oct 23, 2023 · 1 comment

Comments

@ayaankhan98
Copy link

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

@tzsz0
Copy link

tzsz0 commented Dec 5, 2023

Hey,
it looks like you forgot to update the submodule.
Please run
git submodule update --init --recursive
and try again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants