Hi y’all!
Lager is a a third party C++ library for value-oriented design , using the unidirectional data-flow architecture . It is heavily inspired by Elm and Redux , and enables composable designs by promoting the use of simple value types and testable application logic via pure functions. You also get time-travel for free!
Here’s a cool talk about it from the author: https://youtu.be/_oBx_NbLghY
I think this would be great for games where the order of things that happen matters. Would you be interested in contributing to getting Lager to run in UE?
I have this ongoing issue (and a rough work in progress repository). Trying to get it to work without much luck so far:
opened 05:34AM - 01 Sep 23 UTC
help wanted
question
Hi folks, I'm a C++ noob, I was impressed by the library because I'm familiar wi… th 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
<img width="819" alt="devenv_2ChEUX55JD" src="https://github.com/arximboldi/lager/assets/1226564/9bc025a8-1ea4-4f62-9878-02f2ee817f48">
4. It wouldn't build because of a missing dependency
<img width="319" alt="devenv_hO6QpsErqh" src="https://github.com/arximboldi/lager/assets/1226564/b8e1e88c-0c1b-4e35-a686-c3235fcdde73">
5. Went to the readme to look for install instructions, looks like they were for linux so I had to improvise
<img width="662" alt="firefox_pJyvrN8Xuu" src="https://github.com/arximboldi/lager/assets/1226564/8e1cc058-1186-4ef5-a8e0-df48865f5f01">
6. Navigated to the cloned Lager root directory and ran
```
cmake .
```
7. 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?