Hello,
I would like to use aspose using nuget 19.1 for C++, but the compilation failed in x64. (no librairie in package related to 64bits)
The compilation works fine in x86.
Librairies are available in the example code.
Is it possible to add x64 librairies please?
@Amjad_Sahi mjad_Sahi
Yes, and no
I already compile fine in x64 with the library you mention.
The goal with the nugget is to have a simplest portable compilation, without nugget I will be forced to create a specific trick to load library for all developers before compiling on their environment.
For industrialization, it would be more simply to have it in the nugget.
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.
This issue has been logged as
CELLSCPP-208 - No 64bits lib support in nuget Aspose.Cells.cpp
Please try our latest version/fix: Aspose.Cells for C++ v19.3.1, it includes 64bits(x64) lib in the package archive, you may get it @ Nuget repos. here:
Good to know that your issue is sorted out now with the 64-bit (x64) library uploaded on Nuget repos. Feel free to contact us any time if you need further help or have some other issue or queries, we will be happy to assist you soon.
here is the stack of the compilation error. AsposeExcelManagerLegacyImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: virtual __cdecl Aspose::Cells::System::String::~String(void)" (__imp_??1String@System@Cells@Aspose@@UEAA@XZ) referenced in function "public: virtual void * __cdecl Aspose::Cells::System::String::scalar deleting destructor’(unsigned int)" (??_GString@System@Cells@Aspose@@UEAAPEAXI@Z)`
AsposeExcelManagerLegacyImpl.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __cdecl Aspose::Cells::System::String::String(wchar_t const *)" (__imp_??0String@System@Cells@Aspose@@QEAA@PEB_W@Z) referenced in function "public: virtual void __cdecl XLS::CAsposeExcelManagerLegacyImpl::Open(class fermat::_tstring,class fermat::_tstring const &,class fermat::_tstring,bool)" (?Open@CAsposeExcelManagerLegacyImpl@XLS@@UEAAXV_tstring@fermat@@AEBV34@0_N@Z)
AsposeExcelManagerLegacyImpl.obj : error LNK2001: unresolved external symbol "public: virtual int __cdecl Aspose::Cells::System::Object::CompareTo(class boost::intrusive_ptr<class Aspose::Cells::System::Object>)" (?CompareTo@Object@System@Cells@Aspose@@UEAAHV?$intrusive_ptr@VObject@System@Cells@Aspose@@@boost@@@Z)
As requested earlier, please share the complete sample project which can be used here to reproduce this issue. We will analyze this error message here and provide assistance at the earliest.
@christophe.rivier,
We were able to observe the issue but we need to look into it more. We have logged the issue in our database for investigation and for a fix. Once, we will have some news for you, we will update you in this topic.
This issue has been logged as
CELLSCPP-209 - x64 based program compiles fine in Release mode but fails in Debug mode
Well, as a publishing library,we have to publish release version. Actually in release mode you can still debug in Visual Studio. Of course, we can publish a new library in Nuget to make your program compiled successfully in Debug mode. But the release library works the same as debug lib.