Skip to content

How to set up on Windows + Unreal Engine #195

@vladinator1000

Description

@vladinator1000

Hi folks, I'm a C++ noob, I was impressed by the library because I'm familiar with the pattern from web development. I also love making games in Unreal Engine and was hoping to use Lager, but I'm having trouble including the library.

  1. Created an unreal module following these instructions: https://youtu.be/wJquw_-X4YQ
  2. Cloned Lager within my project
  3. Included something from Lager
devenv_2ChEUX55JD
  1. It wouldn't build because of a missing dependency
devenv_hO6QpsErqh
  1. Went to the readme to look for install instructions, looks like they were for linux so I had to improvise
firefox_pJyvrN8Xuu
  1. Navigated to the cloned Lager root directory and ran
cmake .
  1. Then got this error
-- Could not find ccache
-- Disabling compile-time checks for store dependencies
CMake Error at C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
  Could NOT find Boost (missing: Boost_INCLUDE_DIR system) (Required is at
  least version "1.56")
Call Stack (most recent call first):
  C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.26/Modules/FindPackageHandleStandardArgs.cmake:600 (_FPHSA_FAILURE_MESSAGE)
  C:/Program Files/Microsoft Visual Studio/2022/Community/Common7/IDE/CommonExtensions/Microsoft/CMake/CMake/share/cmake-3.26/Modules/FindBoost.cmake:2377 (find_package_handle_standard_args)
  CMakeLists.txt:72 (find_package)
-- Configuring incomplete, errors occurred!

Do you have any tips on how I can make this work?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions