ことopenDDSがinstall guide私は、コマンドプロンプト内からconfigure
を実行しますが、この出力を受け取るようにしよう、次のとき。perlスクリプトにコンパイラのパスがない - どのコンパイラですか?</p> <p>C:ユーザーは、Supervisor デスクトップ opendds> Cを:ユーザーは、Supervisor デスクトップ opendds のconfigure
if ($opts{'compiler'}) {
my $standard = 0;
for my $stdcomp (@{$platforminfo{$opts{'host'}}->{'compilers'}}) {
$standard = 1 if $opts{'compiler'} eq $stdcomp;
}
$opts{'nonstdcompiler'} = 1 unless $standard;
}
else {
print "Auto-detecting compiler\n" if $opts{'verbose'};
for my $stdcomp (@{$platforminfo{$opts{'host'}}->{'compilers'}}) {
my $path = which($stdcomp);
if ($path) {
print "Found $stdcomp at: $path\n" if $opts{'verbose'};
$opts{'compiler'} = $stdcomp;
last;
}
}
if (!defined $opts{'compiler'}) {
die "Can't find a compiler, set PATH or run this script with the ".
"--compiler option.\n" . ($slash eq '\\' ? " For Microsoft Visual C++, ".
"run this script from the Visual Studio ".
"Command Prompt.\n" : '') . "Stopped";
}
}
それがどのようなコンパイラをしたいん:(行数で見られるように)CMD
Can't find a compiler, set PATH or run this script with the --compiler option.
For Microsoft Visual C++, run this script from the Visual Studio Command Prompt.
Stopped at configure line 336.
このエラーはperlスクリプト内のコードのこのセクションに関連しますか?私はgcc
とmake
が働いています - それらはシステムパス上にあります。
'--compiler = gcc'を追加するだけで、動作するはずです –
ビンゴ、ありがとうございます。答えとして投稿してもらえますか?私が受け入れるでしょう。そうでなければ、〜1日で質問を終わらせるために私は自分自身に答えるでしょう。 – user3235290
最初の指示:「お使いの環境には、 Visual Studio、 Perl」があります。 – ikegami