Results 1 to 2 of 2

Thread: Errors building Unity from source (12.10)

  1. #1
    Join Date
    Nov 2011
    Beans
    8

    Question Errors building Unity from source (12.10)

    I'm trying to build unity from the source code by following the steps provided here: http://unity.ubuntu.com/getinvolved/development/unity/#developing-unity
    However, I keep getting compiling errors. Here's what the error looks like:
    Code:
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:29:15: error: expected constructor, destructor, or type conversion before ‘(’ token
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp: In member function ‘void unity::BGHash::TransitionToNewColor(const nux::color::Color&)’:
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:107:3: error: ‘logger’ was not declared in this scope
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp: In member function ‘nux::color::Color unity::BGHash::MatchColor(const nux::color::Color&) const’:
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:154:5: error: ‘logger’ was not declared in this scope
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:161:5: error: ‘logger’ was not declared in this scope
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:184:3: error: ‘logger’ was not declared in this scope
    make[2]: *** [unity-shared/CMakeFiles/unity-shared.dir/BGHash.cpp.o] Error 1
    make[1]: *** [unity-shared/CMakeFiles/unity-shared.dir/all] Error 2
    make: *** [all] Error 2
    iiquinox@narkotikk:~/code/unity/trunk/build$
    I'm running Ubuntu 12.10 and building Unity from the latest launchpad trunk. I haven't modified any of the source code so it should be building without problems right? Any help as to why I'm getting this error?
    Attached Images Attached Images

  2. #2
    Join Date
    Nov 2012
    Beans
    1

    Re: Errors building Unity from source (12.10)

    Quote Originally Posted by DvKrane View Post
    I'm trying to build unity from the source code by following the steps provided here: http://unity.ubuntu.com/getinvolved/development/unity/#developing-unity
    However, I keep getting compiling errors. Here's what the error looks like:
    Code:
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:29:15: error: expected constructor, destructor, or type conversion before ‘(’ token
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp: In member function ‘void unity::BGHash::TransitionToNewColor(const nux::color::Color&)’:
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:107:3: error: ‘logger’ was not declared in this scope
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp: In member function ‘nux::color::Color unity::BGHash::MatchColor(const nux::color::Color&) const’:
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:154:5: error: ‘logger’ was not declared in this scope
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:161:5: error: ‘logger’ was not declared in this scope
    /home/iiquinox/code/unity/trunk/unity-shared/BGHash.cpp:184:3: error: ‘logger’ was not declared in this scope
    make[2]: *** [unity-shared/CMakeFiles/unity-shared.dir/BGHash.cpp.o] Error 1
    make[1]: *** [unity-shared/CMakeFiles/unity-shared.dir/all] Error 2
    make: *** [all] Error 2
    iiquinox@narkotikk:~/code/unity/trunk/build$
    I'm running Ubuntu 12.10 and building Unity from the latest launchpad trunk. I haven't modified any of the source code so it should be building without problems right? Any help as to why I'm getting this error?
    Had same error today, I hope they will fix this soon.

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •