Cuberite Forum
[FIXED] Problem with compilation process - Printable Version

+- Cuberite Forum (https://forum.cuberite.org)
+-- Forum: Cuberite (https://forum.cuberite.org/forum-4.html)
+--- Forum: Development (https://forum.cuberite.org/forum-13.html)
+--- Thread: [FIXED] Problem with compilation process (/thread-1548.html)



[FIXED] Problem with compilation process - Chlorek - 08-13-2014

Hi, so I want to compile MCServer myself on CentOS 6, because this system lacks required glibc version. Everything seems to be simple but I can't figure out how to fix this error when running CMake:

Code:
CMake Error at CMakeLists.txt:71 (add_subdirectory):
  The source directory

    /home/chlorek/MCServer-master/lib/SQLiteCpp

  does not contain a CMakeLists.txt file.


CMake Error at CMakeLists.txt:79 (set_property):
  set_property could not find TARGET SQLiteCpp.  Perhaps it has not yet been
  created.


including polarssl
CMake Error at lib/polarssl.cmake:9 (add_subdirectory):
  The source directory

    /home/chlorek/MCServer-master/lib/polarssl

  does not contain a CMakeLists.txt file.
Call Stack (most recent call first):
  CMakeLists.txt:88 (include)


-- Configuring incomplete, errors occurred!
What's wrong?


RE: Problem with compilation process - NiLSPACE - 08-13-2014

Try
Code:
git submodule init
git submodule update
and try cmake again.


RE: Problem with compilation process - Chlorek - 08-13-2014

Oh yes, it helped and I know why. I made a little mess, because I have two copies of sources, I just worked on a wrong one (not setup yet). Thanks for help.


RE: [FIXED] Problem with compilation process - NiLSPACE - 08-13-2014

No problem Smile