プロジェクトのビルド

プロジェクトをビルドするには、次の操作を行います。

  1. [Project Explorer]hello_world プロジェクトを選択します。
  2. [Project] > [Build Project] を選択します。

[Console] ビューに [Build] 結果が表示されます。

C/C++ プロジェクトの場合:

**** Build of configuration Debug for project hello_world ****
make all 
Building file: ../src/hello_world.cpp
Invoking: Intel C++ Compiler
icpx -g -O0 -MMD -MP -MF"src/hello_world.d" -MT"src/hello_world.d" -c -o "src/hello_world.o" "../src/hello_world.cpp"
Finished building: ../src/hello_world.cpp
 
Building target: hello_world
Invoking: Intel C++ Linker
icpx -O0 -o "hello_world"  ./src/hello_world.o   
Finished building target: hello_world
 
Build Finished.0 errors, 0 warnings.

DPC++ プロジェクトの場合:

**** Build of configuration Debug for project DPCPPhelloworld ****
make all 
Building file: ../main.cpp
Invoking: Intel® oneAPI DPC++ Compiler
dpcpp -g -Wall -O0 -I/home/sys_idebuilder/eclipse-workspace/DPCPPhelloworld -MMD -MP -c -o "main.o" "../main.cpp"
Finished building: ../main.cpp
 
Building target: DPCPPhelloworld
Invoking: Linker
dpcpp  -o "DPCPPhelloworld"  ./main.o   -lsycl -lOpenCL
Finished building target: DPCPPhelloworld

Build Finished.0 errors, 0 warnings.

エラー、警告、およびその他の出力の詳細な説明は、[Problems] タブで確認できます。