Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build source code of hcc 2.10 error #1397

Open
wormwang opened this issue Feb 26, 2020 · 0 comments
Open

build source code of hcc 2.10 error #1397

wormwang opened this issue Feb 26, 2020 · 0 comments

Comments

@wormwang
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant