oxen-io / lokinet

Lokinet is an anonymous, decentralized and IP based overlay network for the internet.
https://lokinet.org/
GNU General Public License v3.0
1.71k stars 221 forks source link

unable to build with cmake from source #2172

Closed longyap closed 1 year ago

longyap commented 1 year ago

Describe the bug A clear and concise description of what the bug is. for some reason it broke after git submodule update To Reproduce Steps to reproduce the behavior:

  1. git clone https://github.com/oxen-io/lokinet
  2. cd lokinet
  3. mkdir build 4.cd build
  4. cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
  5. display CMake Error at external/CMakeLists.txt:12 (message): Submodule 'external/nlohmann' is not up-to-date.
    1. git submodule update --init --recursive
    2. cmake .. -DCMAKE_BUILD_TYPE=Release -DBUILD_SHARED_LIBS=OFF
  6. make Screenshots Or Logs If applicable, add screenshots or log files to help explain your problem. before git submodule update image https://pastebin.com/TJ7M4hVr after git submodule update https://pastebin.com/5vXBZSku image https://pastebin.com/R0V42drD Device and Operating system (please complete the following information):
    • OS: arch linux 6.3.1-zen1
    • Device: PC
    • Lokinet Version number or Git commit hash: latest
longyap commented 1 year ago

adding include cstdint at the queue_manager.hpp will solve the issue image

majestrate commented 1 year ago

very good find, do you think you can make a PR that adds that one line change? i can merge it once it passes review by others and a check from CI.