- 积分
- 4
- 帖子
- 7
- 主题
- 1
- 精华
- 0
- 最后登录
- 2014-5-16
- 在线时间
- 8 小时
- 私信
|
发表时间 : 2010-5-2 18:34:04
|
浏览 : 4418 评论 : 18
各位论坛的朋友大家好:
小弟刚开始接触VP,LP中逐渐接触后我把我的学习心得跟大家讨论下,在此希望懂得的兄弟可以赐教执政。刚开始接触vp我以为是跟3Dmax一样建模,渲染,灯光,动画都可以在这个软件中完成的,但是随着学习这个软件知识的怎多,我觉得LP是一个类似于编写.cpp文件的模板,可以在LP中配置好场景基本的一些演员、角色、灯光、和走台的步骤,当然我这里是打比方,更专业的术语说的不太准确还是不说的好。但是如果需要按照虚拟现实的要求考量这个场景的配置往往还是很不够,所以需要在程序语言中对其进行更准确的描述(不知道是不是这个意思)。
以前没什么学习和编写语言的基础,最开始知道能用vc++进行配置,变很天真的以为用6.0便能蒙混过关,没想到看Programmer中写的是VS2003.NET或者是VS2005,抱着自负的态度我用了VS2008,2008的步骤和教程中VS2005的设置都是一样一样的,可是在最后Build中总是提示
1>------ Build started: Project: sampleApplication, Configuration: Debug Win32 ------
1>Linking...
1>vpmarine_simple.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall vsNode::insert_child(class vsNode *,class std::_Vector_const_iterator<class vsNode *,class vuAllocSTL<class vsNode *> >,unsigned int)" (?insert_child@vsNode@@UAEHPAV1@V?$_Vector_const_iterator@PAVvsNode@@V?$vuAllocSTL@PAVvsNode@@@@@std@@I@Z)
1>vpmarine_simple.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall vsNode::erase_child(class std::_Vector_const_iterator<class vsNode *,class vuAllocSTL<class vsNode *> >,unsigned int)" (?erase_child@vsNode@@UAEHV?$_Vector_const_iterator@PAVvsNode@@V?$vuAllocSTL@PAVvsNode@@@@@std@@I@Z)
1>vpmarine_simple.obj : error LNK2001: unresolved external symbol "public: virtual int __thiscall vsNode::replace_child(class vsNode *,class std::_Vector_const_iterator<class vsNode *,class vuAllocSTL<class vsNode *> >,bool,unsigned int)" (?replace_child@vsNode@@UAEHPAV1@V?$_Vector_const_iterator@PAVvsNode@@V?$vuAllocSTL@PAVvsNode@@@@@std@@_NI@Z)
1>C:\sampleVegaPrime_VC8Project\sampleApplication\Debug\sampleApplication.exe : fatal error LNK1120: 3 unresolved externals
1>Build log was saved at "file://c:\sampleVegaPrime_VC8Project\sampleApplication\sampleApplication\Debug\BuildLog.htm"
1>sampleApplication - 4 error(s), 0 warning(s)
========== Build: 0 succeeded, 1 failed, 0 up-to-date, 0 skipped ==========
我很抑郁,上网查了很多关于Error LNK2001问题的说明,结果看得我一头雾水,我才是我LIB设置的问题,让有些变量没有在库函数中找到定义,于是我换了VS2005,结果还是一样,ERROR LINK……我很绝望,然后看了置顶的帖子说VP2.2编译器是VC++7.1和VC++8.0 于是我正在下VS2003.NET,速度很慢,不知道结果怎么样,真希望下来能编译成功,让我打开这道大门,或者各位看到此贴的大侠知道为什么error link的话也请赐教,在此小弟拜谢{:3_90:} |
|