3582 Build Errors, OS X 10.6

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

Post Reply
Message
Author
User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

3582 Build Errors, OS X 10.6

#1 Post by Bigjoe5 »

Code: Select all

Build Common of project FreeOrion with configuration Debug

/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:22: error: 'guid_defined' is not a template
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:22: error: explicit specialization of non-template 'boost::serialization::guid_defined'
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:25: error: expected initializer before '<' token
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:33: error: expected constructor, destructor, or type conversion before 'namespace'


Build FreeOrionClient of project FreeOrion with configuration Debug

/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../UI/InfoPanels.cpp: In member function 'void ResourcePanel::Update()':
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../UI/InfoPanels.cpp:871: warning: passing negative value '-0x00000000000000001' for argument 1 to 'void GG::DropDownList::Select(size_t)'
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../UI/InfoPanels.cpp:903: warning: passing negative value '-0x00000000000000001' for argument 1 to 'void GG::DropDownList::Select(size_t)'

Undefined symbols:
  "PathingEngine::Update(float, bool)", referenced from:
      CombatWnd::frameStarted(Ogre::FrameEvent const&)   in CombatWnd.o
      CombatWnd::frameStarted(Ogre::FrameEvent const&)   in CombatWnd.o
  "EntityRenderer::EntityRenderer(Ogre::SceneManager*)", referenced from:
      mainSetupAndRunOgre()     in chmain-1DB3E757FAD77071.o
  "EntityRenderer::~EntityRenderer()", referenced from:
      mainSetupAndRunOgre()     in chmain-1DB3E757FAD77071.o
      mainSetupAndRunOgre()     in chmain-1DB3E757FAD77071.o
  "PathingEngine::SECONDS_PER_TURN", referenced from:
      __ZN13PathingEngine16SECONDS_PER_TURNE$non_lazy_ptr in CombatWnd.o
  "EntityRenderer::GetTexture(Ogre::Entity*, unsigned char)", referenced from:
      CreateShipEntity(Ogre::SceneManager*, Ship const&, Ogre::MaterialPtr const&)in CombatWnd.o
  "EntityRenderer::Instance()", referenced from:
      CreateShipEntity(Ogre::SceneManager*, Ship const&, Ogre::MaterialPtr const&)in CombatWnd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Build FreeOrionServer of project FreeOrion with configuration Debug

Undefined symbols:
  "PathingEngine::SECONDS_PER_TURN", referenced from:
      __ZN13PathingEngine16SECONDS_PER_TURNE$non_lazy_ptr in ServerApp.o
  "PathingEngine::Update(float, bool)", referenced from:
      ServerApp::ProcessCombatTurn()      in ServerApp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Build FreeOrion of project FreeOrion with configuration Debug

pbxcp: FreeOrion: No such file or directory

pbxcp: freeoriond: No such file or directory
Warning: Antarans in dimensional portal are closer than they appear.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 3582 Build Errors, OS X 10.6

#2 Post by Geoff the Medio »

For the EntityRenderer errors, you (or .Id) will need to add EntityRenderer.cpp to the build. It was recently added to SVN.

The PathingEngine errors don't make much sense to me. The PathingEngine.cpp and .h exist are are #included in CombatWnd.cpp. Maybe it's an odd side effect of the EntityRenderer issue.

The passing negative value warnings are expected and fine, as far as I know.

User avatar
.Id
Space Squid
Posts: 76
Joined: Fri Feb 06, 2009 6:54 pm

Re: 3582 Build Errors, OS X 10.6

#3 Post by .Id »

I updated the Xcode project to include EntityRenderer (rev 3583)

I believe the errors in SerializeUniverseExports are resolvable by updating to the latest SDK (April 30) which included boost 1.42.

The PathingEngine errors don't make sense to me, either, as it should already be compiled/linked for the Client & Server build.

Try updating from the newest SDK and see if it works for you.

User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

Re: 3582 Build Errors, OS X 10.6

#4 Post by Bigjoe5 »

Some of the errors are gone, but I'm still getting these:

