Home
Reply
Regular Contributor
ejp
Posts: 94

r20 link failure

i;m trying to build my csdk application with r20 and i can't find the licensing objects, here is the error i'm getting:

 

U:\csdk\r20\test>link /INCREMENTAL:NO /NOLOGO /STACK:0x100000 /OUT:test.exe *.obj SPAXInterop.lib SPAXBase.lib SpaLicExtReg.lib
spa_unlock_2766.obj : error LNK2019: unresolved external symbol "__declspec(dllimport) public: __thiscall spa_unlock_result::~spa_unlock_result(void)" (__imp_??1spa_unlock_result@@QAE@XZ) referenced in function "void __cdecl unlock_spatial_
products_2766(void)" (?unlock_spatial_products_2766@@YAXXZ)
spa_unlock_2766.obj : error LNK2019: unresolved external symbol "__declspec(dlli
mport) class spa_unlock_result __cdecl spa_unlock_products(char const *)" (__imp
_?spa_unlock_products@@YA?AVspa_unlock_result@@PBD@Z) referenced in function "vo
id __cdecl unlock_spatial_products_2766(void)" (?unlock_spatial_products_2766@@Y
AXXZ)
test.exe : fatal error LNK1120: 2 unresolved externals

 

what interop library contains the spa_unlock objects...

=======================
Ed Paff (1.513.576.3836)
ITI TranscenData
5303 Dupont Circle
Milford, Ohio 45150
United States of America !!!!!!!
Regular Contributor
ejp
Posts: 94

Re: r20 link failure

[ Edited ]

looks like SPALicExtBase.lib is missing from the r20 release, can someone at spatial confirm this...

=======================
Ed Paff (1.513.576.3836)
ITI TranscenData
5303 Dupont Circle
Milford, Ohio 45150
United States of America !!!!!!!
Spatial Moderator
ybiyani
Posts: 223

Re: r20 link failure

Hello Ed,

 

We made a pacakging change to ACIS in R20 release  http://doc.spatial.com/index.php/ACIS_Release_Notes#Package_and_Build_Changes and merged

  • SpaBase
  • SpaAasm
  • SpaABlend
  • SpaALops
  • SpaAPart
  • SpaASurf
  • SpaAVis
  • SpaAWarp
  • and

    SPALicExtBase in SpaACIS.dll

     

    We missed noting SPALicExtBase from the list in the release notes.

     

    So if you add SpaACIS.lib to the link line this issue should be resolved. Can you please give that a try and update the post with your observations?

     

    Regards,

    Yogesh

    Regular Contributor
    ejp
    Posts: 94

    Re: r20 link failure

    yep adding the acis library fixes the link problem, thanks...

    =======================
    Ed Paff (1.513.576.3836)
    ITI TranscenData
    5303 Dupont Circle
    Milford, Ohio 45150
    United States of America !!!!!!!
    Regular Contributor
    ejp
    Posts: 94

    Re: r20 link failure

    our product manager is not very happy that we have to ship SpaACIS.dll now just to unlock our csdk implementation that does not use acis.  is there someway we can get just the small library and dll to resolve the unlock object...

    =======================
    Ed Paff (1.513.576.3836)
    ITI TranscenData
    5303 Dupont Circle
    Milford, Ohio 45150
    United States of America !!!!!!!
    Spatial Employee
    Vivekan
    Posts: 40

    Re: r20 link failure

    Hi Ed,

     

    Our licensing mechanism has a dependency on ACIS. Please submit an incident through the Online Support Center so we can review and discuss possible solutions.

     

    Thanks,

    Vivekan