在VC6中打开dxflib [英] Opening dxflib in VC6

查看:199
本文介绍了在VC6中打开dxflib的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已将dxflib提取到一个文件夹中.如何将其连接到VC ++ 6中的项目?请帮忙.
VKTamhane

I have extracted dxflib into a folder. How do I connect it to my project in VC++6? Please help.
V.K.Tamhane

推荐答案

将文件夹地址添加到"LIB"变量或属性中,并将名称"dxflib"添加到链接属性中.
Add the folder address to your "LIB" variable or properties, and add the name "dxflib" to your link properties.


您好,理查德
感谢您的答复,但我无法链接dxflib.提取的文件夹在我的项目文件夹中.我采取了以下步骤,
项目->设置.在选项卡C/C ++中,选择的类别为预处理器".在其他包含目录"中,我输入了dxflib-2.2.0.0-1src(文件夹名称).
在链接"选项卡中,所选类别为输入",在附加库路径"字段中输入dxflib.第二次我进入dxflib.lib.两次都链接失败.
顺便说一句,文件夹dxflib-2.2.0.0-1src中的文件夹"lib"为空.有什么问题吗?
Regards-V.K.Tamhane
Hi Richard
Thanks for your reply but I failed to link dxflib. Extracted folder is in my project folder. I took following steps,
Projects->Settings. In the tab C/C++, category selected was ''Preprocessor''. In the ''Additional include directories'' I entered dxflib-2.2.0.0-1src (folder name).
In the ''Link'' tab, category selected was ''Input'' and in the field ''Additional Library path'' I entered dxflib. Second time I entered dxflib.lib. Failed both times to link.
Incidently, a folder ''lib'' in the folder dxflib-2.2.0.0-1src is empty. Is there something wrong?
Regards-V.K.Tamhane


其他包含目录"不是您的库所在的目录.您可以通过两种方式完成自己想做的事情:

如果希望仅将dxflib.lib添加到当前项目中,则可以在链接选项卡上使用路径添加它.例如. ``dxflib-2.2.0.0-1src/dxflib.lib''.

如果您还计划在其他几个项目中使用dxflib.lib,最好告诉编译器在搜索lib文件时始终查看libary的文件夹.
为此,请转到工具>选项,单击目录选项卡,选择''显示目录:库文件'',然后选择dxflib-2.2.0.0-1src文件夹.
现在,您可以如上所述链接dxflib.lib,而无需添加路径.
''Additional include directories'' isn''t the directory where your libraries come from. There''s two ways you can do what you want:

If you wish to add dxflib.lib to your current project alone, you can add it with a path on the link tab. E.g. ''dxflib-2.2.0.0-1src/dxflib.lib''.

If you plan to use dxflib.lib in several other projects as well, it might be a good idea to tell the compiler to always look into the libary''s folder when searching for lib files.
To do this, go to Tools>Options, click on the Directories tab, select ''Show directories for: Library files'' and select the dxflib-2.2.0.0-1src folder.
Now you can link your dxflib.lib as mentioned above, but without need to add the path.


这篇关于在VC6中打开dxflib的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