Intel® oneAPI DPC++/C++ Compiler
Talk to fellow users of Intel® oneAPI DPC++/C++ Compiler and companion tools like Intel® oneAPI DPC++ Library, Intel® DPC++ Compatibility Tool, and Intel® Distribution for GDB*
595 Discussions

Build fails for fpga hardware configuration for example: vector-add on VS2022 on Windows 10

MB_29
Novice
562 Views

Hello,

I've installed oneApi 2023.2  and Quartus 22.4 on Windows 10.

The "sycl" based example "vector-add" compiled fine for
fpga simulator/fpga emulator/fpga hardware configurations with the makefile from the example.

However, on my project I need to use VS2022.

The "fpga simulator" and "fpga emulator"  configurations compile properly in VS also.

Unfortunately, I cannot find a way to build "fpga hardware" configuration in VS.

Please help.

The zip of the solution is attached (text files only)

BTW, there is an environment variable set:

QUARTUS_ROOTDIR_OVERRIDE=F:\intelFPGA_pro\22.4\quartus

The file Output-Build.txt  (in zip) contains compilation verbose output.

It ends with:

---------------------------------------------------------------------------

1>aoc: Compiling for FPGA. This process may take several hours to complete. Prior to performing this compile, be sure to check the reports to ensure the design will meet your performance targets. If the reports indicate performance targets are not being met, code edits may be required. Please refer to the oneAPI FPGA Optimization Guide for information on performance tuning applications for FPGAs.
1>Info: *******************************************************************
1>Info: Running Quartus Prime Shell
1> Info: Version 22.4.0 Build 94 12/07/2022 SC Pro Edition
1> Info: Copyright (C) 2022 Intel Corporation. All rights reserved.
1> Info: Your use of Intel Corporation's design tools, logic functions
1> Info: and other software and tools, and any partner logic
1> Info: functions, and any output files from any of the foregoing
1> Info: (including device programming or simulation files), and any
1> Info: associated documentation or information are expressly subject
1> Info: to the terms and conditions of the Intel Program License
1> Info: Subscription Agreement, the Intel Quartus Prime License Agreement,
1> Info: the Intel FPGA IP License Agreement, or other applicable license
1> Info: agreement, including, without limitation, that your use is for
1> Info: the sole purpose of programming logic devices manufactured by
1> Info: Intel and sold by Intel or its authorized distributors. Please
1> Info: refer to the applicable agreement for further details, at
1> Info: https://fpgasoftware.intel.com/eula.
1> Info: Processing started: Sat Nov 11 20:17:57 2023
1> Info: System process ID: 3484
1>Info: Command: quartus_sh -t build/entry.tcl import
1>Info: Quartus(args): import
1>Error (23018): Tcl Script File build/entry.tcl not found
1>Error (23031): Evaluation of Tcl script build/entry.tcl unsuccessful
1>Error: Quartus Prime Shell was unsuccessful. 2 errors, 0 warnings
1> Error: Peak virtual memory: 174 megabytes
1> Error: Processing ended: Sat Nov 11 20:17:58 2023
1> Error: Elapsed time: 00:00:01
1> Error: System process ID: 3484
1>Error: Exiting.
1>
1>Error: failed to remove c:/Users/owner/AppData/Local/Temp/vector-add-buffers-506013-1cbe07 due to Can't remove directory c:/Users/owner/AppData/Local/Temp/vector-add-buffers-506013-1cbe07: Permission denied
1>
1>llvm-foreach:
1>icx-cl: : error : fpga compiler command failed with exit code 1 (use -v to see invocation)
1>Done building project "VectorAdd.vcxproj" -- FAILED.
========== Rebuild All: 0 succeeded, 1 failed, 0 skipped ==========

 

 

 

Thanks in advance.

 

 

0 Kudos
0 Replies
Reply