cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - New to the community? Learn how to post a question and get help from PTC and industry experts! X

Connecting Cero parametric 10 (Toolkit) and Visual studio

PH_10785300
4-Participant

Connecting Cero parametric 10 (Toolkit) and Visual studio

I'm experiencing significant issues connecting Creo Parametric with Visual Studio. Currently, I'm referring to the "Creo Object Toolkit C++ Release Notes" for guidance, but I'm encountering numerous errors. Could you provide a step-by-step guide on how to properly connect Creo and Visual Studio?

Thank you.

ACCEPTED SOLUTION

Accepted Solutions
Ben_C
12-Amethyst
(To:PH_10785300)

Those errors suggest that in your project properties you have not included the directories where those header files exist , e.g.:

Ben_C_0-1723729035618.png

 

The paths you would need to include are:

<Creo install loaction> \Common Files\otk\otk_cpp\include\

<Creo install loaction> \Common Files\otk\otk_cpp\otk_examples\includes\

View solution in original post

7 REPLIES 7
Ben_C
12-Amethyst
(To:PH_10785300)

See section "Debugging Creo TOOLKIT Applications" in "Creo Toolkit User's Guide" aka tkuse.pdf

PH_10785300
4-Participant
(To:Ben_C)

Like These types of errors i am getting,

PH_10785300_1-1723721582919.png

PH_10785300_2-1723721631320.png

 

 

Ben_C
12-Amethyst
(To:PH_10785300)

Those errors suggest that in your project properties you have not included the directories where those header files exist , e.g.:

Ben_C_0-1723729035618.png

 

The paths you would need to include are:

<Creo install loaction> \Common Files\otk\otk_cpp\include\

<Creo install loaction> \Common Files\otk\otk_cpp\otk_examples\includes\

PH_10785300
4-Participant
(To:Ben_C)

PH_10785300_0-1723733881092.png

After including Directory i a getting these errors. please help to solve this

 

Ben_C
12-Amethyst
(To:PH_10785300)

You cannot launch the compiled application directly from Visual Studio, you need to launch Creo with your application loaded and then "Attached to Process" Xtop.exe from within VS.

 

Look into <Creo inst>\Common Files\protoolkit\Creo_Toolkit_GSG.pdf for initial information and Chapter 94 in tkuse.pdf for a more in depth guide.

PH_10785300
4-Participant
(To:Ben_C)

Parametric is open, code having 0 errors, but still i am getting error like,

Unable start the program "C:\Program Files\PTC\Creo 10.0.0.0\Common Files\otk\otk_cpp\x86e_win64\obj\otk_install\otk_install\otk_install\x64\Debug\otk_install.log

the system cannot find the file specified

PH_10785300
4-Participant
(To:Ben_C)

Also i am getting same error like before,

PH_10785300_0-1723756531444.png

after adding the path of the directories.

PH_10785300_1-1723756607211.png

and in empty screen i am getting error like

PH_10785300_2-1723756665228.png

please help me to solve this

Announcements


Top Tags