青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

青华模具培训学院
查看: 2873|回复: 1

[疑难] Visual Studio 2010 C++ 的error..

[复制链接]
发表于 2011-10-3 00:47 | 显示全部楼层 |阅读模式
我用VS 2010 C++ + NX7.5 来编程的时候, 出现以下的error:# |2 y/ u, }5 e" C6 G5 e  t
. Q! {4 g4 ~9 A2 @( W6 Y8 l+ h
正在创建库 C:\Users\wormsccc\Documents\Visual Studio 2010\Projects\sfdgsdf\Debug\sfdgsdf.lib 和对象 C:\Users\wormsccc\Documents\Visual Studio 2010\Projects\sfdgsdf\DebUG\sfdgsdf.exp
6 t  [) R; o. W8 d9 I  q1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_terminate,该符号在函数 _ufusr 中被引用
4 j: ]: h) ?/ Q. s7 c8 c1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__uc1601,该符号在函数 _ufusr 中被引用
8 B: f- h  ]- P3 J9 t- f: w1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_initialize,该符号在函数 _ufusr 中被引用. @$ f4 p: i, R7 B* S* p5 N9 j5 o5 M
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_UI_write_listing_window,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用5 t1 E. k" z, ]
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_UI_open_listing_window,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用
$ D+ k; a) y& s7 V+ M5 I, J! \: `1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_print_syslog,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用5 n& M5 g7 f9 w8 D) ^
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_get_fail_message,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用% O5 i- v$ x4 V* z" S' m+ k% ^! W0 d
1>C:\Users\wormsccc\Documents\Visual Studio 2010\Projects\sfdgsdf\Debug\sfdgsdf.dll : fatal error LNK1120: 7 个无法解析的外部命令% o- m" U" R6 t) ?1 e
1>
6 J" ~- Q: O' I5 B( D1>生成失败。+ [1 p' q; s- o
1>( I2 }7 Y1 \' o4 P# w; `; }) ~
1>已用时间 00:00:00.95
$ @8 A# R+ j" P* Q========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
( d5 L5 s: [* d/ e$ g; R6 a) A  n9 a* }9 o
我已经+了.lib 和 路径,还是有问题。。 是什么原应呢?
$ R5 w# e- k: R*补充:我用VS C++ 2010 + NX6.0 编程没问题。 。 。 我是win7 64位系统的
发表于 2011-10-11 20:15 | 显示全部楼层
试一下在项目属性 中链接器 的 附加库目录中 添加 $(UGII_BASE_DIR)\open
回复 支持 反对

使用道具 举报

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

本版积分规则

QQ|关于我们|sitemap|小黑屋|Archiver|手机版|UG网-UG技术论坛-青华数控模具培训学校 ( 粤ICP备15108561号 )

GMT+8, 2025-6-30 02:54 , Processed in 0.074572 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表