ComputationalPersuasion / stardec

MIT License
2 stars 0 forks source link

CMake Error at CMakeLists.txt:16 (add_subdirectory) #1

Open ivanDonadello opened 4 years ago

ivanDonadello commented 4 years ago

Hello @EHadoux ,

I've found some problems with cmake ., here is the output:

-- The C compiler identification is GNU 7.4.0 -- The CXX compiler identification is GNU 7.4.0 -- Check for working C compiler: /usr/bin/cc -- Check for working C compiler: /usr/bin/cc -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: /usr/bin/c++ -- Check for working CXX compiler: /usr/bin/c++ -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done CMake Error at CMakeLists.txt:16 (add_subdirectory): The source directory

/home/donadello/Downloads/stardec/lib/splittercell

does not contain a CMakeLists.txt file. -- Configuring incomplete, errors occurred! See also "/home/donadello/Downloads/stardec/CMakeFiles/CMakeOutput.log".

Could you please help me in this issue?

Ivan

EHadoux commented 4 years ago

Hi @ivanDonadello, have you done git submodule update --remote as written in the Readme? To me, the error you have means that /home/donadello/Downloads/stardec/lib/splittercell is empty.

EHadoux commented 4 years ago

I'm curious to know what you are going to use it for now!

ivanDonadello commented 4 years ago

Thanks for the reply @EHadoux, I run git submodule update --remote but with no effect: the lib/spittercell folder remains empty. I tried on Mac and Ubuntu within the same network. Am I making any mistake? I run the command inside the stardec folder.

By the way, I am trying to build a virtual agent for behavioral change for the Mediterranean diet based on user preferences. That is, the agent proposes arguments that potentially could interest the user. Thus the framework and code developed in the Computation Persuasion project is a precious starting point.

EHadoux commented 4 years ago

Sorry, that's my fault. I've change the Readme but basically you have to run git submodule init before the update to notify git of the existence of the submodule.

That's great, don't hesitate to make pull requests if you want some of your changes to be integrated in the repo.

ivanDonadello commented 4 years ago

Now it works, thank you!

I'll make the pull requests but before I think I'll send you private messages to use the code: I would like to understand the conversion from argument graphs to decision trees.