Code: Select all

Build Common of project FreeOrion with configuration Debug

/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:22: error: 'guid_defined' is not a template
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:22: error: explicit specialization of non-template 'boost::serialization::guid_defined'
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:25: error: expected initializer before '<' token
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../util/SerializeUniverseExports.ipp:33: error: expected constructor, destructor, or type conversion before 'namespace'


Build FreeOrionClient of project FreeOrion with configuration Debug

Undefined symbols:
  "PathingEngine::Update(float, bool)", referenced from:
      CombatWnd::frameStarted(Ogre::FrameEvent const&)   in CombatWnd.o
      CombatWnd::frameStarted(Ogre::FrameEvent const&)   in CombatWnd.o
  "PathingEngine::SECONDS_PER_TURN", referenced from:
      __ZN13PathingEngine16SECONDS_PER_TURNE$non_lazy_ptr in CombatWnd.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Build FreeOrionServer of project FreeOrion with configuration Debug

Undefined symbols:
  "PathingEngine::SECONDS_PER_TURN", referenced from:
      __ZN13PathingEngine16SECONDS_PER_TURNE$non_lazy_ptr in ServerApp.o
  "PathingEngine::Update(float, bool)", referenced from:
      ServerApp::ProcessCombatTurn()      in ServerApp.o
ld: symbol(s) not found
collect2: ld returned 1 exit status


Build FreeOrion of project FreeOrion with configuration Debug

pbxcp: FreeOrion: No such file or directory

pbxcp: freeoriond: No such file or directory
Warning: Antarans in dimensional portal are closer than they appear.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 3582 Build Errors, OS X 10.6

#5 Post by Geoff the Medio »

In SerializeUniverseExports.ipp, try commenting out or removing the following:

Code: Select all

namespace boost { namespace serialization {
    template<>
    struct guid_defined<System> : boost::mpl::true_ {};

    template<>
    const char * guid<System>()
    { return "System"; }
} }

User avatar
.Id
Space Squid
Posts: 76
Joined: Fri Feb 06, 2009 6:54 pm

Re: 3582 Build Errors, OS X 10.6

#6 Post by .Id »

Just to clarify, how did you update your local files -- did you only update from SVN or did you also download the SDK from SourceForge?

http://sourceforge.net/projects/freeori ... z/download

Just double checking because those exact errors for SerializeUniverseExports.ipp aren't novel, they've been dealt with before: viewtopic.php?f=24&t=4709.

User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

Re: 3582 Build Errors, OS X 10.6

#7 Post by Bigjoe5 »

This time, I downloaded the sdk and updated to 3585.

Code: Select all

Build FreeOrionClient of project FreeOrion with configuration Debug

/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../UI/InfoPanels.cpp:1306: error: '::const_iterator' has not been declared
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../UI/InfoPanels.cpp:1306: error: '>>' should be '> >' within a nested template argument list

Build FreeOrion of project FreeOrion with configuration Debug

pbxcp: FreeOrion: No such file or directory
Warning: Antarans in dimensional portal are closer than they appear.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 3582 Build Errors, OS X 10.6

#8 Post by Geoff the Medio »

Bigjoe5 wrote:This time, I downloaded the sdk and updated to 3585.
Those errors are related to my recent large changes that, as I predicted in the commit message, broke a lot of stuff. I've hopefully fixed those compile errors, but FreeOrion probably won't start up if you build 3584 or later, so I'd suggest sticking with 3583 for a few days.

User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

Re: 3582 Build Errors, OS X 10.6

#9 Post by Bigjoe5 »

3587, though quite broken as predicted, builds successfully.
Warning: Antarans in dimensional portal are closer than they appear.

neuro
Space Squid
Posts: 74
Joined: Sun Mar 07, 2010 10:17 pm

Re: 3582 Build Errors, OS X 10.6

#10 Post by neuro »

