How to install TBB on Ubuntu? [closed] - tbb

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I downloaded tbb40_233oss_lin.tgz file from http://threadingbuildingblocks.org/ver.php?fid=174
I set "TBBROOT" variable to the directory in my bash_proflie and I unzipped the tar file and navigated to the bin folder and run tbbvars.sh file
I typed
sh tbbvars.sh intel64
I was trying to run examples but it complains as shown bleow
count_strings.cpp:38:37: fatal error: tbb/concurrent_hash_map.h: No such file or directory
I tried to set up the library path manually and I typed
g++ file.cpp -o output -L/path/to/the/lib/-ltbb
but it still complains.
How do I compile the sample code on Ubuntu?
Thanks in advance.

I installed it from the Ubuntu repository, and it works without any problems.

Related

cmake gets confused and thinks that build directory is source directory [closed]

Closed. This question is not reproducible or was caused by typos. It is not currently accepting answers.
This question was caused by a typo or a problem that can no longer be reproduced. While similar questions may be on-topic here, this one was resolved in a way less likely to help future readers.
Closed 7 months ago.
Improve this question
I am trying to install opencv on my raspberry pi 4 with raspian OS.
I am using this tutorial https://docs.opencv.org/3.4/d7/d9f/tutorial_linux_install.html and I have navigated to a build directory in my source directory /home/icetea/Desktop/working_dir/opencv/build
Then I execute this command:
cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX=/home/icetea/Desktop/working_dir/opencv
I get this error:
CMake Error: The source directory "/home/icetea/Desktop/working_dir/opencv/build" does not appear to contain CMakeLists.txt
It thinks the build dir is the source dir. My source dir does 100% contain that .txt file, but my build dir is empty. I have tried executing this command while in the source dir and I get this error:
FATAL: In-source builds are not allowed. You should create a separate directory for build files
Anybody have any insight?
Thank you very much
Smitty

Ffmpeg error in linux [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Any help on how I can solve this error:
ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file: No such file or directory
Basically, to find the file:
sudo find / -name libavdevice.so.52
For example, you've found this file in the /usr/local/lib. Next include that library into your library path. Add this to your /etc/ld.so.conf:
/usr/local/lib
And finally after modifying this file run this:
sudo ldconfig
Reference: Ffmpeg: error while loading shared libraries: libavdevice.so.52: cannot open shared object file

Can't get yuidoc running on Mac OS X Mountain Lion [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
On installing yuidoc I'm getting the following warning.
npm WARN package.json connect#1.9.2 No README.md file found!
When trying to start yuidoc --server later it shows me:
info: (yuidoc): Scanning for yuidoc.json file.
error: (yuidoc): Scanned 5001 directories looking for a yuidoc.json file, something is probably wrong here..
Thanks for help!
The warning is nothing to worry about.
The error is that you haven't provided a yuidoc.json file:
http://yui.github.com/yuidoc/args/index.html#json

cd.. command does not work [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
The community reviewed whether to reopen this question 11 months ago and left it closed:
Original close reason(s) were not resolved
Improve this question
I made a directory in my ubunto desktop and copied some file inside it.
I tried to go inside the directory by using the terminal.
the issue I have is when I want to back to the parent directory which is "Desktop" by using "cd.." command I got an error says cd..: command not found
I'm a newbie and want to know the reason.
would you explain it for me.
thank you
You need space, after command cd
cd ..
You missed the space in between cd and ..:
cd ..
You are missing a space, should be cd ..

Installing JDK in Linux - the download file appears to be corrupted [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
I have downloaded JDK, but when I am trying to extract it, I am facing these errors:
[root#ras java]# . jdk-6u26-linux-i586.bin
Unpacking...
tail: cannot open `bash' for reading: No such file or directory
Checksumming...
The download file appears to be corrupted. Please refer
to the Troubleshooting section of the Installation
Instructions on the download page for more information.
Please do not attempt to install this archive file.
You have new mail in /var/spool/mail/root
[root#ras ~]#
What do I do to fix it?
You want
chmod +x jdk-6u26-linux-i586.bin
./jdk-6u26-linux-i586.bin

Resources