gpt4 book ai didi

visual-studio-2010 - 如何在 Visual Studio 中检查或修改 @INC?

转载 作者:行者123 更新时间:2023-12-04 04:20:52 25 4
gpt4 key购买 nike

我试图在 Windows 上构建 Chromium 并遇到以下错误:

1>------ Build started: Project: webcore_bindings_sources, Configuration: Debug Win32 ------
1>Build started 9/6/2012 11:31:11 AM.
1>InitializeBuildStatus:
1> Touching "..\..\..\..\..\build\Debug\obj\webcore_bindings_sources\webcore_bindings_sources.unsuccessfulbuild".
1>CustomBuild:
1> ExceptionCodeDescription
1> Can't locate strict.pm in @INC (@INC contains: C:\chromium\src\third_party\WebKit\Source\WebCore\bindings\scripts /usr/lib/perl5/5.10/i686-cygwin /usr/lib/perl5/5.10 /usr/lib/perl5/site_perl/5.10/i686-cygwin /usr/lib/perl5/site_perl/5.10 /usr/lib/perl5/vendor_perl/5.10/i686-cygwin /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/vendor_perl/5.10 /usr/lib/perl5/site_perl/5.8 /usr/lib/perl5/vendor_perl/5.8 .) at C:\chromium\src\third_party\WebKit\Source\WebCore\dom\make_dom_exceptions.pl line 33.
1> BEGIN failed--compilation aborted at C:\chromium\src\third_party\WebKit\Source\WebCore\dom\make_dom_exceptions.pl line 33.

看来我的 Perl 路径不在 Visual Studio 中,所以我想将路径添加到此 @INC 中,但不确定添加到哪里。

最佳答案

尝试设置 PERL5LIB 环境变量。

this nice article which explains how to modify @INC on windows

关于visual-studio-2010 - 如何在 Visual Studio 中检查或修改 @INC?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12294003/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com