Travis CI不会在发布中编译,但在调试中编译正常,我得到这些错误:
Linking TealDemo
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraCore.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraGraphics.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraUtility.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraGraphics.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraRenderer.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraGraphics.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraNoise.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraSDK.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraNetwork.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraSDK.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraPhysics.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraSDK.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraGraphics.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraSDK.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraLua.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraSDK.so, not found (try using -rpath or -rpath-link)
/usr/bin/ld: warning: ../../../lib/gmake/x64/libNazaraAudio.so, needed by /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib/libNazaraSDK.so, not found (try using -rpath or -rpath-link)
但是每个lib都在归档中并被移动到/usr/lib/
Travis CI build:https://travis-ci.org/S6066/Teal/jobs/173483445
.travis.yml:https://github.com/S6066/Teal/blob/master/.travis.yml
答案 0 :(得分:0)
添加RelativeLinks标记它premake5.lua工作