Coder Social home page Coder Social logo

Comments (4)

HSZemi avatar HSZemi commented on July 27, 2024

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.

BenjaminHau avatar BenjaminHau commented on July 27, 2024

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.

HSZemi avatar HSZemi commented on July 27, 2024

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.

BenjaminHau avatar BenjaminHau commented on July 27, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.