If I clone agros2d and then go into the agros2d directory and type cmake . , the result is the message: “hermes has no CmakeLists.txt”
What's the solution to this problem? I did something probably silly and created a blank CmakeLists.txt file in the initially empty hermes directory within agros2d. When I then run cmake . , the command executes without errors. However, when I then type “make” , after about 58% of complilation, the process crashes with the message:
“Scanning dependencies of target module_xml
[ 58%] Generating ../resources_source/classes/module_xml.cpp, ../resources_source/classes/module_xml.h
/bin/sh: 1: cxx-tree: not found
make[2]: *** [resources_source/classes/module_xml.cpp] Error 127
make[1]: *** [agros2d-library/CMakeFiles/module_xml.dir/all] Error 2
make: *** [all] Error 2 ”
I'm wondering whether I don't have the right dependences for reading/writing xml? What package would fix that?
I already have hermes compiled on my computer. As another test I tried copying my compiled hermes directory into the agros2d directory to replace the blank hermes directory, but then when I type cmake . in the agros2d directory, I get this error:
“CMake Error at hermes/CMakeLists.txt:344 (MESSAGE):
WhenBSON_LIBRARYisdefined,somustbeBSON_INCLUDE_DIR. ”
I am able to install agros2d using the apt-get install command, which leads me to believe that I have all the required dependencies, but I would also like to be able to compile from source. If you guys could give me any directions that would be greatly appreciated.
Thanks!
Alex
--
You received this message because you are subscribed to the Google Groups "Agros2D" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agros2d+u...@googlegroups.com.
To post to this group, send email to agr...@googlegroups.com.
Visit this group at http://groups.google.com/group/agros2d.
For more options, visit https://groups.google.com/d/optout.