ProTOOLKIT在CREO6.0+VS2015环境下的配置

1,创建一个项目,名字为 TKsample,建在D盘C++目录下

D:\c++\TKsample

2,x86改成x64

3,项目属性设置(debug和release都同时设置)

  • VC++目录-->包含目录添加 .../protoolkit/includes
    
  • VC++目录-->库目录 ../protoolkit/x86e_win64/obj
    
  • C/C++-->代码生成-->运行库-->多线程DLL/MD
    
  • C/C++-->预处理器-->预处理器定义-->PRO_USE_VAR_ARGS
    

4,直接编译查看是否有错误.

5,新建项目–>类–>C++类

 类名:TK_main

6,新建–>文件–>C++头文件(.h)–>保存放在项目目录下,tkinclude.h

tkinclude.h包含内容(常用的都放进去,省得以后添加)

#pragma once
#ifndef TKIncludeInc_H
#define TKIncludeInc_H
#include<ProToolkit.h>
#include<Pro2dEntdef.h>
#include<ProANSI.h>
#include<ProAnimate.h>
#include<ProArray.h>
#include<ProAsmcomp.h>
#include<ProAsmcomppath.h>
#include<ProAssembly.h>
#include<ProAxis.h>
#include<ProChamfer.h>
#include<ProClCmd.h>
#include<ProColor.h>
#include<ProCollect.h>
#include<ProComm.h>
#include<ProConst.h>
#include<ProContour.h>
#include<ProContourdata.h>
#include<ProCore.h>
#include<ProCsys.h>
#include<ProCsysdata.h>
#include<ProCurve.h>
#include<ProCurvedata.h>
#include<ProDatumdata.h>
#include<ProDimension.h>
#include<ProDisplist.h>
#include<ProDwgtable.h>
#include<ProDtmAxis.h>
#include<ProDtmCrv.h>
#include<ProDtmCrvSketch.h>
#include<ProDtmCsys.h>
#includ
  • 1
    点赞
  • 11
    收藏
    觉得还不错? 一键收藏
  • 1
    评论
评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值