H-uru / dirtsand

The D'ni in Real-Time Server and Network Dæmon
GNU Affero General Public License v3.0
35 stars 24 forks source link

dirtsand CMake issues #118

Closed noir4G closed 6 years ago

noir4G commented 7 years ago

Hi, I wanted to install dirtsand and followed the read me, but I always get a error message at the Compile from dirtsand in step 3 of the README $ cmake -DCMAKE_INSTALL_PREFIX=/opt/dirtsand ..

_

CMake Error at CMakeLists.txt:41 (find_package): By not providing "Findstring_theory.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "string_theory", but CMake did not find one.

Could not find a package configuration file provided by "string_theory" (requested version 1.3) with any of the following names:

string_theoryConfig.cmake
string_theory-config.cmake

Add the installation prefix of "string_theory" to CMAKE_PREFIX_PATH or set "string_theory_DIR" to a directory containing one of the above files. If "stringtheory" provides a separate development package or SDK, be sure it has been installed.

Could you please tell me which path under string_theory_Dir I have to put in? Thank you.

System: ubuntu-16.04.3-server-amd64

Package: libssl-dev (v 1.0.2g-1ubuntu4.8) postgresql (v 9.5+173) postgresql-server-dev-9.5 (v 9.5.7-0ubuntu0.16.04) libpqxx-dev (4.0.1+dfsg-3ubuntu2) autoconf (2.69-9) automake (1:1.15-4ubuntu1) libtool (2.4.6-0.1) git (1:2.7.4-0ubuntu1.2) apache2 (2.4.18-2ubuntu3.4) libpq-dev (9.5.7-0ubuntu0.16.04) libreadline-dev (6.3-8ubuntu2) g++ (4:5.3.1-1ubuntu1) zlib1g-dev (1:1.2.8.dfsg-2ubuntu4.1) postgresql-contrib (9.5+173)

          cmake (3.5.1-1ubuntu3)
          cmake-qt-gui (3.5.1-1ubuntu3)             
zrax commented 7 years ago

string_theory is a prerequisite that was added somewhat recently... I've updated the readme with a link to string_theory. You'll need to build/install it before you can build dirtsand.

noir4G commented 7 years ago

Thank you for the fast replay, I've installed string_theory library successfully, but there was an issue with the Compile again. I'm still a beginner in Linux programming, therefore I hope not to disturb you.

error (too long forhis message): https://pastebin.com/ep6TEWSQ

Besides, do you have any tips for compiling with dirtsand? Thank you again for taking time to help!

zrax commented 7 years ago

I recommend building string_theory from the 1.6 tag instead of master... master has some issues with mixing C++17 and C++11 that I haven't resolved yet.

Deledrius commented 6 years ago

Were you able to get things working, @noir4G? Do you need any additional assistance?

zrax commented 6 years ago

Closing this issue due to lack of activity. Please reopen it or open a new one if you're still having trouble.