Ogre Version: ogre-next 2.3
Operating System: debian sid
Hi,
When trying to build ogre-next 2.3 with build_ogre_linux_c++latest.sh, it failed when building dependencies at end with the error :
ninja: build stopped: subcommand failed.
I saw in red during compilation :
[397/597] Building CXX object src/FreeImage/CMakeFiles/FreeImage.dir/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.cpp.o
FAILED: src/FreeImage/CMakeFiles/FreeImage.dir/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.cpp.o
Code: Select all
In file included from /home/unknown/Dev/build_ogre_scripts-v2-3/Ogre/ogre-next-deps/src/FreeImage/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.cpp:6:
/home/unknown/Dev/build_ogre_scripts-v2-3/Ogre/ogre-next-deps/src/FreeImage/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.h:314:36: error: ‘uint64_t’ has not been declared
314 | uint64_t &dataSize
| ^~~~~~~~
In file included from /home/unknown/Dev/build_ogre_scripts-v2-3/Ogre/ogre-next-deps/src/FreeImage/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.cpp:9:
/home/unknown/Dev/build_ogre_scripts-v2-3/Ogre/ogre-next-deps/src/FreeImage/Source/OpenEXR/OpenEXR/ImfDeepTiledInputFile.h:358:38: error: ‘uint64_t’ has not been declared
358 | uint64_t &dataSize) const;
| ^~~~~~~~
/home/unknown/Dev/build_ogre_scripts-v2-3/Ogre/ogre-next-deps/src/FreeImage/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.cpp:207:34: error: ‘uint64_t’ has not been declared
207 | uint64_t & dataSize) const
Is this the source of the problem ?
Thanks by advance
Edit:
Well i added #include <cstdint> to FreeImage/Source/OpenEXR/OpenEXR/ImfDeepTiledInputPart.h|ImfDeepTiledInputFile.h|ImfTiledMisc.h and everything compiled fine for the deps.
Just i needed to install libxcb-randr0-dev & libx11-xcb-dev or i also got a compilation error about vulkan when building ogre.