[FIXED] Problem with compilation process
#1
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?
Reply
Thanks given by:
#2
Try
Code:
git submodule init
git submodule update
and try cmake again.
Reply
Thanks given by:
#3
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.
Reply
Thanks given by:
#4
No problem Smile
Reply
Thanks given by:




Users browsing this thread: 3 Guest(s)