Forum Discussion
Altera_Forum
Honored Contributor
11 years agowell, it doesn't check the path
There are two lines in aoc.pl that apply: --- Quote Start --- my $opt_exe = $ENV{'ALTERAOCLSDKROOT'}."/windows64/bin"."/aocl-opt"; --- Quote End --- --- Quote Start --- if ($clang_output !~ /Altera SDK for OpenCL, Version/ ) { mydie("$prog: Can't find a working version of nxecutable (aocl-opt$exesuffix) for the Altera SDK for OpenCL\n"); --- Quote End --- So apparently it's a problem with aocl-clang, not aocl-opt Trying to get the aocl-clang to spit something out, it's not happening. My perl is nonexistent, so that's no help either output for aocl-clang --version is: --- Quote Start --- Altera SDK for OpenCL, Version 14.0.1 Build 205, Copyright (C) 2014 Altera Corporationclang version 3.0 (tags/RELEASE_30/final) Target: x86_64-pc-win32 Thread model: posix --- Quote End --- if I change the perl to see what $clang_output is, it's blank