FreeOrion

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

All times are UTC




Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Thu Sep 17, 2015 7:21 pm 
Offline
Space Floater

Joined: Fri Aug 14, 2015 8:29 pm
Posts: 47
Tried to compile latest (560e642a57) version on Linux Mint 17.2, 64 bit. I got this error:

Code:
GLClientAndServerBuffer.cpp:201:16: error: duplicate explicit instantiation of ‘class GG::GLClientAndServerBufferBase<float>’ [-fpermissive]
 template class GLClientAndServerBufferBase<float>;


Top
 Profile  
 
PostPosted: Thu Sep 17, 2015 7:35 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12013
Location: Munich
should be fixed


Top
 Profile  
 
PostPosted: Thu Sep 17, 2015 8:01 pm 
Offline
Space Floater

Joined: Fri Aug 14, 2015 8:29 pm
Posts: 47
Wow, that was quick! You don't mess around, do you? That problem seems to be fixed, but I am now getting

Code:
MapWnd.cpp.o: In function `MapWnd::RenderStarfields()':
MapWnd.cpp:(.text+0x4884): undefined reference to `RandGaussian(double, double)'
MapWnd.cpp:(.text+0x48a2): undefined reference to `RandGaussian(double, double)'


Top
 Profile  
 
PostPosted: Thu Sep 17, 2015 8:36 pm 
Offline
Programming, Design, Admin
User avatar

Joined: Wed Oct 08, 2003 1:33 am
Posts: 12013
Location: Munich
Try adding
Code:
#include "../util/Random.h"
near the top, amongst the other includes.

Edit: nevermind, it's already there.

Edit2: Try adding "FO_COMMON_API " before the declaration of RandGaussian in Random.h (at the bottom).


Top
 Profile  
 
PostPosted: Thu Sep 17, 2015 9:23 pm 
Offline
Space Floater

Joined: Fri Aug 14, 2015 8:29 pm
Posts: 47
Success. :)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 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