FreeOrion

Forums for the FreeOrion project
It is currently Sun Nov 19, 2017 4:45 am

All times are UTC




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Fri Mar 13, 2015 7:35 pm 
Offline
Dyson Forest

Joined: Sun May 11, 2008 10:50 am
Posts: 231
Code:
Linking CXX executable ../freeoriond
CMakeFiles/freeoriond.dir/__/python/server/PythonServerWrapper.cpp.o: In function `(anonymous namespace)::GenerateSitRep(int, std::string const&, boost::python::dict const&, std::string const&)':
PythonServerWrapper.cpp:(.text+0x3a1): undefined reference to `CreateSitRep(std::string const&, std::string const&, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > const&)'
PythonServerWrapper.cpp:(.text+0x4c1): undefined reference to `CreateSitRep(std::string const&, std::string const&, std::vector<std::pair<std::string, std::string>, std::allocator<std::pair<std::string, std::string> > > const&)'
collect2: Fehler: ld gab 1 als Ende-Status zurück
server/CMakeFiles/freeoriond.dir/build.make:399: die Regel für Ziel „freeoriond“ scheiterte
make[2]: *** [freeoriond] Fehler 1
CMakeFiles/Makefile2:329: die Regel für Ziel „server/CMakeFiles/freeoriond.dir/all“ scheiterte
make[1]: *** [server/CMakeFiles/freeoriond.dir/all] Fehler 2
Makefile:137: die Regel für Ziel „all“ scheiterte
make: *** [all] Fehler 2


not 100% it's this commit, but seems to fit the change and the error message...

_________________
Attached patches are released under GPL 2.0 or later.


Top
 Profile  
 
PostPosted: Fri Mar 13, 2015 8:29 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4374
ok, it was an easy fix:
Code:
r8034 | dilvish-fo | 2015-03-13 13:28:23 -0700 (Fri, 13 Mar 2015) | 1 line
added FO_COMMON_API  to declaration of CreateSitRep, stemming from r8033  changes and needed for Linux

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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:  
cron
Powered by phpBB® Forum Software © phpBB Group