Skip to content

Bug: FBXBinaryTokenizer.cpp:475:61: error: ‘uint32_t’ is not a member of ‘std’ #5072

Closed

Description

@thewon86

Describe the bug

FAILED: qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/__/__/__/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp.o 
/usr/bin/c++ -DASSIMP_BUILD_BOOST_WORKAROUND -DASSIMP_BUILD_NO_3DS_IMPORTER -DASSIMP_BUILD_NO_3D_IMPORTER -DASSIMP_BUILD_NO_3MF_IMPORTER -DASSIMP_BUILD_NO_AC_IMPORTER -DASSIMP_BUILD_NO_AMF_IMPORTER -DASSIMP_BUILD_NO_ASE_IMPORTER -DASSIMP_BUILD_NO_ASSBIN_IMPORTER -DASSIMP_BUILD_NO_B3D_IMPORTER -DASSIMP_BUILD_NO_BLEND_IMPORTER -DASSIMP_BUILD_NO_BVH_IMPORTER -DASSIMP_BUILD_NO_C4D_IMPORTER -DASSIMP_BUILD_NO_COB_IMPORTER -DASSIMP_BUILD_NO_COMPRESSED_IFC -DASSIMP_BUILD_NO_CSM_IMPORTER -DASSIMP_BUILD_NO_DXF_IMPORTER -DASSIMP_BUILD_NO_EXPORT -DASSIMP_BUILD_NO_HMP_IMPORTER -DASSIMP_BUILD_NO_IFC_IMPORTER -DASSIMP_BUILD_NO_IRRMESH_IMPORTER -DASSIMP_BUILD_NO_IRR_IMPORTER -DASSIMP_BUILD_NO_LIMITBONEWEIGHTS_PROCESS -DASSIMP_BUILD_NO_LWO_IMPORTER -DASSIMP_BUILD_NO_LWS_IMPORTER -DASSIMP_BUILD_NO_M3D_IMPORTER -DASSIMP_BUILD_NO_MD2_IMPORTER -DASSIMP_BUILD_NO_MD3_IMPORTER -DASSIMP_BUILD_NO_MD5_IMPORTER -DASSIMP_BUILD_NO_MDC_IMPORTER -DASSIMP_BUILD_NO_MDL_IMPORTER -DASSIMP_BUILD_NO_MMD_IMPORTER -DASSIMP_BUILD_NO_MS3D_IMPORTER -DASSIMP_BUILD_NO_NDO_IMPORTER -DASSIMP_BUILD_NO_NFF_IMPORTER -DASSIMP_BUILD_NO_OFF_IMPORTER -DASSIMP_BUILD_NO_OGRE_IMPORTER -DASSIMP_BUILD_NO_OPENGEX_IMPORTER -DASSIMP_BUILD_NO_OWN_ZLIB -DASSIMP_BUILD_NO_PLY_IMPORTER -DASSIMP_BUILD_NO_Q3BSP_IMPORTER -DASSIMP_BUILD_NO_Q3D_IMPORTER -DASSIMP_BUILD_NO_RAW_IMPORTER -DASSIMP_BUILD_NO_SIB_IMPORTER -DASSIMP_BUILD_NO_SMD_IMPORTER -DASSIMP_BUILD_NO_STEP_IMPORTER -DASSIMP_BUILD_NO_TERRAGEN_IMPORTER -DASSIMP_BUILD_NO_X3D_IMPORTER -DASSIMP_BUILD_NO_XGL_IMPORTER -DASSIMP_BUILD_NO_X_IMPORTER -DAssimpSceneImportPlugin_EXPORTS -DNOUNCRYPT -DQT_3DANIMATION_LIB -DQT_3DCORE_LIB -DQT_3DEXTRAS_LIB -DQT_3DINPUT_LIB -DQT_3DLOGIC_LIB -DQT_3DRENDER_LIB -DQT_CFLAGS_SSE2 -DQT_CONCURRENT_LIB -DQT_CORE_LIB -DQT_DEPRECATED_WARNINGS -DQT_DISABLE_DEPRECATED_UP_TO=0x050000 -DQT_EXPLICIT_QFILE_CONSTRUCTION_FROM_PATH -DQT_GUI_LIB -DQT_NETWORK_LIB -DQT_NO_AS_CONST=1 -DQT_NO_DEBUG -DQT_NO_JAVA_STYLE_ITERATORS -DQT_NO_NARROWING_CONVERSIONS_IN_CONNECT -DQT_OPENGL_LIB -DQT_PLUGIN -DQT_WARN_DEPRECATED_UP_TO=0x070000 -DRAPIDJSON_HAS_STDSTRING=1 -DRAPIDJSON_NOMEMBERITERATORCLASS -D_LARGEFILE64_SOURCE -D_LARGEFILE_SOURCE -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qt3d/src/plugins/sceneparsers/assimp/AssimpSceneImportPlugin_autogen/include -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/plugins/sceneparsers/assimp -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qt3d/src/plugins/sceneparsers/assimp -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/.. -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/contrib/unzip -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/Blender -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/CApi -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/Collada -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/Common -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/FBX -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/Material -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/Obj -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/PostProcessing -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/glTF -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/glTF2 -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/irrXML -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/openddlparser/include -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/poly2tri -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/pugixml/src -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/pugixml/contrib -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/rapidjson/include -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/contrib/utf8cpp/source -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/include -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/include/assimp/Compiler -I/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/unzip -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DAnimation -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DCore -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtConcurrent -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtCore -I/mnt/qt6/qt-everywhere-src-6.5.0/qtbase/mkspecs/linux-g++ -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtGui -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtNetwork -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DRender -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtOpenGL -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qt3d/src/core -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DCore/6.5.0 -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DCore/6.5.0/Qt3DCore -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/src/corelib -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtCore/6.5.0 -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtCore/6.5.0/QtCore -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/src/gui -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtGui/6.5.0 -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/QtGui/6.5.0/QtGui -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DExtras -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DInput -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DLogic -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qt3d/src/render -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DRender/6.5.0 -I/mnt/qt6/qt-everywhere-src-6.5.0/build/qtbase/include/Qt3DRender/6.5.0/Qt3DRender -DNDEBUG -O2 -std=c++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -Wall -Wextra -Wno-ignored-qualifiers -Wno-unused-parameter -Wno-unused-variable -Wno-deprecated-declarations -Wno-unused-function -Wno-reorder -fPIC -msse2 -Wsuggest-override -MD -MT qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/__/__/__/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp.o -MF qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/__/__/__/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp.o.d -o qt3d/src/plugins/sceneparsers/assimp/CMakeFiles/AssimpSceneImportPlugin.dir/__/__/__/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp.o -c /mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp
/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp: In function ‘void Assimp::FBX::TokenizeBinary(TokenList&, const char*, size_t)’:
/mnt/qt6/qt-everywhere-src-6.5.0/qt3d/src/3rdparty/assimp/src/code/AssetLib/FBX/FBXBinaryTokenizer.cpp:475:61: error: ‘uint32_t’ is not a member of ‘std’; did you mean ‘wint_t’?
  475 |         if (!is64bits && (length > std::numeric_limits<std::uint32_t>::max())) {

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
If applicable, add screenshots to help explain your problem.

Platform (please complete the following information):

  • Fedora 38
  • Qt6.5.0
  • gcc 13.0.1
  • assimp 5.0.1.0

Additional context
Add any other context about the problem here.

Activity

  1. added
    Bug
    on Apr 24, 2023
  2. turol commented on Apr 25, 2023

    @turol
    Member

    GCC devs have reduced their header dependencies again. We need to add #include <cstdint> somewhere.

  3. added
    FBX
    on Jun 18, 2023
  4. added a commit that references this issue on Nov 5, 2023
  5. added a commit that references this issue on Nov 5, 2023
  6. kimkulling commented on Nov 5, 2023

    @kimkulling
    Member

    Fixed.

  7. jimis commented on Dec 15, 2023

    @jimis

    I think this bug had already been fixed by 253f8bf.

    Probably the reporter encountered the bug on a branch missing that fix. Inclusion of cstdint shouldn't be needed.

  8. added a commit that references this issue on Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    BugFBX

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions