Help with setting up

Questions, problems and discussion about compiling FreeOrion.

Moderators: Oberlus, Oberlus

Message
Author
User avatar
em3
Vacuum Dragon
Posts: 599
Joined: Sun Sep 25, 2011 2:51 pm

Re: Help with setting up

#16 Post by em3 » Mon May 06, 2019 9:20 am

o01eg wrote:
Mon May 06, 2019 8:30 am
SDK builds as release with symbols.
... I think I'll try to prepare dependencies without SDK, then.
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556

o01eg
Programmer
Posts: 570
Joined: Sat Dec 10, 2011 5:46 am

Re: Help with setting up

#17 Post by o01eg » Mon May 06, 2019 9:24 am

em3 wrote:
Mon May 06, 2019 9:20 am
o01eg wrote:
Mon May 06, 2019 8:30 am
SDK builds as release with symbols.
... I think I'll try to prepare dependencies without SDK, then.
You could build SDK with your own configuration.
Gentoo Linux x64, gcc-9.2, boost-1.71.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to slow multiplayer game at freeorion-lt.dedyn.io. Version 2019-12-08.203bc4c.
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

User avatar
em3
Vacuum Dragon
Posts: 599
Joined: Sun Sep 25, 2011 2:51 pm

Re: Help with setting up

#18 Post by em3 » Mon May 06, 2019 9:31 am

o01eg wrote:
Mon May 06, 2019 9:24 am
You could build SDK with your own configuration.
D'oh

I really appreciate your support, o01eg (and stating the obvious to my stale mind).
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556

o01eg
Programmer
Posts: 570
Joined: Sat Dec 10, 2011 5:46 am

Re: Help with setting up

#19 Post by o01eg » Sat May 18, 2019 8:21 pm

adrian_broher wrote:
Sat Apr 27, 2019 1:52 pm
Geoff the Medio wrote:
Sat Apr 27, 2019 10:35 am
The second pull request was repeatedly tested and given feedback, until you wrote that it broke more than it fixed. If you now think it is worth merging, please write that or do so. I defer to your judgement for pull requests such as this.
I still consider it the inferior solution as it doesn't allow the build of shared libraries and only somehow fixes the windows build by copying the behaviour of the VS solution. It doesn't fix the inherit flaws of it.
I think it better to have cmake builds project like a VS solution than not to have any cmake builds.
Gentoo Linux x64, gcc-9.2, boost-1.71.0
Ubuntu Server 18.04 x64, gcc-7.4, boost-1.65.1
Welcome to slow multiplayer game at freeorion-lt.dedyn.io. Version 2019-12-08.203bc4c.
Donates are welcome: BTC:14XLekD9ifwqLtZX4iteepvbLQNYVG87zK

User avatar
em3
Vacuum Dragon
Posts: 599
Joined: Sun Sep 25, 2011 2:51 pm

Re: Help with setting up

#20 Post by em3 » Mon Oct 07, 2019 9:24 am

I finally managed to build freeorion. I made an out of source build of both freeorion-sdk and freeorion and checked out freeorion sources outside the SDK build directory. AMA

But seriously, I will post a patch to CMakeLists.txt soon-ish, which changes:

Code: Select all

    set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/..")
to:

Code: Select all

    set(CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/.." CACHE PATH "Location of the FreeOrionSDK root")
I need to run it from command line:

Code: Select all

PS C:\Users\miron\Git\freeorion> C:\Users\miron\Documents\Build\freeorion\RelWithDebInfo\FreeOrion.exe
How do I create the config.xml file so that I can specify the path to default directory and then run FreeOrion.exe from explorer?

Edit: OK, I got it. It was created after a successfull start and remembered the resources path. Good.
[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556

User avatar
em3
Vacuum Dragon
Posts: 599
Joined: Sun Sep 25, 2011 2:51 pm

Re: Help with setting up

#21 Post by em3 » Mon Oct 07, 2019 4:56 pm

[...] for Man has earned his right to hold this planet against all comers, by virtue of occasionally producing someone totally batshit insane. - Randall Munroe, title text to xkcd #556

Post Reply