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:

building Hello World in VS2010 c-hook


Recommended Posts

I'm having trouble builiing the hello world c-hook in VS2010.

This is the error message i get from the build window:

 

1>------ Build started: Project: HelloWorld, Configuration: Debug Win32 ------

1> main.cpp

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(26): error C2039: 'shared_ptr' : is not a member of 'std::tr1'

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(26): error C2143: syntax error : missing ';' before '<'

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(26): error C4430: missing type specifier - int assumed. Note: C++ does not support default-int

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(27): error C2039: 'shared_ptr' : is not a member of 'std::tr1'

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(27): warning C4091: 'typedef ' : ignored on left of 'int' when no variable is declared

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(27): error C2143: syntax error : missing ';' before '<'

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlDefFunctions_CH.h(27): error C2059: syntax error : '<'

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlToolMill_CH.h(64): error C2065: 'tp_tool_ptr' : undeclared identifier

1>c:\program files (x86)\mcamx5\sdk\interfaces\core\TlToolLathe_CH.h(59): error C2065: 'LATHETOOL_PTR' : undeclared identifier

1> StdAfx.cpp

========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========

 

 

could anyone help tell me what i'm missing here....?

thanks a bunch!

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.

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...