spcl / nbody_hls

Implementation of the N^2-formulation of N-body simulation with Vivado HLS for SDAccel platforms.
BSD 3-Clause "New" or "Revised" License
8 stars 5 forks source link

Compatibility with newer Vitis versions #1

Open marcofaltelli opened 5 months ago

marcofaltelli commented 5 months ago

Hi,

I'm trying to reproduce your code with a newer Vitis version (2023.1) and I'm getting the following error when running cmake .:

<faltelli@cresco-xilinx03 /home/scratch.local/iannone/nbody_hls> cmake .
CMake Error at hlslib/cmake/FindVitis.cmake:93 (if):
  if given arguments:

    "Vitis_MAJOR_VERSION" "GREATER_EQUAL" "2020"

  Unknown arguments specified
Call Stack (most recent call first):
  CMakeLists.txt:32 (find_package)

-- Configuring incomplete, errors occurred!
See also "/home/scratch.local/iannone/nbody_hls/CMakeFiles/CMakeOutput.log".

The same error happens also with Vitis 2020.2. Can you help me?

Cheers,

definelicht commented 5 months ago

I've updated hlslib to the newest version, can you please try again on the newest master?

I tested up until the point where the kernel itself is compiled, but since I don't have access to any FPGA devices, I can't progress from here. Let me know if you still see errors.