无法打开编译器中间文件:'dnn_face_recognition_ex.ipdb':空间不足 [英] Cannot open compiler intermediate file: 'dnn_face_recognition_ex.ipdb': Not enough space
问题描述
我使用visual studio 2015成功构建了 dlib 库,但是当我想编译
dnn_face_recognition_ex.cpp 此库的示例发生此错误:
i build dlib library successfully with visual studio 2015 but when i want compile dnn_face_recognition_ex.cpp example of this library this error occur :
Cannot open compiler intermediate file: 'dnn_face_recognition_ex.ipdb': Not enough space
我在dlib github问题中问这个错误并回答我,因为:
i ask this error in dlib github issues and answer me because :
'不,不幸的是,visual studio不支持C ++ 11。您必须
使用不同的编译器。'
为什么visual c ++ 不支持C ++ 11?可以解决这个问题吗?
why visual c++ doesn't support C++11 ? can solve this issue ?
我可以设置不同的编译器吗?像GCC到视觉工作室?
谢谢。
推荐答案
嗨Aligolos,
Hi Aligolos,
感谢您在此发布。
>> i build dlib   ;图书馆成功使用Visual Studio 2015,但当我想编译
dnn_face_recognition_ex.cpp 此库的示例发生此错误:
在我看来,您应该检查项目的属性 - > VC ++目录,看看你是否已经将dlib的路径添加到其中。
In my opinion, you should check your project's property->VC++ directories, see if you have add the path of dlib into it.
>>为什么visual c ++不支持C ++ 11?可以解决这个问题吗?
实际上Visual C ++实现了
C ++ 11核心语言规范,以及许多C ++ 14库功能和为C ++ 17提出的一些功能。
Actually Visual C++ implements the vast majority of features in the C++11 core language specification, as well as many C++14 Library features and some features proposed for C++17.
您可以参考下面的这个文档,获取C ++ 11/14/17核心语言功能列表及其在Visual C ++中的实现状态。
You could refer to this document below to get the list of C++11/14/17 core language features and their implementation status in Visual C++.
https://msdn.microsoft.com/ en-us / library / hh567368.aspx?f = 255& MSPPError = -2147217396
>>我将不同的编译器(如GCC)设置为visual studio ?
如果您的项目面向Linux或Android,您可以考虑在Visual Studio中使用GCC。 Visual Studio的C ++ Android开发本身支持使用Android NDK附带的GCC构建项目,就像它对Clang一样。
您还可以使用
Windows子系统Linux 远程或本地定位Linux - 与GCC。
If your project targets Linux or Android, you can consider using GCC with visual studio. Visual Studio’s C++ Android development natively supports building your projects with the GCC that ships with the Android NDK, just like it does for Clang. You can also target Linux – either remotely or locally with the Windows Subsystem for Linux – with GCC.
有关详细信息,请参阅以下博客。
For more information, please refer to this blog below.
https://blogs.msdn.microsoft.com/vcblog/2017/03/07/use-any -c-compiler-with-visual-studio /
此外,这个论坛是关于使用Microsoft产品进行c ++开发的。对于与第三方库更相关的案例,我建议您在
此页面上发布更好的支持。
Besides, this forum is about c++ development with Microsoft products. For your case which is more related to third-party library, I suggest you post on this page for better support.
您的理解与合作将不胜感激。
Your understanding and cooperation will be grateful.
最诚挚的问候,
Sera Yu
Best Regards,
Sera Yu
这篇关于无法打开编译器中间文件:'dnn_face_recognition_ex.ipdb':空间不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!