Skip to content

compilation error in io_streaming_one_pipe/src/FakeIOPipes.hpp with Intel(R) oneAPI DPC++/C++ Compiler 2025.0.0  #26

@umairsiddiqui-digitek

Description

@umairsiddiqui-digitek

As Altera FPGA Support Package for Intel® oneAPI DPC++/C++ Compiler is now seperate from Intel oneAPI Base toolkit.
Right now only Intel(R) oneAPI DPC++/C++ Compiler 2025.0.0 is available.

https://www.intel.com/content/www/us/en/developer/tools/oneapi/fpga-download.html?operatingsystem=linux&linux-install=offline

(FPGA Support Package for Intel® oneAPI DPC++/C++ Compiler 2025.0.0)

I was compiling the io_streaming_one_pipe (tag: ofs-2024.2-1) with available compiler and i got following compilation error

$ make fpga
[ 50%] Building CXX object src/CMakeFiles/io_streaming.fpga.dir/io_streaming.cpp.o
In file included from /home/test/examples-afu/oneapi-samples/io_streaming_one_pipe/src/io_streaming.cpp:21:
In file included from /home/test/examples-afu/oneapi-samples/io_streaming_one_pipe/src/LoopbackTest.hpp:10:
/home/test/examples-afu/oneapi-samples/io_streaming_one_pipe/src/FakeIOPipes.hpp:36:51: error: use of undeclared identifier 'host_ptr'
   36 |       typename std::conditional_t<use_host_alloc, host_ptr<T>, device_ptr<T>>
      |                                                   ^
/home/test/examples-afu/oneapi-samples/io_streaming_one_pipe/src/FakeIOPipes.hpp:36:77: error: expected member name or ';' after declaration specifiers
   35 |   typedef
      |   ~~~~~~~
   36 |       typename std::conditional_t<use_host_alloc, host_ptr<T>, device_ptr<T>>
      |       ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
2 errors generated.
make[3]: *** [src/CMakeFiles/io_streaming.fpga.dir/build.make:76: src/CMakeFiles/io_streaming.fpga.dir/io_streaming.cpp.o] Error 1
make[2]: *** [CMakeFiles/Makefile2:263: src/CMakeFiles/io_streaming.fpga.dir/all] Error 2
make[1]: *** [CMakeFiles/Makefile2:296: src/CMakeFiles/fpga.dir/rule] Error 2
make: *** [Makefile:215: fpga] Error 2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions