Hi, all:
when I build it, below issue printing. is there some suggestion?
my environment is, debian 9.
Guo Issac.
[ 9%] Building CXX object src/asiActiveData/CMakeFiles/asiActiveData.dir/STD/ActData_RealVarPartition.cpp.o
[ 9%] Building CXX object src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionAsset.cpp.o
[ 9%] Building CXX object src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionCtx.cpp.o
/36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp: In member function ‘Standard_Boolean ActData_CAFConversionCtx::Apply(const opencascade::handle<ActAPI_IModel>&, const opencascade::handle<Message_ProgressIndicator>&)’:
/36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:119:33: warning: ‘Message_ProgressSentry’ is deprecated: Deprecated class, Message_ProgressScope should be used instead [-Wdeprecated-declarations]
Message_ProgressSentry PEntry(theProgress, "CAF_CONVERSION_CTX_APPLYING", 0, 2, 1);
^~~~~~~~~~~
In file included from /36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:47:0:
/usr/local/include/opencascade/Message_ProgressSentry.hxx:22:1: note: declared here
Message_ProgressSentry : public Message_ProgressScope
^~~~~~~~~~~~~~~~~~~~~~
/36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:119:84: error: ‘Message_ProgressSentry::Message_ProgressSentry(const opencascade::handle<Message_ProgressIndicator>&, Standard_CString, Standard_Real, Standard_Real, Standard_Real, Standard_Boolean, Standard_Real)’ is private within this context
Message_ProgressSentry PEntry(theProgress, "CAF_CONVERSION_CTX_APPLYING", 0, 2, 1);
^
In file included from /36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:47:0:
/usr/local/include/opencascade/Message_ProgressSentry.hxx:46:3: note: declared private here
Message_ProgressSentry (const Handle(Message_ProgressIndicator)& theProgress,
^~~~~~~~~~~~~~~~~~~~~~
src/asiActiveData/CMakeFiles/asiActiveData.dir/build.make:2222: recipe for target 'src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionCtx.cpp.o' failed
make[2]: *** [src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionCtx.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/asiActiveData/CMakeFiles/asiActiveData.dir/all' failed
make[1]: *** [src/asiActiveData/CMakeFiles/asiActiveData.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2
when I build it, below issue printing. is there some suggestion?
my environment is, debian 9.
Guo Issac.
[ 9%] Building CXX object src/asiActiveData/CMakeFiles/asiActiveData.dir/STD/ActData_RealVarPartition.cpp.o
[ 9%] Building CXX object src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionAsset.cpp.o
[ 9%] Building CXX object src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionCtx.cpp.o
/36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp: In member function ‘Standard_Boolean ActData_CAFConversionCtx::Apply(const opencascade::handle<ActAPI_IModel>&, const opencascade::handle<Message_ProgressIndicator>&)’:
/36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:119:33: warning: ‘Message_ProgressSentry’ is deprecated: Deprecated class, Message_ProgressScope should be used instead [-Wdeprecated-declarations]
Message_ProgressSentry PEntry(theProgress, "CAF_CONVERSION_CTX_APPLYING", 0, 2, 1);
^~~~~~~~~~~
In file included from /36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:47:0:
/usr/local/include/opencascade/Message_ProgressSentry.hxx:22:1: note: declared here
Message_ProgressSentry : public Message_ProgressScope
^~~~~~~~~~~~~~~~~~~~~~
/36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:119:84: error: ‘Message_ProgressSentry::Message_ProgressSentry(const opencascade::handle<Message_ProgressIndicator>&, Standard_CString, Standard_Real, Standard_Real, Standard_Real, Standard_Boolean, Standard_Real)’ is private within this context
Message_ProgressSentry PEntry(theProgress, "CAF_CONVERSION_CTX_APPLYING", 0, 2, 1);
^
In file included from /36G/AnalysisSitus/src/asiActiveData/Tools/ActData_CAFConversionCtx.cpp:47:0:
/usr/local/include/opencascade/Message_ProgressSentry.hxx:46:3: note: declared private here
Message_ProgressSentry (const Handle(Message_ProgressIndicator)& theProgress,
^~~~~~~~~~~~~~~~~~~~~~
src/asiActiveData/CMakeFiles/asiActiveData.dir/build.make:2222: recipe for target 'src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionCtx.cpp.o' failed
make[2]: *** [src/asiActiveData/CMakeFiles/asiActiveData.dir/Tools/ActData_CAFConversionCtx.cpp.o] Error 1
CMakeFiles/Makefile2:85: recipe for target 'src/asiActiveData/CMakeFiles/asiActiveData.dir/all' failed
make[1]: *** [src/asiActiveData/CMakeFiles/asiActiveData.dir/all] Error 2
Makefile:127: recipe for target 'all' failed
make: *** [all] Error 2