IPB Style© Fisana

Jump to content


[FIXED] More Build Errors on OS X 10.7.2


  • Please log in to reply
24 replies to this topic

#21 Kimball

Kimball

  • 0 A.D. Art Team

  • Rise of the East
    (1,615 posts)

Posted 18 February 2012 - 10:34 PM

==== Building test (release) ====
test_LOSTexture.cpp
In file included from /opt/local/include/js/jspubtd.h:97,
                 from /opt/local/include/js/jsapi.h:47,
                 from ../../../source/scriptinterface/ScriptTypes.h:81,
                 from ../../../source/simulation2/system/Message.h:21,
                 from ../../../source/simulation2/system/IComponent.h:22,
                 from ../../../source/simulation2/system/Interface.h:21,
                 from ../../../source/simulation2/components/ICmpRangeManager.h:21,
                 from ../../../source/graphics/LOSTexture.h:21,
                 from ../../../source/graphics/tests/../../../source/graphics/tests/test_LOSTexture.h:20,
                 from ../../../source/graphics/tests/test_LOSTexture.cpp:14:
/opt/local/include/js/jsproto.tbl:67:5: warning: "JS_HAS_FILE_OBJECT" is not defined
In file included from ../../../source/simulation2/system/Message.h:21,
                 from ../../../source/simulation2/system/IComponent.h:22,
                 from ../../../source/simulation2/system/Interface.h:21,
                 from ../../../source/simulation2/components/ICmpRangeManager.h:21,
                 from ../../../source/graphics/LOSTexture.h:21,
                 from ../../../source/graphics/tests/../../../source/graphics/tests/test_LOSTexture.h:20,
                 from ../../../source/graphics/tests/test_LOSTexture.cpp:14:
../../../source/scriptinterface/ScriptTypes.h:92:2: error: #error Your compiler is trying to use an incorrect version of the SpiderMonkey library.
../../../source/scriptinterface/ScriptTypes.h:93:2: error: #error The only version that works is the one in the libraries/spidermonkey/ directory,
../../../source/scriptinterface/ScriptTypes.h:94:2: error: #error and it will not work with a typical system-installed version.
../../../source/scriptinterface/ScriptTypes.h:95:2: error: #error Make sure you have got all the right files and include paths.
In file included from /opt/local/include/boost/unordered/unordered_map.hpp:17,
                 from /opt/local/include/boost/unordered_map.hpp:16,
                 from ../../../source/simulation2/Simulation2.h:28,
                 from ../../../source/graphics/tests/../../../source/graphics/tests/test_LOSTexture.h:22,
                 from ../../../source/graphics/tests/test_LOSTexture.cpp:14:
/opt/local/include/boost/unordered/detail/allocator_helpers.hpp:29:5: warning: "BOOST_UNORDERED_USE_ALLOCATOR_TRAITS" is not defined
/opt/local/include/boost/unordered/detail/allocator_helpers.hpp:193:5: warning: "BOOST_UNORDERED_USE_ALLOCATOR_TRAITS" is not defined
In file included from /opt/local/include/boost/unordered/detail/equivalent.hpp:16,
                 from /opt/local/include/boost/unordered/unordered_map.hpp:18,
                 from /opt/local/include/boost/unordered_map.hpp:16,
                 from ../../../source/simulation2/Simulation2.h:28,
                 from ../../../source/graphics/tests/../../../source/graphics/tests/test_LOSTexture.h:22,
                 from ../../../source/graphics/tests/test_LOSTexture.cpp:14:
/opt/local/include/boost/unordered/detail/extract_key.hpp:54:5: warning: "BOOST_UNORDERED_USE_RV_REF" is not defined
make[1]: *** [obj/test_Release/test_LOSTexture.o] Error 1
make: *** [test] Error 2

Edit: It looks like you're right, and I'm just ignorant. The game runs, but does this error that I'm getting even matter?

Rob Kimball
Scion Development Producer (Rise of the East)

Posted Image Posted Image Posted Image Posted Image Posted Image Posted Image Posted Image


#22 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,923 posts)

Posted 19 February 2012 - 03:02 AM

It matters if you want to run the tests, but they are not required to run the game :) Try running "./update-workspaces.sh --without-tests" before rebuilding, and confirm that the build finishes with no errors. Still it would be nice to troubleshoot why the test is failing to build, if indeed the rest of the game is succeeding. When was the last time you did a full checkout of the source?
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#23 Kimball

Kimball

  • 0 A.D. Art Team

  • Rise of the East
    (1,615 posts)

Posted 19 February 2012 - 03:52 AM

Yeah the game runs fine, but if you want to try to figure this out for compatibility's sake, I'd be happy to help out. Last full checkout was the day after Christmas.

Rob Kimball
Scion Development Producer (Rise of the East)

Posted Image Posted Image Posted Image Posted Image Posted Image Posted Image Posted Image


#24 historic_bruno

historic_bruno

  • WFG Programming Team

  • Primus Pilus
    (1,923 posts)

Posted 15 August 2012 - 02:42 AM

Finally solved this problem :) It was due to an ancient Spidermonkey lib that had been installed with Mac Ports. The game will include that version of SM by mistake due to include path precedence.

So if you encounter this error and use Mac Ports, just use "sudo port uninstall Spidermonkey" to get rid of the old conflicting Spidermonkey.
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben@wildfiregames.com

#25 Kimball

Kimball

  • 0 A.D. Art Team

  • Rise of the East
    (1,615 posts)

Posted 15 August 2012 - 03:57 AM

"Like"

Rob Kimball
Scion Development Producer (Rise of the East)

Posted Image Posted Image Posted Image Posted Image Posted Image Posted Image Posted Image





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users