- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
So I've downloaded oss_src package of TBB and issued make command
after extracting the archive. Afterwards all went smoothly and everything compiled
without any problem. This is good.
I've tried compiling examples by hand and compiler started complaining
about not being able to find -ltbb. Next step? I have sourced tbbvars.sh
but it did not help at all so I additionally copied all libtbb* to /usr/local/lib.
The compiler then started complaining about not being able to find
tbb::task_scheduler_init or something like that. This is bad.
How do I fix all of this and install the TBB?
Please do not point me to the blog posts, etc. about installing TBB globally
because I've read everything what was available on the topic. The lack of
documentation for such a simple scenario simply stuns me.
How is that a possibly great tool does not come with an install script?
I am really willing to write one (at least for macosx) if somebody gives
me a clue on how to do it properly for OSX.
frustrated user
Mateusz
after extracting the archive. Afterwards all went smoothly and everything compiled
without any problem. This is good.
I've tried compiling examples by hand and compiler started complaining
about not being able to find -ltbb. Next step? I have sourced tbbvars.sh
but it did not help at all so I additionally copied all libtbb* to /usr/local/lib.
The compiler then started complaining about not being able to find
tbb::task_scheduler_init or something like that. This is bad.
How do I fix all of this and install the TBB?
Please do not point me to the blog posts, etc. about installing TBB globally
because I've read everything what was available on the topic. The lack of
documentation for such a simple scenario simply stuns me.
How is that a possibly great tool does not come with an install script?
I am really willing to write one (at least for macosx) if somebody gives
me a clue on how to do it properly for OSX.
frustrated user
Mateusz
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There are a couple of things here.
First the tbbvars.sh script should work.What do your environment variables look like after you source tbbvars.sh? (As a side note, you need to source it like, ". tbbvars.sh" with the "." and not execute it). If the tbbvars script is not working for you, we need to fix it. The tbbvars script should change the values of theDYLD_LIBRARY_PATH and CPATH variables.
Second, if you do install the library by moving the files, like libtbb* to /usr/loca/lib then you also need to move the header files to /usr/local/include. This is probably what the compiler was complaining about. The header files are found in the distribution under /include.
Mike
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