乐筑天下

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

[求助]objectarx2002编译问题

[复制链接]

3

主题

5

帖子

1

银币

初来乍到

Rank: 1

铜币
17
发表于 2010-6-11 19:37:00 | 显示全部楼层 |阅读模式
哪位高手看看怎没回事 编译通不过
--------------------Configuration: xcx - Win32 Debug--------------------
Compiling...
StdAfx.cpp
Compiling...
rxdebug.cpp
xcx.cpp
     Compiling STL header files in release mode.
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2059: syntax error : '?'
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2065: '_Y' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2143: syntax error : missing ',' before ')'
c:\program files\microsoft visual studio\vc98\include\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
c:\program files\microsoft visual studio\vc98\include\xtree(632) : error C2976: '_Tree' : too few template arguments
        c:\program files\microsoft visual studio\vc98\include\xtree(602) : see declaration of '_Tree'
c:\program files\microsoft visual studio\vc98\include\xtree(633) : error C2143: syntax error : missing ',' before ''
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2143: syntax error : missing ')' before '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2059: syntax error : '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2143: syntax error : missing ';' before '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2447: missing function header (old-style formal list?)
c:\program files\microsoft visual studio\vc98\include\xtree(636) : error C2954: template definitions cannot nest
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2039: 'reference' : is not a member of '_A'
        c:\program files\microsoft visual studio\vc98\include\xtree(632) : see declaration of '_A'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2146: syntax error : missing ';' before identifier '_Tref'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2501: '_Tref' : missing storage-class or type specifiers
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(48) : error C2040: 'reference' : ' &' differs in levels of indirection from 'int'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(92) : error C2143: syntax error : missing ';' before '['
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : fatal error C1004: unexpected end of file found
        e:\刘克伟\xcx\adskdmgr.h(77) : see reference to class template instantiation 'std::map,class std::allocator >' being compiled
        e:\刘克伟\xcx\stdarx.h(23) : see reference to class template instantiation 'AsdkDataManager' being compiled
DocData.cpp
     Compiling STL header files in release mode.
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2059: syntax error : '?'
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2065: '_Y' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2143: syntax error : missing ',' before ')'
c:\program files\microsoft visual studio\vc98\include\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
c:\program files\microsoft visual studio\vc98\include\xtree(632) : error C2976: '_Tree' : too few template arguments
        c:\program files\microsoft visual studio\vc98\include\xtree(602) : see declaration of '_Tree'
c:\program files\microsoft visual studio\vc98\include\xtree(633) : error C2143: syntax error : missing ',' before ''
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2143: syntax error : missing ')' before '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2059: syntax error : '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2143: syntax error : missing ';' before '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2447: missing function header (old-style formal list?)
c:\program files\microsoft visual studio\vc98\include\xtree(636) : error C2954: template definitions cannot nest
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2039: 'reference' : is not a member of '_A'
        c:\program files\microsoft visual studio\vc98\include\xtree(632) : see declaration of '_A'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2146: syntax error : missing ';' before identifier '_Tref'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2501: '_Tref' : missing storage-class or type specifiers
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(48) : error C2040: 'reference' : ' &' differs in levels of indirection from 'int'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(92) : error C2143: syntax error : missing ';' before '['
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : fatal error C1004: unexpected end of file found
        e:\刘克伟\xcx\adskdmgr.h(77) : see reference to class template instantiation 'std::map,class std::allocator >' being compiled
        e:\刘克伟\xcx\stdarx.h(23) : see reference to class template instantiation 'AsdkDataManager' being compiled
xcxCommands.cpp
     Compiling STL header files in release mode.
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2059: syntax error : '?'
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2065: '_Y' : undeclared identifier
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2275: '_A' : illegal use of this type as an expression
c:\program files\microsoft visual studio\vc98\include\xtree(629) : error C2143: syntax error : missing ',' before ')'
c:\program files\microsoft visual studio\vc98\include\xtree(631) : error C2951: template declarations are only permitted at global or namespace scope
c:\program files\microsoft visual studio\vc98\include\xtree(632) : error C2976: '_Tree' : too few template arguments
        c:\program files\microsoft visual studio\vc98\include\xtree(602) : see declaration of '_Tree'
c:\program files\microsoft visual studio\vc98\include\xtree(633) : error C2143: syntax error : missing ',' before ''
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2143: syntax error : missing ')' before '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2059: syntax error : '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2143: syntax error : missing ';' before '{'
c:\program files\microsoft visual studio\vc98\include\xtree(635) : error C2447: missing function header (old-style formal list?)
c:\program files\microsoft visual studio\vc98\include\xtree(636) : error C2954: template definitions cannot nest
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2039: 'reference' : is not a member of '_A'
        c:\program files\microsoft visual studio\vc98\include\xtree(632) : see declaration of '_A'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2146: syntax error : missing ';' before identifier '_Tref'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : error C2501: '_Tref' : missing storage-class or type specifiers
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(48) : error C2040: 'reference' : ' &' differs in levels of indirection from 'int'
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(92) : error C2143: syntax error : missing ';' before '['
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(92) : error C2501: '_Tref' : missing storage-class or type specifiers
        c:\program files\microsoft visual studio\vc98\include\map(140) : see reference to class template instantiation 'std::map' being compiled
c:\program files\microsoft visual studio\vc98\include\map(44) : fatal error C1004: unexpected end of file found
        e:\刘克伟\xcx\adskdmgr.h(77) : see reference to class template instantiation 'std::map,class std::allocator >' being compiled
        e:\刘克伟\xcx\stdarx.h(23) : see reference to class template instantiation 'AsdkDataManager' being compiled
Generating Code...
Error executing cl.exe.
lktpxcx.arx - 63 error(s), 0 warning(s)
回复

使用道具 举报

2

主题

165

帖子

6

银币

初露锋芒

Rank: 3Rank: 3Rank: 3

铜币
173
发表于 2010-6-12 09:43:00 | 显示全部楼层
好像是你当前的vc与你打开的工程版本不相符
回复

使用道具 举报

3

主题

5

帖子

1

银币

初来乍到

Rank: 1

铜币
17
发表于 2010-6-12 10:01:00 | 显示全部楼层
我用的是vc++6.0英文版 在这台电脑上装过vs2002 2003 2005 用objectarx向导创建工程F5编译产生以下错误
compiling resources...
Compiling...
StdAfx.cpp
e:\刘克伟\xcx1\stdafx.h(20) : fatal error C1083: Cannot open include file: 'acdb.h': No such file or directory
Error executing cl.exe.
lktpxcx1.arx - 1 error(s), 0 warning(s)
手工设置后产生那63个错误。
回复

使用道具 举报

3

主题

5

帖子

1

银币

初来乍到

Rank: 1

铜币
17
发表于 2010-6-13 13:09:00 | 显示全部楼层
高手说得对我在其他电脑上重新安装后以上错误无
但是编译时出现打不开 rxapi.lib文件的错误
高手再看看!怎没回事。
回复

使用道具 举报

发表回复

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

本版积分规则

  • 微信公众平台

  • 扫描访问手机版

  • 点击图片下载手机App

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

GMT+8, 2025-2-5 18:57 , Processed in 0.228649 second(s), 60 queries .

© 2020-2025 乐筑天下

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