青华模具培训学校

 找回密码
 注册

QQ登录

只需一步,快速开始

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

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

[复制链接]
发表于 2011-10-3 00:47 | 显示全部楼层 |阅读模式
我用VS 2010 C++ + NX7.5 来编程的时候, 出现以下的error:
! v* Q% C7 Z; M/ k" K$ r1 f! F9 T" m  a9 x# d2 U2 W
正在创建库 C:\Users\wormsccc\Documents\Visual Studio 2010\Projects\sfdgsdf\Debug\sfdgsdf.lib 和对象 C:\Users\wormsccc\Documents\Visual Studio 2010\Projects\sfdgsdf\DebUG\sfdgsdf.exp6 w3 l: r8 K  f# }/ V, T; V
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_terminate,该符号在函数 _ufusr 中被引用; V  A3 A  K! n& @
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__uc1601,该符号在函数 _ufusr 中被引用
) a: `# b- D; X* x& _2 m1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_initialize,该符号在函数 _ufusr 中被引用; |, ^9 L. \. Y6 M
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_UI_write_listing_window,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用
( D2 x0 `6 w5 M1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_UI_open_listing_window,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用$ D# [. f7 Q; Z- O7 l
1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_print_syslog,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用
6 ]: o  R7 t; M) D) b+ S1 P1>12qwe.obj : error LNK2019: 无法解析的外部符号 __imp__UF_get_fail_message,该符号在函数 "int __cdecl report_error(char *,int,char *,int)" (?report_error@@YAHPADH0H@Z) 中被引用
& ^( u3 J8 K6 V1>C:\Users\wormsccc\Documents\Visual Studio 2010\Projects\sfdgsdf\Debug\sfdgsdf.dll : fatal error LNK1120: 7 个无法解析的外部命令# N( X9 V0 c2 ]% \  L* k
1>8 f9 p1 b$ M2 M4 [6 Q, A& l
1>生成失败。) S" K; t1 {; F: x6 S2 D
1>+ x: M0 k3 p9 b1 _
1>已用时间 00:00:00.95$ G; O6 r8 v) Q  m5 ^* d
========== 生成: 成功 0 个,失败 1 个,最新 0 个,跳过 0 个 ==========
% t/ ?0 u, \: `5 G0 p6 s8 @  p! F; Q! r
我已经+了.lib 和 路径,还是有问题。。 是什么原应呢?
3 S1 i1 [$ s# `; c' f# M*补充:我用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 08:47 , Processed in 0.134084 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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