Almost exact same issue here. Had to start from scratch on the project (I had a working, building version but wasn't able to touch it for a while and re-building from that no longer worked).

I downloaded the Mac OS X SDK from here (http://sourceforge.net/projects/freeorion/files/).
Trying to build that was successful after changing the Missing Base SDK to Mac OSX 10.6.
Then, using Versions to do a SVN Update, the latest revision gave me errors including (but not limited to):

Code: Select all

ld: warning: directory '/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/local/lib/graphviz' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/local/lib"' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/local/lib/bullet"' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/lib"' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/Frameworks"' following -F not found
and

Code: Select all

pbxcp: FreeOrion: No such file or directory
pbxcp: freeoriond: No such file or directory
pbxcp: freeorionca: No such file or directory
So I've been reverting to Revision 3585 (same errors), and now Revision 3587 (same errors).

Still trying to figure this out. I have Active Target set to FreeOrion and Active Configuration set to Debug. I'm sure it's a settings or something to do with SVN that I didn't update properly.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 3582 Build Errors, OS X 10.6

#11 Post by Geoff the Medio »

There were changes to the XCode project in SVN revision 3583 and a few revisions before that. It's possible something went wrong at that time with those dependencies... I'll see if I can summon .Id.

User avatar
Bigjoe5
Designer and Programmer
Posts: 2058
Joined: Tue Aug 14, 2007 6:33 pm
Location: Orion

Re: 3582 Build Errors, OS X 10.6

#12 Post by Bigjoe5 »

Yeah, I've been getting some compile errors for the last little while as well. This is from revision 3635:

Code: Select all

Build FreeOrionClient of project FreeOrion with configuration Debug

ld: warning: directory '/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/local/lib/graphviz' following -L not found
ld: warning: directory '"/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/local/lib"' following -L not found
ld: warning: directory '"/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/local/lib/bullet"' following -L not found
ld: warning: directory '"/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/lib"' following -L not found
ld: warning: directory '"/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/Frameworks"' following -F not found
Undefined symbols:
  "Species::Graphic() const", referenced from:
      ClientUI::SpeciesIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in ClientUI.o
  "SpeciesManager::end() const", referenced from:
      SpeciesSelector::SelectSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in CUIControls.o
      SpeciesSelector::SpeciesSelector(GG::Y)in CUIControls.o
      SpeciesSelector::SpeciesSelector(GG::Y)in CUIControls.o
  "SpeciesManager::empty() const", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
      HumanClientApp::NewSinglePlayerGame(bool)   in HumanClientApp.o
  "FocusType::FocusType(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Condition::ConditionBase const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      FocusType phoenix::construct_4<FocusType>::operator()<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Condition::ConditionBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Condition::ConditionBase* const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(TopLevelParsers.o)
  "SpeciesManager::NumSpecies() const", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
  "FocusType::Location() const", referenced from:
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
  "Species::Foci() const", referenced from:
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
  "Species::Effects() const", referenced from:
      Universe::GetEffectsAndTargets(std::multimap<Universe::SourcedEffectsGroup, Universe::EffectTargetAndCause, std::less<Universe::SourcedEffectsGroup>, std::allocator<std::pair<Universe::SourcedEffectsGroup const, Universe::EffectTargetAndCause> > >&, std::vector<int, std::allocator<int> > const&)in Universe.o
  "Species::Name() const", referenced from:
      (anonymous namespace)::SpeciesRow::SpeciesRow(Species const*, GG::Y)                                                                           in CUIControls.o
      (anonymous namespace)::SpeciesRow::SpeciesRow(Species const*, GG::Y)                                                                           in CUIControls.o
      (anonymous namespace)::SpeciesRow::SpeciesRow(Species const*, GG::Y)                                                                           in CUIControls.o
  "GetSpeciesManager()", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
      SpeciesSelector::SelectSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in CUIControls.o
      SpeciesSelector::SpeciesSelector(GG::Y)in CUIControls.o
      SpeciesSelector::SpeciesSelector(GG::Y)in CUIControls.o
      HumanClientApp::NewSinglePlayerGame(bool)   in HumanClientApp.o
  "SpeciesManager::begin() const", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
      SpeciesSelector::SelectSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in CUIControls.o
      SpeciesSelector::SpeciesSelector(GG::Y)in CUIControls.o
      SpeciesSelector::SpeciesSelector(GG::Y)in CUIControls.o
      HumanClientApp::NewSinglePlayerGame(bool)   in HumanClientApp.o
  "FocusType::FocusType()", referenced from:
      phoenix::tuple<FocusType, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Condition::ConditionBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t>::tuple()in libCommon.a(TopLevelParsers.o)
  "FocusType::Graphic() const", referenced from:
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
  "Species::Species(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<FocusType, std::allocator<FocusType> > const&, std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      Species* phoenix::new_5<Species>::operator()<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<FocusType, std::allocator<FocusType> >, std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<FocusType, std::allocator<FocusType> > const&, std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(TopLevelParsers.o)
  "GetSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      Universe::GetEffectsAndTargets(std::multimap<Universe::SourcedEffectsGroup, Universe::EffectTargetAndCause, std::less<Universe::SourcedEffectsGroup>, std::allocator<std::pair<Universe::SourcedEffectsGroup const, Universe::EffectTargetAndCause> > >&, std::vector<int, std::allocator<int> > const&)in Universe.o
      ClientUI::SpeciesIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in ClientUI.o
      HumanClientApp::NewSinglePlayerGame(bool)   in HumanClientApp.o
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
      Ship::SetSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libCommon.a(Ship.o)
      PopCenter::SetSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libCommon.a(PopCenter.o)
  "FocusType::Name() const", referenced from:
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status


Build FreeOrionServer of project FreeOrion with configuration Debug

/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../network/ServerNetworking.cpp: In member function 'void PlayerConnection::HandleMessageHeaderRead(boost::system::error_code, size_t)':
/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/../network/ServerNetworking.cpp:190: error: 'Sleep' was not declared in this scope


Build FreeOrionAI of project FreeOrion with configuration Debug

ld: warning: directory '"/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/local/lib"' following -L not found
ld: warning: directory '"/Users/isaac/Downloads/freeorion-sdk/FreeOrion/Xcode/dep/lib"' following -L not found
Undefined symbols:
  "SpeciesManager::empty() const", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
  "FocusType::FocusType(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Condition::ConditionBase const*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      FocusType phoenix::construct_4<FocusType>::operator()<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Condition::ConditionBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Condition::ConditionBase* const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(TopLevelParsers.o)
  "SpeciesManager::NumSpecies() const", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
  "FocusType::Location() const", referenced from:
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
  "Species::Foci() const", referenced from:
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
  "Species::Effects() const", referenced from:
      Universe::GetEffectsAndTargets(std::multimap<Universe::SourcedEffectsGroup, Universe::EffectTargetAndCause, std::less<Universe::SourcedEffectsGroup>, std::allocator<std::pair<Universe::SourcedEffectsGroup const, Universe::EffectTargetAndCause> > >&, std::vector<int, std::allocator<int> > const&)in Universe.o
  "GetSpeciesManager()", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
  "SpeciesManager::begin() const", referenced from:
      Universe::GenerateEmpires(std::vector<int, std::allocator<int> >&, std::map<int, PlayerSetupData, std::less<int>, std::allocator<std::pair<int const, PlayerSetupData> > > const&)in Universe.o
  "FocusType::FocusType()", referenced from:
      phoenix::tuple<FocusType, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, Condition::ConditionBase*, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t, phoenix::nil_t>::tuple()in libCommon.a(TopLevelParsers.o)
  "FocusType::Graphic() const", referenced from:
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
  "Species::Species(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<FocusType, std::allocator<FocusType> > const&, std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      Species* phoenix::new_5<Species>::operator()<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::vector<FocusType, std::allocator<FocusType> >, std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > >, std::basic_string<char, std::char_traits<char>, std::allocator<char> > >(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<FocusType, std::allocator<FocusType> > const&, std::vector<boost::shared_ptr<Effect::EffectsGroup const>, std::allocator<boost::shared_ptr<Effect::EffectsGroup const> > > const&, std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(TopLevelParsers.o)
  "GetSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)", referenced from:
      Universe::GetEffectsAndTargets(std::multimap<Universe::SourcedEffectsGroup, Universe::EffectTargetAndCause, std::less<Universe::SourcedEffectsGroup>, std::allocator<std::pair<Universe::SourcedEffectsGroup const, Universe::EffectTargetAndCause> > >&, std::vector<int, std::allocator<int> > const&)in Universe.o
      Ship::SetSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libCommon.a(Ship.o)
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
      PopCenter::SetSpecies(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)in libCommon.a(PopCenter.o)
  "FocusType::Name() const", referenced from:
      Planet::FocusIcon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) constin libCommon.a(Planet.o)
      Planet::AvailableFoci() const in libCommon.a(Planet.o)
ld: symbol(s) not found
collect2: ld returned 1 exit status


Build FreeOrion of project FreeOrion with configuration Debug

pbxcp: FreeOrion: No such file or directory

pbxcp: freeoriond: No such file or directory

pbxcp: freeorionca: No such file or directory
Warning: Antarans in dimensional portal are closer than they appear.

User avatar
Geoff the Medio
Programming, Design, Admin
Posts: 13587
Joined: Wed Oct 08, 2003 1:33 am
Location: Munich

Re: 3582 Build Errors, OS X 10.6

#13 Post by Geoff the Medio »

Bigjoe5 wrote:Undefined symbols:
"Species::Graphic() const", referenced from:
That's probably just because Species.cpp (and perhaps Species.h) haven't been added to your XCode project.

User avatar
.Id
Space Squid
Posts: 76
Joined: Fri Feb 06, 2009 6:54 pm

Re: 3582 Build Errors, OS X 10.6

#14 Post by .Id »

neuro wrote: I downloaded the Mac OS X SDK from here (http://sourceforge.net/projects/freeorion/files/).
Trying to build that was successful after changing the Missing Base SDK to Mac OSX 10.6.
Good that this was a successful build, but for consistency's sake I should mention I use 10.4 as the base SDK such that the app bundle product can be deployed on older version of OS X.
neuro wrote: Then, using Versions to do a SVN Update, the latest revision gave me errors including (but not limited to):

Code: Select all

ld: warning: directory '/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/local/lib/graphviz' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/local/lib"' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/local/lib/bullet"' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/lib"' following -L not found
ld: warning: directory '"/Users/dominictancredi/Desktop/Games/freeorion-sdk/FreeOrion/Xcode/dep/Frameworks"' following -F not found
These aren't errors, just warnings.
neuro wrote: and

Code: Select all

pbxcp: FreeOrion: No such file or directory
pbxcp: freeoriond: No such file or directory
pbxcp: freeorionca: No such file or directory
Those are errors in copying finished targets to the destination directory, but don't indicate the compile/link problem. Send a full log if you continue to have problems.
neuro wrote: So I've been reverting to Revision 3585 (same errors), and now Revision 3587 (same errors).

Still trying to figure this out. I have Active Target set to FreeOrion and Active Configuration set to Debug. I'm sure it's a settings or something to do with SVN that I didn't update properly.
If it was the same problem as Bigjoe, then I just fixed it in SVN:

------------------------------------------------------------------------
r3636 | id-ego | 2010-06-27 14:40:20 -0500 (Sun, 27 Jun 2010) | 2 lines

Resolve Mac build errors by adding Species.cpp/Species.h to Xcode project and include missing MultiplayerCommon.h header in ServerNetworking.cpp.

neuro
Space Squid
Posts: 74
Joined: Sun Mar 07, 2010 10:17 pm

Re: 3582 Build Errors, OS X 10.6

#15 Post by neuro »

Yep you fixed it! Read the note, updated revision to 3636! Thanks so much. Sorry I couldn't figure it out myself and do the fix. You rock man!

r3636! :D

Post Reply