Forum Replies Created
Viewing 3 posts - 1 through 3 (of 3 total)
-
AuthorPosts
-
Simit
BlockedHi Paul,
Thanks a lot for your response. The
runSofa --helpcleared up a lot of my queries. Feels like a rookie mistake not looking at the help.However, the
-a 1flag didn’t work for me as long as I was using the GUI. When I used the-g batchflag, I could see that the animation runs by itself. I am using the pre-compiled binary of SOFA. Do you think there might be some limitations of the commandline args in the binary version?Cheers,
SimitSimit
BlockedI was able to fix this problem by including the necessary file as recommended in SO.
Here’s my patch that helped fix this problem. I am not sure if this is a hack or a legitimate fix.
diff --git a/SofaKernel/extlibs/json/nlohmann_json.h b/SofaKernel/extlibs/json/nlohmann_json.h index e02f62b146..c79ecabc62 100644 --- a/SofaKernel/extlibs/json/nlohmann_json.h +++ b/SofaKernel/extlibs/json/nlohmann_json.h @@ -54,6 +54,7 @@ SOFTWARE. #include <memory> // allocator #include <string> // string #include <vector> // vector +#include <experimental/string_view> /*! @brief namespace for Niels Lohmann @@ -12433,7 +12434,7 @@ namespace nlohmann and not std::is_same<ValueType, std::initializer_list<typename string_t::value_type>>::value #endif #if defined(JSON_HAS_CPP_17) - and not std::is_same<ValueType, typename std::string_view>::value + and not std::is_same<ValueType, typename std::experimental::string_view>::value #endif , int >::type = 0 > operator ValueType() const -
AuthorPosts
Viewing 3 posts - 1 through 3 (of 3 total)
