Giter Site home page Giter Site logo

Build issue on Linux about bunnymodxt HOT 3 CLOSED

szymex73 avatar szymex73 commented on May 20, 2024
Build issue on Linux

from bunnymodxt.

Comments (3)

szymex73 avatar szymex73 commented on May 20, 2024

I fixed that error by installing g++-multilib but another error showed up:

[ 32%] Building CXX object CMakeFiles/BunnymodXT.dir/SPTLib/IHookableModule.cpp.o
In file included from /home/szymex/BunnymodXT/SPTLib/MemUtils.hpp:3:0,
                 from /home/szymex/BunnymodXT/SPTLib/IHookableModule.hpp:7,
                 from /home/szymex/BunnymodXT/SPTLib/IHookableModule.cpp:3:
/home/szymex/BunnymodXT/SPTLib/patterns.hpp: In function ‘constexpr std::size_t patterns::count_bytes(const char*)’:
/home/szymex/BunnymodXT/SPTLib/patterns.hpp:49:2: error: expression ‘<throw-expression>’ is not a constant-expression
  }
  ^
CMakeFiles/BunnymodXT.dir/build.make:76: recipe for target 'CMakeFiles/BunnymodXT.dir/SPTLib/IHookableModule.cpp.o' failed
make[2]: *** [CMakeFiles/BunnymodXT.dir/SPTLib/IHookableModule.cpp.o] Error 1
CMakeFiles/Makefile2:133: recipe for target 'CMakeFiles/BunnymodXT.dir/all' failed
make[1]: *** [CMakeFiles/BunnymodXT.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2

from bunnymodxt.

YaLTeR avatar YaLTeR commented on May 20, 2024

Sounds like your GCC is outdated and doesn't support constexprs properly. Try building with clang (CC=clang CXX=clang++ cmake <...>).

from bunnymodxt.

szymex73 avatar szymex73 commented on May 20, 2024

Ok, it worked. I also needed to install libglu1-mesa-dev, freeglut3-dev and mesa-common-dev for it to finish compiling like in #18

from bunnymodxt.

Related Issues (20)

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.