I install ROCm in window and install sdk header and other
and I use this command
g++ -o main main.cpp -I "C:\Program Files\AMD\ROCm\5.5\include" -L "C:\Program Files\AMD\ROCm\5.5\lib" -lhip -D __HIP_PLATFORM_AMD__
and return this to me
C:/ProgramData/chocolatey/lib/mingw/tools/install/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/ld.exe: cannot find -lhip: No such file or directory
collect2.exe: error: ld returned 1 exit status
g++ --version
g++.exe (x86_64-posix-seh-rev2, Built by MinGW-W64 project) 12.2.0
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I don't know how to fix