- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dear Sir/Madam,
I have been installed Intel compiler on fedora but when I try to compile tbb(threading building block) code using command
icc program.c -ltbb
It give error cstddef header file not found......
While on g++ it work fine.
I would like to ask that this header file cstddef is not part of intel compiler and we have to export it or I have some problem in intel compiler downloading or installation.
Thank you,
Waiting for your response
I have been installed Intel compiler on fedora but when I try to compile tbb(threading building block) code using command
icc program.c -ltbb
It give error cstddef header file not found......
While on g++ it work fine.
I would like to ask that this header file cstddef is not part of intel compiler and we have to export it or I have some problem in intel compiler downloading or installation.
Thank you,
Waiting for your response
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If you want C++ and g++ functionality, you must invoke the C++ compiler icpc and name your source file so that it is recognized as C++. Then, those C++ standard headers which aren't provided by icpc would be found in the active g++ installation. icc should find the headers of gcc, not those which are reserved for g++.
If you have questions about tbb, there is a separate forum.
If you have questions about tbb, there is a separate forum.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page