I am trying to compile SOFA 17.12 in Fedora 26 with an external plugin, in that external plugin I have a small function that uses:
sofa::helper::parse("This is a SOFA application. Here are the command line arguments") .option(&fileName,'o',"output file","output txt file") .option(&Name,'m',"name of the first mesh in vtk","mesh_") (argc,argv);
However, when compiling the code I get the error:
error: ‘parse’ is not a member of ‘sofa::helper’
I have checked the doxygen documentation and I have seen a method called: “ArgumentParser” but not a parser method, so, this part of the code is deprecated? I have seen some calls to sofa::helper::parse in the source code of SOFA so I am a bit confused… If it is deprecated could you give me a hint on how to update it? I am sorry I am a bit novice with C++.
You must be logged in to reply to this topic.
Get involved in this forum: