Hello Sir/Madam
i am facing problem in compiling Aspose.Pdf sample for C++ which i have downloaded from github
D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\fwd.h(19,11): error C3816: ‘interface System::IFormatProvider’ was previously declared or defined with a different managed modifier
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\diagnostics\debug.h(15,26): error C2989: ‘System::Array’: class template has already been declared as a non-class template
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\diagnostics\debug.h(15,1): error C3856: ‘System’: symbol is not a class template
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\diagnostics\debug.h(16,23): error C2947: expecting ‘>’ to terminate template-argument-list, found ‘<’
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\diagnostics\debug.h(16,55): error C2061: syntax error: identifier ‘T’
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\diagnostics\debug.h(62,8): error C2631: ‘Debug’: a class or enum cannot be defined in an alias template
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\diagnostics\debug.h(123,2): error C2059: syntax error: ‘’
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\details\makeobject_leakage_detector.h(17,7): error C2631: ‘MakeObjectLeakageDetector’: a class or enum cannot be defined in an alias template
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\details\makeobject_leakage_detector.h(210,3): error C2059: syntax error: ‘’
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
1>D:\DDrive\MYProjectsNew\Research\Aspose.PDF-for-C-master\Aspose.PDF-for-C-master\Examples\packages\CodePorting.Translator.Cs2Cpp.Framework.24.4.0\build\native\include\system\refcount.h(16,7): error C2631: ‘RefCount’: a class or enum cannot be defined in an alias template
1>(compiling source file ‘Annotations/AddAnnotation.cpp’)
plz help
Thanks and Regards
Santosh Menon