[ERROR] [SofaRuntime] TypeError: __init__() missing 1 required positional argument: 'realTimeClock' #4531
-
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Maybe @samuelmyoussef may help 🙏 |
Beta Was this translation helpful? Give feedback.
-
|
It seems like you're using an older version of SPLIB, you need to be using splib3. You should make sure that STLIB is included in your build and add |
Beta Was this translation helpful? Give feedback.
-
|
I have re-installed the Sofa and required plugins with in-tree build. I added the following two lines in CMakeLists.txt in sofa/src to fix the bug (error: 'is_same_v' is not a member of 'std') Then, I added required plugins using plugin manager. The bug was fixed :) |
Beta Was this translation helpful? Give feedback.

I have re-installed the Sofa and required plugins with in-tree build.
I added the following two lines in CMakeLists.txt in sofa/src to fix the bug (error: 'is_same_v' is not a member of 'std')
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)
Then, I added required plugins using plugin manager.
The bug was fixed :)