RSS
热门关键字:
当前位置 : 主页>嵌入式开发>Symbian OS>列表

Linking Libraries 9210

来源:我要研发网 作者: 时间:1970-01-01 点击:




error LNK2001: unresolved external symbol 字串4

We all know this error and we know we need to add the library. Easy (if you use VC6), go to Project, Settings (Alt F7) and add the library on the Link page. F7 to recompile. Same error. Check the library, spelling is correct? Yes, why do I get these errors. Check the help files. Stop, you will not find it that easy. I stumbled acros it a year ago and today when I started searching for the answer I decided to write this article to make it easy for you. 字串4

When we use MEAD (Minimal Eikon Application Developer) to create a start off project and the use ABLD MAKEFILE VC6 to use VC6 as our editor. We will have this linking problem when we add additional libraries.

字串8

When using VC6, the NMAKE doesn’t make use of the settings you made in VC6. You need to make these changes directly in the .SUP.MAKE file. Now for me and you to go fiddle in that file can cause extra problems. Thus what we need to do is go back do step 1 of creating a VC6 workspace.
- Edit the .MMP file created by MEAD.
- Add a line LIBRARY filename.lib
- Recreate VC6 workspace by running ABLD MAKEFILE VC6

字串1

Open your project again in VC6, add the Engine or Gui workspace and recompile. Your link error should be gone.

字串3

最新评论共有 0 位网友发表了评论
发表评论
评论内容:不能超过250字,需审核,请自觉遵守互联网相关政策法规。
用户名: 密码:
匿名?
注册
相关文章