乐筑天下

搜索
欢迎各位开发者和用户入驻本平台 尊重版权,从我做起,拒绝盗版,拒绝倒卖 签到、发布资源、邀请好友注册,可以获得银币 请注意保管好自己的密码,避免账户资金被盗
查看: 128|回复: 9

请大虾帮忙看一下,我的程序问题出在哪?

[复制链接]

7

主题

18

帖子

4

银币

初来乍到

Rank: 1

铜币
46
发表于 2004-8-13 10:22:00 | 显示全部楼层 |阅读模式
我在编译ARX“椭圆”示例程序时,总是提示如下:请大虾帮忙看一下程序有什磨问题?多谢各位大峡!
--------------------Configuration: 椭圆 - Win32 Debug--------------------
Compiling...
椭圆.cpp
d:\documents and settings\administrator\my documents\综合文件1\椭圆.cpp(33) : fatal error C1083: Cannot open include file: 'dbjig.h': No such file or directory
Error executing cl.exe.
椭圆.obj - 1 error(s), 0 warning(s)
回复

使用道具 举报

14

主题

202

帖子

4

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
258
发表于 2004-8-13 15:55:00 | 显示全部楼层
设置inc路径
回复

使用道具 举报

22

主题

54

帖子

4

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
142
发表于 2004-8-18 08:15:00 | 显示全部楼层
Cannot open include file: 'dbjig.h': No such file or directory
Error executing cl.exe.
其中文意思就是:无法打开dbjig.h文件:没有这个文件或路径。。。
你要设置头文件'dbjig.h'所在的路径才行,在INC配置项中有的。
回复

使用道具 举报

4

主题

7

帖子

1

银币

初来乍到

Rank: 1

铜币
23
发表于 2004-8-19 17:12:00 | 显示全部楼层
在vc6的project的setting中
回复

使用道具 举报

7

主题

18

帖子

4

银币

初来乍到

Rank: 1

铜币
46
发表于 2004-8-27 11:02:00 | 显示全部楼层
我按照各位大虾的建议进行了设置,但是编译“*.ARX”文件是仍然出错,请各位大虾在看一下,问题出在哪?
--------------------Configuration: 椭圆 - Win32 Debug--------------------
Compiling...
tuoyuan.cpp
D:\Documents and Settings\Administrator\My Documents\综合文件1\tuoyuan.cpp(239) : error C2065: 'RTSHORT' : undeclared identifier
Error executing cl.exe.
tuoyuan.obj - 1 error(s), 0 warning(s)
回复

使用道具 举报

14

主题

202

帖子

4

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
258
发表于 2004-8-27 11:15:00 | 显示全部楼层
please include "stdAfx.h"
回复

使用道具 举报

7

主题

18

帖子

4

银币

初来乍到

Rank: 1

