Unity-for-Arch icon indicating copy to clipboard operation
Unity-for-Arch copied to clipboard

Unity build fails

Open dstaubsauger opened this issue 10 years ago • 1 comments

As the title says, unity fails to build for me. This is the error. (if you need the english translation of the error, how can i change the language?)

Building CXX object unity-shared/CMakeFiles/unity-shared-bamf.dir/DesktopApplicationManager.cpp.o
In file included from /home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/StandaloneDecorationStyle.cpp:22:0:
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/DecorationStyle.h:113:16: Fehler: »shared_ptr« in namespace »std« does not name a template type
   typedef std::shared_ptr<Style> Ptr;
                ^
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/DecorationStyle.h:115:17: Fehler: »Ptr« in »class unity::decoration::Style« benennt keinen Typen
   static Style::Ptr const& Get();
                 ^
In file included from /home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/StandaloneDecorationStyle.cpp:22:0:
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/DecorationStyle.h:166:8: Fehler: »unique_ptr« in namespace »std« does not name a template type
   std::unique_ptr<Impl> impl_;
        ^
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/StandaloneDecorationStyle.cpp: In Funktion »std::ostream& operator<<(std::ostream&, const unity::decoration::Alignment&)«:
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/StandaloneDecorationStyle.cpp:37:52: Fehler: »Get« ist kein Element von »unity::decoration::Style«
       return os << "Floating at " + std::to_string(Style::Get()->TitleAlignmentValue());
                                                    ^
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/StandaloneDecorationStyle.cpp: In Funktion »int main(int, char**)«:
/home/dstaubsauger/.build/unity/Unity-for-Arch/unity/src/unity-7.3.1+14.10.20141016/unity-shared/StandaloneDecorationStyle.cpp:88:23: Fehler: »Get« ist kein Element von »unity::decoration::Style«
   auto const& style = Style::Get();
                       ^
unity-shared/CMakeFiles/decorations-style.dir/build.make:54: die Regel für Ziel „unity-shared/CMakeFiles/decorations-style.dir/StandaloneDecorationStyle.cpp.o“ scheiterte
make[2]: *** [unity-shared/CMakeFiles/decorations-style.dir/StandaloneDecorationStyle.cpp.o] Fehler 1
CMakeFiles/Makefile2:377: die Regel für Ziel „unity-shared/CMakeFiles/decorations-style.dir/all“ scheiterte
make[1]: *** [unity-shared/CMakeFiles/decorations-style.dir/all] Fehler 2

dstaubsauger avatar Dec 23 '14 11:12 dstaubsauger

Could you please provide more information?

Probably there are other build-failures happening prior to this one.

(if you need the english translation of the error, how can i change the language?)

set your environment-variable LANG to LANG=C. That's all.

bebehei avatar Mar 15 '15 16:03 bebehei