VERIFIED SOLUTION i
X

Spectrum - Client API libraries for Microsoft Visual Studio 2010 VC++ 2010

Issue

User downloaded the most recent software development kit (SDK) that is sent to Spectrum OnDemand subscribers.
While building with Microsoft Visual Studio 2010, the following error occurs:
 
1> Creating library C:\Program Files\Pitney Bowes\Spectrum ClientSDK\ClientAPI\platforms\windows\c-c++\32\samples\v9_c++\batch\src\Debug\batch.lib and object C:\Program Files\Pitney Bowes\Spectrum ClientSDK\ClientAPI\platforms\windows\c-c++\32\samples\v9_c++\batch\src\Debug\batch.exp
1>batch.obj : error LNK2001: unresolved external symbol "public: virtual class std::_Vector_iterator<class std::_Vector_val<class SmartPointer<class DataRow>,class std::allocator<class SmartPointer<class DataRow> > > > __thiscall DataTable::iterator(void)" (?iterator@DataTable@@UAE?AV?$_Vector_iterator@V?$_Vector_val@V?$SmartPointer@VDataRow@@@@V?$allocator@V?$SmartPointer@VDataRow@@@@@std@@@std@@@std@@XZ)
1>DataFileReader.obj : error LNK2001: unresolved external symbol "public: virtual class std::_Vector_iterator<class std::_Vector_val<class SmartPointer<class DataRow>,class std::allocator<class SmartPointer<class DataRow> > > > __thiscall DataTable::iterator(void)" (?iterator@DataTable@@UAE?AV?$_Vector_iterator@V?$_Vector_val@V?$SmartPointer@VDataRow@@@@V?$allocator@V?$SmartPointer@VDataRow@@@@@std@@@std@@@std@@XZ)
1>../bin/batch.exe : fatal error LNK1120: 1 unresolved externals

Cause

User needs the libraries for Microsoft Visual Studio 2010, VC++ 2010. The libraries for Spectrum SDK only goes up to VC++ 2008.

In C:\Program Files\Pitney Bowes\Spectrum ClientSDK\ClientAPI\platforms\windows\c-c++\32\samples\v9_c++\batch and open the Readme.txt file.

The sample was built and tested on Visual C++ 2008.
 
User-added image

Resolution

UPDATED: February 13, 2015


Currently the libraries are built with VC++ 2005 and VC++ 2008. Build the application using Microsoft Visual 2005 or 2008.

An alternative is to use web services to make calls against Spectrum OnDemand.

Environment Details

Product Feature: C/C++

Downloads

  • No Downloads