Ubuntu 18.04,
gcc 8.3 ,g++ 8.3
We build hcc 2.10 from source code. meet such error
[100%] Building CXX object lib/CMakeFiles/mcwamp.dir/mcwamp.cpp.o
[100%] Building CXX object lib/CMakeFiles/mcwamp.dir/mcwamp.cpp.o
In file included from /home/motech/rocm2.10/hcc/lib/mcwamp.cpp:8:
/home/motech/rocm2.10/hcc/build/include/hc_rt_debug.h:3:10: fatal error: 'cstdlib' file not found
#include
^~~~~~~~~
1 error generated.
In file included from /home/motech/rocm2.10/hcc/lib/mcwamp.cpp:8:
/home/motech/rocm2.10/hcc/build/include/hc_rt_debug.h:3:10: fatal error: 'cstdlib' file not found
#include
^~~~~~~~~
1 error generated.
lib/CMakeFiles/mcwamp.dir/build.make:62: recipe for target 'lib/CMakeFiles/mcwamp.dir/mcwamp.cpp.o' failed
make[2]: *** [lib/CMakeFiles/mcwamp.dir/mcwamp.cpp.o] Error 1
CMakeFiles/Makefile2:157915: recipe for target 'lib/CMakeFiles/mcwamp.dir/all' failed
make[1]: *** [lib/CMakeFiles/mcwamp.dir/all] Error 2
Makefile:151: recipe for target 'all' failed
make: *** [all] Error 2