Skip to content
bilderbuchi edited this page May 19, 2011 · 10 revisions

Frequently Asked Questions and troubleshooting information

  • I have trouble installing/running, what should I do?

Check in the Installation and this FAQ wiki page if you find relevant information. Then, search in the OpenTLD google group for your problem. Only if you don't find a relevant discussion, open a new thread there, and add the problem and solution to the Wiki here on github (it is editable by everybody for now).

  • lk.cpp [...] error: cv.h: No such file or directory

Either you have not installed the header files of openCV (Ubuntu: Package libcv-dev), or something is wrong with your library paths.

  • [Linux] version `GLIBCXX_3.4.14' not found

Most probably your gcc compiler is too new to be officially supported by Matlab. Ubuntu 11.04 for example ships with 4.5, but Matlab only supports earlier version. One fix as mentioned by Zdenek:

cd ${MATLABROOT}/sys/os/glnxa64 (or glnx86 if you're on 32bit)
mkdir oldlibs (depending on the location of Matlab, it may be necessary to use sudo mv ...)
mv libgcc_s.so.1 ./oldlibs
mv libstdc++.so.6* ./oldlibs 

Ignore the warning about the compiler version. By moving the libraries we force MATLAB to look at the system libraries, which is the behavior we would like :)

Something similar may be necessary if you get problems with libraw1394.so.8

 mv libdc1394.so.22* ./oldlibs
  • error LNK2019: unresolved external symbol

An error like error LNK2019: unresolved external symbol or similar means that the linker hasn't found the libraries, which means that either the library path is wrong or that the library files haven't been built properly. Examine the contents of the 'lib' variable just before mex is called, there should be a few files detected, if it's empty you need to sort it out. Resolving the external symbols is the job of the linker which means that all the files actually compiled fine and you're almost there.

  • [octave] What's up with the Octave branch?

The octave branch is intended to offer people who don't/can't use Matlab an open-source alternative by using the Matlab replacement Octave. This version is not official for now, and lives in a branch separate from the official one. The branch intends to maintain complete Matlab compatibility for easy comparison. For now, the most advanced version can probably be found here, but check the commit network if there have been other developments.

As of May 18th, the Octave code in the debug branch is executing and tracking. Effort is needed to resolve the remaining Issues.

  • [octave] Warning: unable to find mkoctfile in expected location:

mkoctfile is missing. Normally on Linux it is part of the octave-headers package.

  • Invalid function argument ~ (or similar message)

The tilde character ~ is used in some of the Matlab code as a dummy variable. Older versions of Matlab (<R2009b) do not support this notation, though, so you may need to replace these characters with your own (arbitrary) variable names. The current branches in the bilderbuchi repository have this change already applied. To see the actual changes/commits (not necessary for the normal user), see here and here.