[CLAM] Error on XMLRestore
Xavier Amatriain
xavier at create.ucsb.edu
Wed Sep 13 09:17:13 PDT 2006
If you are using Visual Studio you need to activate Run-time information
(RTI). That option is somewhere I can't remember now (somewhere around C
++ code options?) and it enables for dynamic castings and such
On Wed, 2006-09-13 at 19:12 +0400, Sergey wrote:
> Hello CLAM.
>
> I try to count the data from XML a file. My example is compiled
> normally, but at start there is a error:
>
> This application has requested the Runtime to terminate it in an unusual way.
> Please contact the application's support team for more information.
>
> If I use exception handling a error following:
>
> Access violation - no RTTI data!
>
> I tried to compile:
> Microsoft Visual C ++ Toolkit 2003 and Intel C++ Compiler 8.0
> The result identical... I use source CLAM 0.7.0
>
> My simple example:
> #include <iostream>
> #include "SMSAnalysisSynthesisConfig.hxx"
> #include "XMLStorage.hxx"
>
> int main()
> {
> CLAM::SMSAnalysisSynthesisConfig mGlobalConfig;
> CLAM::XMLStorage::Restore(mGlobalConfig, "Elvis.xml");
> return 0;
> }
>
> SMSAnalysisSynthesisConfig and Elvis.xml I have taken from SMSTools.
>
--
/*********************************
* Xavier Amatriain *
* Associate Director - MATi *
* Research Director - CREATE *
* UCSB, Santa Barbara CA *
* 1-(805)- 893 83 52 *
********************************/
More information about the clam-users
mailing list