mariusmm / RISC-V-TLM

RISC-V SystemC-TLM simulator
GNU General Public License v3.0
278 stars 72 forks source link

Incorrect `spdlog` Git Submodule Configuration #18

Closed AmeyaVS closed 1 year ago

AmeyaVS commented 1 year ago

Describe the bug A clear and concise description of what the bug is. The repo has submodule configuration but it seems the submodule spdlog has been incorrectly configured. To Reproduce Steps to reproduce the behavior:

  1. Clone the repo.
  2. try initializing the repo with submodule
    git submodule init
  3. Try Doing a submodule update
    git submodule update --init --recursive
    # This command does nothing.
  4. Try and Build the project.

    Unable to locate spdlogConfig.cmake
    -- Found Threads: TRUE  
    CMake Error at CMakeLists.txt:28 (find_package):
    Could not find a package configuration file provided by "spdlog" with any
    of the following names:
    
    spdlogConfig.cmake
    spdlog-config.cmake
    
    Add the installation prefix of "spdlog" to CMAKE_PREFIX_PATH or set
    "spdlog_DIR" to a directory containing one of the above files.  If "spdlog"
    provides a separate development package or SDK, be sure it has been
    installed.

Expected behavior The repo should be able to build from sources.

Desktop (please complete the following information):

AmeyaVS commented 1 year ago

Closing the issue as the changes are already merged in #19 .