Skip to main content
14-Alexandrite
June 18, 2017
Solved

CREO 4.0 OTK C++ Environment Setup

  • June 18, 2017
  • 1 reply
  • 2902 views

Hi Guys,

I am a beginner in CREO OTK using C++ and using Visual Studio 2015. I write the functions user_initialize and user_terminate.

On rebuild the project I getting the  #error directive: "Either PLATFORM or PRO_MACHINE must be defined"

Kindly help me in rebuild the code without error.

Thank you for all your help in advance.

Regards,

Naveen.

Best answer by Navku

Adding PRO_MACHINE in Preprocessor Definitions builds the applications. Unlocking the applications in CREO 4.0 F000 and M010 are having bug which is corrected in M020.

1 reply

Navku14-AlexandriteAuthorAnswer
14-Alexandrite
July 4, 2017

Adding PRO_MACHINE in Preprocessor Definitions builds the applications. Unlocking the applications in CREO 4.0 F000 and M010 are having bug which is corrected in M020.