I can compile normally on my Mac OS X. but Fedora34 cannot be compiled.
[ 51%] Building C object Source/ThirdParty/toluapp/src/bin/CMakeFiles/tolua++.dir/tolua.c.o
[ 51%] Building C object Source/ThirdParty/toluapp/src/bin/CMakeFiles/tolua++.dir/generated/toluabind.c.o
[ 51%] Linking C executable …/…/…/…/…/bin/tool/tolua++
/usr/bin/ld: …/…/…/Lua/libLua.a(loslib.c.o): in function os_tmpname': loslib.c:(.text+0x22c): 警告:the use of
tmpnam’ is dangerous, better use `mkstemp’
[ 51%] Built target tolua++
[ 51%] Generating tolua++ API binding on the fly for Audio
[ 51%] Generating tolua++ API binding on the fly for Core
[ 51%] Generating tolua++ API binding on the fly for Engine
[ 51%] Generating tolua++ API binding on the fly for Graphics
[ 51%] Generating tolua++ API binding on the fly for IK
[ 52%] Generating tolua++ API binding on the fly for IO
[ 52%] Generating tolua++ API binding on the fly for Input
[ 52%] Generating tolua++ API binding on the fly for LuaScript
[ 52%] Generating tolua++ API binding on the fly for Math
[ 52%] Generating tolua++ API binding on the fly for Navigation
[ 52%] Generating tolua++ API binding on the fly for Network
[ 52%] Generating tolua++ API binding on the fly for Physics
[ 52%] Generating tolua++ API binding on the fly for Resource
[ 52%] Generating tolua++ API binding on the fly for Scene
[ 52%] Generating tolua++ API binding on the fly for UI
[ 52%] Generating tolua++ API binding on the fly for Urho2D
make[2]: *** 没有规则可制作目标“/home/liu/Urho3D-1.7.1/Source/Urho3D/Container/Str.h”,由“Source/Urho3D/Precompiled.h.Release.pch.trigger” 需求。 停止。
make[1]: *** [CMakeFiles/Makefile2:2212:Source/Urho3D/CMakeFiles/Urho3D.dir/all] 错误 2
make: *** [Makefile:156:all] 错误 2