Forum



Incubbus am 10.01.2016 15:37 #13970


Hey,

when i try to setup build with CMake 3.4.0 (for VS 2015), i followed the steps providede (https://github.com/Return-To-The-Roots/s25client) but receive the following errors in CMake (and no .sln-file being created):

Code:
CMake Error at CMakeLists.txt:240 (ADD_SUBDIRECTORY):
  The source directory

    C:/[...]Desktop/s25client-master/version

  does not contain a CMakeLists.txt file.


Same error show up for

  • s25client-master/libendian

  • s25client-master/mygettext

  • s25client-master/libsiedler2

  • s25client-master/libutil

  • s25client-master/liblobby

  • s25client-master/s-c

  • s25client-master/s25update



What am i doing wrong here?

Editiert von Incubbus am 10.01.2016 15:38

Incubbus am 10.01.2016 15:53 #13971


I did the mistake and thought, that downloading the master branch from GitHub as ZIP would be enough.
But the referenced parts won't be downloaded automatically (--recursive).

<= For anyone experiencing the same "Brain-Lag"^^


Spike am 10.01.2016 17:24 #13973

Im Ruhestand
Zitat:
Steps:

Clone GIT Repository from https://github.com/Return-To-The-Roots/s25client

Using Git bash:

git clone --recursive https://github.com/Return-To-The-Roots/s25client s25client


https://github.com/Return-To-The-Roots/s25client#steps-1

But you already 'fixed' it so, hopefully the build works as well ;)

---



Incubbus am 10.01.2016 23:24 #13975


Nope... Build fails with a ton of errors like the following:
Code:

Severity    Code    Description    Project    File    Line    Suppression State
Error    C2672    'boost::type_of::encode_start': no matching overloaded function found (compiling source file [..]Desktops25client-mastersrcCatapultStone.cpp)    s25client    [..]desktops25client-mastersrchelperstraits.h    102    



Spike am 11.01.2016 06:25 #13976

Im Ruhestand
I sonst know if flamefire is still active in this forum, if not you may open a github issue.

Sorry, I can't help with that problem.

---



Flamefire am 11.01.2016 17:35 #13977


I am. Sometimes...
I need more information. Seems you use Visual Studio? Which version?
Which boost version do you use?
Can I get more of that error? In the log (Output) there is a kind of trace where that error originates (including types and src files and line numbers) I guess there are lots of similar ones. I need about 2 such complete messages that are next to each other.

If you like, contact me on IRC (name Flamefire when I'm on. Flamefire2 is my AFK account and I won't respond then)


PS: Pitty we can't use C++11. Would make everything much easier :(

---
Github: https://github.com/Flamefire


FloSoft am 13.01.2016 18:54 #13978



Feel free to post in English!

Antwort schreiben