Compile Matcaffe error: undefined reference to boost::thread::join() - linux

I am new here and this is my very first question. I started working on deep learning recently and decided to use caffe. I went through the steps as explained in the caffe tutorial installation: installed CUDA, cuDNN, installed OpenBLAS, the other libraries and so on. I am using Ubuntu 14.04. After that I downloaded caffe and tried to compile it. Everything seemed fine until I got this error message:
.build_release/lib/libcaffe.so/ undefined reference to boost::thread::join()
I know this is a linking problem. I installed the boost libraries from the terminal with sudo apt-get install libboost-all-dev. I have been looking around for a while, but I have not found anything specific to help me. What exactly do I need to do: create some soft-link (seemed like one of the main ways to solve this problem), change my Makefile (I already fixed it so that it looks where the boost library is) or something else?
Thanks in advance

Related

Is there currently any way to install mypy for python 3.7 and use with PyDev?

I tried to install mypy with "phyton -m pip install mypy" but it fails with an error about typed_ast that says it needs Visual C++ compiler but after installing that the error remains. I found several similar reports and notes that it can't be fixed due to the typed_ast thing, I don't know any details about that.
Is there a way to install mypy manually? Just copy a bunch of files somewhere?
I use Windows 10, Python 3.7, I updated to the latest pip.
Any help or hint is welcome
Thanks a lot
Martin
I found an answer myself.
I have python 3.7-32 installed and there is no appropriate wheel for typed -ast for this. This video
https://www.youtube.com/watch?v=XZrThBBpFlo
explains the problem and also gives a solution. I installed a 32-bit wheel from the link given and then installed mypy again and it finished successfully.
Now I will try mypy.
Good luck

How to install WinGHCi?

I used to learn Haskell before I uninstalled everything. Now, I downloaded the Haskell platform but it seems there's no WinGHCi. Any suggestion please to solve the issue?
I tried to install it manually but there is no .exe file.

I Installed TensorFlow-gpu using anaconda and it cant find a file "cudart64_10.dll", but that file exists

Like I said before, after installing TensorFlow-gpu by anaconda im getting this error in python terminal
W tensorflow/stream_executor/platform/default/dso_loader.cc:55] Could not load dynamic library 'cudart64_100.dll'; dlerror: cudart64_100.dll not found
The thing is, that this file actually exists in this dir (maybe this will help) C:\Users\MyUser\Anaconda3\envs\Gpu_Tensor_Flow\Library\bin
Please help me, because I have no idea what I've done wrong.
I got the same issue
Jozef Jarosciak published an answer that worked for me, visit https://www.joe0.com/2019/10/19/how-resolve-tensorflow-2-0-error-could-not-load-dynamic-library-cudart64_100-dll-dlerror-cudart64_100-dll-not-found/
I downloaded the cudart64_100.dll directly from his website and put it in this path (using windows, i guess it is the same for you since install on linux is pretty easy) C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\
It is weird because I installed all software requirements with lastest version, still tensorflow seems to load this old dll, may be tensorflow is not up to date yet.

How to install libjpeg-turbo8 on Ubuntu 12.0.4

As suggested by Google, I'm trying to get http://jpegclub.org/jpegtran/ working on my Ubuntu server, but I'm getting the error:
"jpegtran: error while loading shared libraries: libjpeg.so.8: cannot open shared object file: No such file or directory"
A Google search told me to install (via apt-get) libjpeg-turbo8, however apt-get can't find the package. My own Ubuntu computer (running 12.0.10) can find the package just fine.
I tried installing http://sourceforge.net/projects/libjpeg-turbo/ with no luck.
Am I doing something wrong or have I missed something? How do I get jpegtran working?
This question may be old, but i was trying to run the glassfish updatetool and it failed because of the lack of the libjpeg library.
Steps i did take:
1. install libjpeg62:i386 (for 64 bit ubuntu amd6)
I hope it helps someone

Trouble with codeblocks installation on Ubuntu 9.10

I installed Code::Blocks on Ubuntu 9.10, but when I start it from terminal, it shows the following error:
relocation error: /usr/lib/libcodeblocks.so.0: symbol _Z18wxSafeConvertWX2MBPKw, version WXU_2.8.2 not defined in file libwx_baseu-2.8.so.0 with link time reference
What is wrong with it? It seems to me I have installed all necessary libraries. Any ideas?
P.S. I am a Linux noobie - so sorry if it is some kind of a well-known mistake.
The most likely problem is that libcodeblocks.so.0 was (apparently) linked against libwx_baseu-2.8.2.so, but the libwx_baseu you have installed is an earlier version 2.8.0.
Try locating libwx_baseu-2.8.2.so or some such and installing that.

Resources