FreeOrion

Forums for the FreeOrion project
It is currently Mon Dec 18, 2017 2:43 pm

All times are UTC




Post new topic Reply to topic  [ 115 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next
Author Message
PostPosted: Fri May 07, 2010 1:26 pm 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
Code:
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.


Top
 Profile  
 
PostPosted: Fri May 07, 2010 6:45 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12045
Location: Munich
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.


Top
 Profile  
 
PostPosted: Fri May 07, 2010 11:40 pm 
Offline
Space Squid
User avatar

Joined: Fri Feb 06, 2009 6:54 pm
Posts: 76
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.


Top
 Profile  
 
PostPosted: Sun May 09, 2010 3:14 am 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
Some of the errors are gone, but I'm still getting these:

Code:
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.


Top
 Profile  
 
PostPosted: Sun May 09, 2010 5:01 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12045
Location: Munich
In SerializeUniverseExports.ipp, try commenting out or removing the following:
Code:
namespace boost { namespace serialization {
    template<>
    struct guid_defined<System> : boost::mpl::true_ {};

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


Top
 Profile  
 
PostPosted: Sun May 09, 2010 11:41 pm 
Offline
Space Squid
User avatar

Joined: Fri Feb 06, 2009 6:54 pm
Posts: 76
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.


Top
 Profile  
 
PostPosted: Mon May 10, 2010 2:10 pm 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
This time, I downloaded the sdk and updated to 3585.

Code:
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.


Top
 Profile  
 
PostPosted: Mon May 10, 2010 5:19 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12045
Location: Munich
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.


Top
 Profile  
 
PostPosted: Tue May 11, 2010 9:52 pm 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
3587, though quite broken as predicted, builds successfully.

_________________
Warning: Antarans in dimensional portal are closer than they appear.


Top
 Profile  
 
PostPosted: Sat Jun 26, 2010 3:17 pm 
Offline
Space Squid

Joined: Sun Mar 07, 2010 10:17 pm
Posts: 74
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:
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:
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.


Top
 Profile  
 
PostPosted: Sat Jun 26, 2010 5:35 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12045
Location: Munich
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.


Top
 Profile  
 
PostPosted: Sun Jun 27, 2010 1:08 am 
Offline
Designer and Programmer
User avatar

Joined: Tue Aug 14, 2007 6:33 pm
Posts: 2058
Location: Orion
Yeah, I've been getting some compile errors for the last little while as well. This is from revision 3635:

Code:
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.


Top
 Profile  
 
PostPosted: Sun Jun 27, 2010 1:14 am 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12045
Location: Munich
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.


Top
 Profile  
 
PostPosted: Sun Jun 27, 2010 7:57 pm 
Offline
Space Squid
User avatar

Joined: Fri Feb 06, 2009 6:54 pm
Posts: 76
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:
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:
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.


Top
 Profile  
 
PostPosted: Tue Jun 29, 2010 3:10 am 
Offline
Space Squid

Joined: Sun Mar 07, 2010 10:17 pm
Posts: 74
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


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 115 posts ]  Go to page 1, 2, 3, 4, 5 ... 8  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group