Hi, I have been using an old version (back to August 2014) of opm-parser and opm-core. I was trying to updated to the latest development version, and I am having trouble to rebuild the system up to opm-core.
I have followed the link below for the prerequisites: http://opm-project.org/?page_id=239 And this other link to respect the module inter-dependencies: http://opm-project.org/?page_id=231 I don't have any problem up to opm-parser. Then when I try to build opm-material, I can generate the make files with cmake, but I can't compile the package (i.e. when running make). At the end the email the error I get. Any idea? Thanks Paolo ERROR, see below: Scanning dependencies of target test_eclblackoilpvt [ 26%] Building CXX object CMakeFiles/test_eclblackoilpvt.dir/tests/test_eclblackoilpvt.cpp.o Linking CXX executable bin/test_eclblackoilpvt /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::initialize(std::string const&)': JsonObject.cpp:(.text+0x23): undefined reference to `cJSON_Parse' /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::~JsonObject()': JsonObject.cpp:(.text+0x461): undefined reference to `cJSON_Delete' /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::has_item(std::string const&) const': JsonObject.cpp:(.text+0x495): undefined reference to `cJSON_GetObjectItem' /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::size() const': JsonObject.cpp:(.text+0x561): undefined reference to `cJSON_GetArraySize' /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::get_array_item(unsigned long) const': JsonObject.cpp:(.text+0x5ae): undefined reference to `cJSON_GetArrayItem' /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::get_item(std::string const&) const': JsonObject.cpp:(.text+0x74a): undefined reference to `cJSON_GetObjectItem' /usr/local/lib/x86_64-linux-gnu/libopmjson.a(JsonObject.cpp.o): In function `Json::JsonObject::to_string() const': JsonObject.cpp:(.text+0xd76): undefined reference to `cJSON_Print' collect2: error: ld returned 1 exit status make[2]: *** [bin/test_eclblackoilpvt] Error 1 make[1]: *** [CMakeFiles/test_eclblackoilpvt.dir/all] Error 2 make: *** [all] Error 2
_______________________________________________ Opm mailing list [email protected] http://opm-project.org/cgi-bin/mailman/listinfo/opm
