GithubHelp home page GithubHelp logo

Archlinux上build时报错 about piccolo HOT 3 CLOSED

mland2333 avatar mland2333 commented on May 31, 2024
Archlinux上build时报错

from piccolo.

Comments (3)

YXHXianYu avatar YXHXianYu commented on May 31, 2024

+1, 同archlinux

/home/YXH_XianYu/GAMES104/GAMES104/engine/3rdparty/JoltPhysics/Build/../Jolt/Core/Core.h:232:7: note: 'uint' declared here
using uint = unsigned int;
      ^
In file included from /home/YXH_XianYu/GAMES104/GAMES104/engine/3rdparty/JoltPhysics/Jolt/Core/IssueReporting.cpp:4:
In file included from /home/YXH_XianYu/GAMES104/GAMES104/engine/3rdparty/JoltPhysics/Build/../Jolt/Jolt.h:9:
/home/YXH_XianYu/GAMES104/GAMES104/engine/3rdparty/JoltPhysics/Build/../Jolt/Math/Math.h:161:31: error: unknown type name 'uint32'; did you mean 'uint'?

clang version: 16.0.6
cmake version: 3.28.3

from piccolo.

YXHXianYu avatar YXHXianYu commented on May 31, 2024

解决了.

在 engine/3rdparty/JoltPhysics/Jolt/Core/Core.h的220行附近添加 #include <cstdint> 编译就过了.
最新版本的JolyPhysics有这行,但旧版本的JoltPhysics不知道为什么没有233.

from piccolo.

mland2333 avatar mland2333 commented on May 31, 2024

解决了.

在 engine/3rdparty/JoltPhysics/Jolt/Core/Core.h的220行附近添加 #include <cstdint> 编译就过了. 最新版本的JolyPhysics有这行,但旧版本的JoltPhysics不知道为什么没有233.

感谢,按照你的方法添加头文件后编译成功并运行

from piccolo.

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.