Jump to content

Welcome to eMastercam

Register now to participate in the forums, access the download area, buy Mastercam training materials, post processors and more. This message will be removed once you have signed in.

Use your display name or email address to sign in:

CollinJ

Verified Members
  • Posts

    9
  • Joined

  • Last visited

Posts posted by CollinJ

  1. After some tinkering, I was able to eliminate the Linker error #1104.

    Now I am experiencing a different error:

     

    Error	2	error LNK2001: unresolved external symbol "__declspec(dllimport) char __cdecl sld_extrude_from_chain(struct CHAIN *,struct SLD_EXTRUDE_PARAMS &,int,int *,char *)" (__imp_?sld_extrude_from_chain@@YADPEAUCHAIN@@AEAUSLD_EXTRUDE_PARAMS@@HPEAHPEAD@Z)	C:\Users\johnstonco\documents\visual studio 2013\Projects\CHookWizard3\CHookWizard3\main.obj	CHookWizard3

     

  2. Hi Roger,

    I have tried with Mastercam 2017 and x9. MCGeomSld.lib is included in project dependencies.

    Here is the actual linker error:

    LINK: fatal error LNK1104: cannot open file 'mcgeomsld.lib'

    Here's how I'm using the function:

    CHAINS *chains=nullptr;
    if (chain_1("Select a chain", &chains)==CHAIN_OK){
      SLD_EXTRUDE_PARAMS params;
      InitExtrudeParams(params);
      result=sld_extrude_from_chain(chains,params,0,nullptr,_T("NewExtrude"));
    }

    Where the InitExtrudeParams function defines all of the members of params.

     

  3. Hi,

    I have been playing with the C-Hook SDK Introduction examples by Mick George - in particular the SolidExtrusion CHook. I swapped out the DoExtrude() function call in the main method with a call to the TestSolidExtrude function. I am now getting a linker error saying: cannot open file 'mcgeomsld.lib'.

    In another application I am using the sld_extrude_from_chain() function and also am running into linker errors. The call in my other application looks identical to Mick's function call.

    Any thoughts?

    Thanks

Join us!

eMastercam - your online source for all things Mastercam.

Together, we are the strongest Mastercam community on the web with over 56,000 members, and our online store offers a wide selection of training materials for all applications and skill levels.

Follow us

×
×
  • Create New...