Comments (4)
There is a genieutils update required to work with dat files from the latest patch. I just pushed the necessary changes.
If you run git pull --recurse-submodules
in your checkout, it should pull the change and update the genieutils submodule, and compilation and application should work again.
from auto-mods.
Thanks a lot!
I haven't managed to build yet. First I had to install liblz4 using sudo apt-get install liblz4-dev
, but I still get the error:
auto-mods/genieutils/src/resource/SlpFile.cpp:91:22: error: ‘LZ4_decompress_safe’ was not declared in this scope
unpack_count = LZ4_decompress_safe(reinterpret_cast<const char *>(input.data()),
I double checked and my lz4 version (0.0~r131-2ubuntu3.1) seems to be the newest, so I don't understand this error. Does it build for you?
from auto-mods.
I just followed the instructions from the README in a new checkout and it built for me.
If you are reusing your old build
folder, that one probably contains a configuration for which LZ4 has not been included when it was created, so the required headers cannot be found during build time.
This issue would be solved by deleting the build
folder and executing the commands for compiling again from the start.
The liblz4-dev
is indeed still missing from the build instructions, I will add it. Thanks!
from auto-mods.
I have finally managed to build and execute successfully!
I fixed the problem with the file at auto-mods/genieutils/src/resource/SlpFile.cpp:91 by adding the line #include "lz4.h"
after #include "lz4hc.h"
.
LZ4_decompress_safe is declared in lz4.h, which is also included in lz4hc.h so I have no idea why I got that error, but I'd bet that the extern "C"
has something to do with it.
I really don't understand why it worked for you but not for me also. Anyway, I'm on the right track now, thank you so much!
from auto-mods.
Related Issues (17)
- Cannot be compiled on modern Ubuntu versions HOT 7
- How do I run this with a debugger? HOT 5
- Random cost mod discussion HOT 7
- (Suggestion) Add 50x mod HOT 1
- [Critical] None of the xtech mod work on latest (Update 51737) HOT 1
- x256 mod crashes when you queue a technology after itself HOT 1
- [9x Tech Mod] Level Hoardings destroys all castle when all University tech is done HOT 2
- [Teamwork] Byzantine castle HP overflow and trade carts getting stuck
- [Teamwork] Guilds and saracen market bonus
- New Civs don't have 9X Castle Techs HOT 1
- Burgundians - subsequent tech researches are not 33% cheaper food HOT 2
- Bengalis Castle techs not 9x researchable
- [9x Tech Mod] Economic techs are not repeatable from Mule Cart HOT 2
- [9x Tech Mod] Researching supplies twice crashes game
- Make auto mods more auto HOT 2
- CI/CD - Github Actions HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from auto-mods.