铜币
46
发表于 2004-8-28 10:16:00 | 显示全部楼层
我按照各位大虾的建议进行了设置,但是编译“椭圆. CPP”时,没有错误和警告,但是在构件“椭圆.ARX”时,显示如下错误,请各位大虾在看一下,问题出在哪?
--------------------Configuration: 椭圆 - Win32 Debug--------------------
Compiling...
Skipping... (no relevant changes detected)
椭圆.cpp
椭圆.obj - 0 error(s), 0 warning(s)
--------------------Configuration: 椭圆 - Win32 Debug--------------------
Linking...
LINK : warning LNK4098: defaultlib "msvcrt.lib" conflicts with use of other libs; use /NODEFAULTLIB:library
椭圆.obj : error LNK2001: unresolved external symbol "public: virtual class AcRxClass * __thiscall AcEdJig::isA(void)const " (?isA@AcEdJig@@UBEPAVAcRxClass@@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: virtual __thiscall AcEdJig::~AcEdJig(void)" (??1AcEdJig@@UAE@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall AcGeVector3d::AcGeVector3d(class AcGeVector3d const &)" (__imp_??0AcGeVector3d@@QAE@ABV0@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall AcGeVector3d::AcGeVector3d(void)" (__imp_??0AcGeVector3d@@QAE@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall AcGePoint3d::AcGePoint3d(void)" (__imp_??0AcGePoint3d@@QAE@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: __thiscall AcGePoint3d::AcGePoint3d(class AcGePoint3d const &)" (__imp_??0AcGePoint3d@@QAE@ABV0@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: __thiscall AcEdJig::AcEdJig(void)" (??0AcEdJig@@QAE@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: static void __cdecl AcDbObject:perator delete(void *)" (??3AcDbObject@@SAXPAX@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: class AcDbObjectId         __thiscall AcEdJig::append(void)" (?append@AcEdJig@@QAE?AVAcDbObjectId@@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: enum AcEdJig:ragStatus         __thiscall AcEdJig::drag(void)" (?drag@AcEdJig@@QAE?AW4DragStatus@1@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: void __cdecl AcEdJig::setDispPrompt(char const *,...)" (?setDispPrompt@AcEdJig@@QAAXPBDZZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: __thiscall AcDbEllipse::AcDbEllipse(void)" (??0AcDbEllipse@@QAE@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: static void * __cdecl AcDbObject:perator new(unsigned int)" (??2AcDbObject@@SAPAXI@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: enum AcEdJig:ragStatus         __thiscall AcEdJig::acquireDist(double &,class AcGePoint3d const &)" (?acquireDist@AcEdJig@@QAE?AW4DragStatus@1@AANABVAcGePoint3d@@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: int __thiscall AcGePoint3d:perator!=(class AcGePoint3d const &)const " (__imp_??9AcGePoint3d@@QBEHABV0@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: enum AcEdJig:ragStatus         __thiscall AcEdJig::acquirePoint(class AcGePoint3d &,class AcGePoint3d const &)" (?acquirePoint@AcEdJig@@QAE?AW4DragStatus@1@AAVAcGePoint3d@@ABV3@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: void __thiscall AcEdJig::setUserInputControls(enum AcEdJig::UserInputControls)" (?setUserInputControls@AcEdJig@@QAEXW4UserInputControls@1@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: enum Acad::ErrorStatus         __thiscall AcDbEllipse::set(class AcGePoint3d const &,class AcGeVector3d const &,class AcGeVector3d const &,double,double,double)" (?set@AcDbEllipse@@QAE?AW4ErrorS
tatus@Acad@@ABVAcGePoint3d@@ABVAcGeVector3d@@1NNN@Z)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: double __thiscall AcGeVector3d::length(void)const " (__imp_?length@AcGeVector3d@@QBENXZ)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class AcGeVector3d         __thiscall AcGePoint3d:perator-(class AcGePoint3d const &)const " (__imp_??GAcGePoint3d@@QBE?AVAcGeVector3d@@ABV0@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class AcGeVector3d & __thiscall AcGeVector3d::normalize(class AcGeTol const &)" (__imp_?normalize@AcGeVector3d@@QAEAAV1@ABVAcGeTol@@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: static class AcGeTol         AcGeContext::gTol" (__imp_?gTol@AcGeContext@@2VAcGeTol@@A)
椭圆.obj : error LNK2001: unresolved external symbol "__declspec(dllimport) public: class AcGeVector3d         __thiscall AcGeVector3d::crossProduct(class AcGeVector3d const &)const " (__imp_?crossProduct@AcGeVector3d@@QBE?AV1@ABV1@@Z)
椭圆.obj : error LNK2001: unresolved external symbol "public: class AcGeVector3d         __thiscall AcDbDatabase::ucsydir(void)const " (?ucsydir@AcDbDatabase@@QBE?AVAcGeVector3d@@XZ)
椭圆.obj : error LNK2001: unresolved external symbol "public: class AcGeVector3d         __thiscall AcDbDatabase::ucsxdir(void)const " (?ucsxdir@AcDbDatabase@@QBE?AVAcGeVector3d@@XZ)
椭圆.obj : error LNK2001: unresolved external symbol _acedTrans
椭圆.obj : error LNK2001: unresolved external symbol _acedGetPoint
LIBCD.lib(crt0.obj) : error LNK2001: unresolved external symbol _main
Debug/椭圆.arx : fatal error LNK1120: 28 unresolved externals
Error executing link.exe.
椭圆.arx - 29 error(s), 1 warning(s)
回复

使用道具 举报

34

主题

372

帖子

7

银币

中流砥柱

Rank: 25

铜币
508
发表于 2004-8-28 11:19:00 | 显示全部楼层
你把代码传上来吧,LNK2001有很多种原因。
回复

使用道具 举报

14

主题

202

帖子

4

银币

后起之秀

Rank: 20Rank: 20Rank: 20Rank: 20

铜币
258
发表于 2004-8-28 13:31:00 | 显示全部楼层

please set lib path also
回复

使用道具 举报

7

主题

18

帖子

4

银币

初来乍到

Rank: 1

铜币
46
发表于 2004-8-30 09:47:00 | 显示全部楼层
我上传代码时为什磨总是提示:“Microsoft VBScript 运行时错误 错误 '800a01b6'”。
回复

使用道具 举报

发表回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

QQ|关于我们|小黑屋|乐筑天下 繁体中文

GMT+8, 2025-2-4 21:46 , Processed in 0.160753 second(s), 72 queries .

© 2020-2025 乐筑天下

联系客服 关注微信 帮助中心 下载APP 返回顶部 返回列表