iCAx开思网

标题: 新手 protoolkit测试求助,大家帮帮我吧 [打印本页]

作者: 关键时刻    时间: 2012-4-25 10:34
标题: 新手 protoolkit测试求助,大家帮帮我吧
大家好,我刚接触proe,测试protoolkit过程中遇到了问题,用的是pro4.0和vc6.0 ,我将"make.install"改为“make.install.mak”后直接用VC打开,建立项目,然后F7
截取一段make.install.mak的断码如下
# File Name
MAKEFILENAME = make_install
# Machine Type
PRO_MACHINE_TYPE = i486_nt
# Executable names
EXE = pt_inst_test.exe
EXE_DLL = pt_inst_test.dll
# Pro/Toolkit Source & Machine Loadpoint  (EXTERNAL USE - DEFAULT)
PRCTOOL_SRC = D:\ptc\proeWildfire4\protoolkit
PROTOOL_SYS = $(PROTOOL_SRC)/$(PRO_MACHINE_TYPE)
# Pro/Toolkit Source & Machine Loadpoint  (PTC INTERNAL USE)
#PROTOOL_SRC = $(PTCSRC)/protoolkit
#PROTOOL_SYS = $(PTCSYS)
# Include File Paths
INCS = -I. -I$(PROTOOL_SRC)/protk_appls/includes -I$(PROTOOL_SRC)/includes
# Compiler Flags
CC = cl
MACH = -DPRO_MACHINE=29 -DPRO_OS=4
CCFLAGS = -c -fp:precise -DUSE_ANSI_IOSTREAMS  
CFLAGS = $(CCFLAGS) $(INCS) $(MACH)
# Libraries
PTCLIBS = $(PROTOOL_SYS)/obj/protoolkit.lib
PTCLIBS_DLL = $(PROTOOL_SYS)/obj/protk_dll.lib
LIBS = libcmt.lib kernel32.lib user32.lib wsock32.lib advapi32.lib mpr.lib winspool.lib netapi32.lib psapi.lib gdi32.lib shell32.lib comdlg32.lib ole32.lib ws2_32.lib
# Object files
OBJS = TestInstall.obj TestError.obj TestRunmode.obj UtilString.obj PTApplsUnicodeUtils.obj

编译错误为:
Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
NMAKE : fatal error U1073: don't know how to make '/protk_appls/pt_install_test/pt_install_src/TestInstall.c'
Stop.
Error executing NMAKE.
make_install1.exe - 1 error(s), 0 warning(s)

请教一下大侠们怎么解决啊,我弄了半天了,还是没解决!谢谢各位了
还有一个问题,我自己按照参考书上写了个程序,编译通过没问题,可是不能生成可执行文件,出现上千个错误,都是类似
“proe.obj : error LNK2001: unresolved external symbol __chkesp”这样的。大家帮帮我吧,再次感谢


作者: Mcuikai    时间: 2012-4-25 13:00
不会,帮顶!




欢迎光临 iCAx开思网 (https://www.icax.org/) Powered by Discuz! X3.3