Help with setting up

Questions, problems and discussion about compiling FreeOrion.

Moderator: Oberlus

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

Re: Help with setting up

#16 Post by em3 »

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.
https://github.com/mmoderau
[...] 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: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Help with setting up

#17 Post by o01eg »

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-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Help with setting up

#18 Post by em3 »

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).
https://github.com/mmoderau
[...] 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: 2004
Joined: Sat Dec 10, 2011 5:46 am

Re: Help with setting up

#19 Post by o01eg »

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-11.2, boost-1.78.0
Ubuntu Server 22.04 x64, gcc-12, boost-1.74.0
Welcome to the slow multiplayer game at freeorion-lt.dedyn.io.Version 2024-03-15.b3de094.
Donations're welcome:BTC:bc1q007qldm6eppqcukewtfkfcj0naut9njj7audnm

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

Re: Help with setting up

#20 Post by em3 »

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.
https://github.com/mmoderau
[...] 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: 630
Joined: Sun Sep 25, 2011 2:51 pm

Re: Help with setting up

#21 Post by em3 »

https://github.com/mmoderau
[...] 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