嗨,我的项目中出现错误,当项目中存在文件时? [英] Hi, I'm getting errors in my project, when the files are there in the project?

查看:52
本文介绍了嗨,我的项目中出现错误,当项目中存在文件时?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的项目中出现了一些错误,当文件已经在项目中时。这是我得到的错误。

Hi, I'm getting some errors in my project, when the files are in the project already. Here is what errors I get.

错误 7
错误LNK1104:无法打开文件'\ SDK.dll' C:\ Sources \ SOURCES\trunk\SDK \ LINK
SDK

错误 8
错误C1083:无法打开包含文件:' Nxc.h':没有这样的文件或目录
C:\ Sources \ SOURCES\trunk\BBDX2 \NxCooking.h < span style ="white-space:pre">
21 1 BBDX2

错误 9
错误C1083:无法打开包含文件:'NxUserOutputStream.h':没有这样的文件或目录
c:\\ sources \sources\trunk\bbdx2\physx\PhysXErrorStream.h
3 1
BBDX2

错误 10
错误C1083:无法打开包含文件:'NxUserOutputStream.h':没有这样的文件或目录
c:\sources\sources\trunk\bbdx2\physx\PhysXErrorStream.h
3 1
BBDX2

错误 11
错误C1083:无法打开包含文件:'NxPhysics。 h':没有这样的文件或目录
C:\ Sources \ SOURCES\trunk \BBDX2 \PhysX \ PhhysXUserAllocator.cpp
9 1
BBDX2

错误 12
错误C1083 :无法打开包含文件:'NxPhysics.h':没有这样的文件或目录
C:\ Sources \ SOURCES\trunk \ BBDX2 \PhysX \Stream.cpp
2 1
BBDX2

错误 13
错误C1083:无法打开包含文件:'NxUserOutputStream.h':没有这样的文件或目录
c:\sources\sources\trunk\bbdx2\physx\PhysXErrorStream.h
3 1
BBDX2

错误 14
错误LNK1104:无法打开文件'BBDX.lib' C:\ Sources \ SOURCES\trunk\TestBBDX2 \ LINK
TestBBDX2

错误 85
错误LNK1104:无法打开文件'BBDX.lib' C:\ Sources \ SOURCES\trunk\RCClient \ LINK < span style ="white-space:pre">
RCClient

Error 7 error LNK1104: cannot open file '\SDK.dll' C:\Sources\SOURCES\trunk\SDK\LINK SDK
Error 8 error C1083: Cannot open include file: 'Nxc.h': No such file or directory C:\Sources\SOURCES\trunk\BBDX2\NxCooking.h 21 1 BBDX2
Error 9 error C1083: Cannot open include file: 'NxUserOutputStream.h': No such file or directory c:\sources\sources\trunk\bbdx2\physx\PhysXErrorStream.h 3 1 BBDX2
Error 10 error C1083: Cannot open include file: 'NxUserOutputStream.h': No such file or directory c:\sources\sources\trunk\bbdx2\physx\PhysXErrorStream.h 3 1 BBDX2
Error 11 error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory C:\Sources\SOURCES\trunk\BBDX2\PhysX\PhysXUserAllocator.cpp 9 1 BBDX2
Error 12 error C1083: Cannot open include file: 'NxPhysics.h': No such file or directory C:\Sources\SOURCES\trunk\BBDX2\PhysX\Stream.cpp 2 1 BBDX2
Error 13 error C1083: Cannot open include file: 'NxUserOutputStream.h': No such file or directory c:\sources\sources\trunk\bbdx2\physx\PhysXErrorStream.h 3 1 BBDX2
Error 14 error LNK1104: cannot open file 'BBDX.lib' C:\Sources\SOURCES\trunk\TestBBDX2\LINK TestBBDX2
Error 85 error LNK1104: cannot open file 'BBDX.lib' C:\Sources\SOURCES\trunk\RCClient\LINK RCClient

请帮助我,我甚至可以将项目发送给任何可以帮助我的人。谢谢

Please Help me with this, I can even send the project to anyone that can help me. Thank you

推荐答案

好吧,只是因为你将这些文件添加到项目中,它并不意味着编译器工具会自动找到它们。它们仍然遵循编译器工具的搜索规则。

Well, just because you add these files to the project, it doesn't mean that the compiler tools will automatically find them. They are still subject to the search rules of the compiler tools.

您需要告诉编译器和链接器这些文件在磁盘上的位置才能找到它们,您可以使用附加包含目录选项告诉编译器包含的位置和附加库目录,告诉链接器库文件是

You need to tell the compiler and linker where these files are on disk for them to be found, you can use the Additional Include Directories option to tell the compiler where the includes are and the Additional Library Directories to tell the linker where the library files are.

库路径也适用于DLL,具体取决于您引用它的方式,但我建议您仔细检查路径,因为\< ;文件名>是说它在根目录中,可能不是你的意思。

The library path could work for the DLL too, depending on how you are referencing it, but I would suggest you double check the path, since \<file name> is saying that it is in the root directory, probably not what you mean.


这篇关于嗨,我的项目中出现错误,当项目中存在文件时?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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