bob issueshttps://gitlab.idiap.ch/bob/bob/-/issues2016-08-04T09:30:26Zhttps://gitlab.idiap.ch/bob/bob/-/issues/108Libavutil PixelFormat C-style macro conflicts with bob daq PixelFormat enum2016-08-04T09:30:26ZAndré AnjosLibavutil PixelFormat C-style macro conflicts with bob daq PixelFormat enum*Created by: laurentes*
This bug was initially reported on [macports](https://trac.macports.org/ticket/37833).
The problem has occured after a libavutil update on macports, which now defines a C macro PixelFormat in /opt/local/include/...*Created by: laurentes*
This bug was initially reported on [macports](https://trac.macports.org/ticket/37833).
The problem has occured after a libavutil update on macports, which now defines a C macro PixelFormat in /opt/local/include/libavutil/pixfmt.h:307:21
```C
#define PixelFormat AVPixelFormat
```
As the macro seems to be used in src/io/cxx/VideoUtilities.cc, we can't undefine it just after the inclusion of the libavutil header. One solution would be to undefine it in the fundamental headers of the DAQ submodule, include/bob/daq/Camera.h and include/bob/daq/Controller.hhttps://gitlab.idiap.ch/bob/bob/-/issues/145RPM Packages, OBS and Koji2016-08-04T12:27:46ZAndré AnjosRPM Packages, OBS and Koji*Created by: anjos*
> This issue was migrated from bug #104
Like we have Ubuntu packages being built for a variety of Ubuntu platforms, it would be nice to have packages built for OpenSuse and Fedora distros as well.
Here is a pl...*Created by: anjos*
> This issue was migrated from bug #104
Like we have Ubuntu packages being built for a variety of Ubuntu platforms, it would be nice to have packages built for OpenSuse and Fedora distros as well.
Here is a place to start:
For Fedora: http://koji.fedoraproject.org/koji/
For Suse: https://build.opensuse.org/
Furthermore, we already have a prototypical RPM skeleton for Bob at https://github.com/bioidiap/bob.rpm
The person that tackles this bug should develop that package with instructions and modifications so we can upload package build requests to one of the above services.https://gitlab.idiap.ch/bob/bob/-/issues/146bob-config.cmake2016-08-04T09:31:37ZAndré Anjosbob-config.cmake*Created by: neodark*
Hello,
It's a great idea to have the bob-config.cmake in the <install_folder>/lib/bob/bob-config.cmake
There's just a small bug at the generation of this 2 lines in the file (I have spotted the error with <This p...*Created by: neodark*
Hello,
It's a great idea to have the bob-config.cmake in the <install_folder>/lib/bob/bob-config.cmake
There's just a small bug at the generation of this 2 lines in the file (I have spotted the error with <This path is not correct>):
get_filename_component(bob_INCLUDE_DIRS "<This path is not correct>" ABSOLUTE)
get_filename_component(bob_LIBRARY_DIRS "<This path is not correct>" ABSOLUTE)
<This path is not correct> should be replaced by <path to installed bob folder>/include for the first line and <path to installed bob folder>/lib for the second line
Cheers,
Flaviov1.2https://gitlab.idiap.ch/bob/bob/-/issues/156Build should fail if pkg-config is not installed2019-04-19T22:41:24ZAndré AnjosBuild should fail if pkg-config is not installed*Created by: anjos*
The build should fail if CMake cannot find pkg-config:
```
-- Bob version '1.2.0' (macosx-x86_64-release)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE
```*Created by: anjos*
The build should fail if CMake cannot find pkg-config:
```
-- Bob version '1.2.0' (macosx-x86_64-release)
-- Could NOT find PkgConfig (missing: PKG_CONFIG_EXECUTABLE
```v2.0https://gitlab.idiap.ch/bob/bob/-/issues/160Build should fail if Blitz++ <0.10 is detected2016-08-04T09:31:58ZAndré AnjosBuild should fail if Blitz++ <0.10 is detected*Created by: anjos*
There seems to be on guard in case an older version of Blitz is installed at the system. This can be easily fixed by a pkg-config check.*Created by: anjos*
There seems to be on guard in case an older version of Blitz is installed at the system. This can be easily fixed by a pkg-config check.v2.0https://gitlab.idiap.ch/bob/bob/-/issues/180bob nosetest fails on Mac OS 10.8.52016-08-04T09:32:33ZAndré Anjosbob nosetest fails on Mac OS 10.8.5*Created by: tcgeophysics*
I am running into an error with the ``` make nosetests ``` step of the compiling from source process.
I am using a Mac OS Mountain Lion 10.8.5 (64bits) and installing bob with homebrew.
The following is in...*Created by: tcgeophysics*
I am running into an error with the ``` make nosetests ``` step of the compiling from source process.
I am using a Mac OS Mountain Lion 10.8.5 (64bits) and installing bob with homebrew.
The following is installed:
Homebrew
HOMEBREW_VERSION: 0.9.5
CPU: 8-core 64-bit ivybridge
OS X: 10.8.5-x86_64
Xcode: 5.0.2
CLT: 5.0.1.0.1.1377666378
X11: 2.7.5
Python: 2.7.6
Nose: 1.3.0
VLFEAT is not installed and ``` -DWITH_VLFEAT=OFF ``` is specified
I wrote a homebrew formula to install bob and it seems to work for now without the nosetests step. [bob.q formula here](https://gist.github.com/tcgeophysics/8156717)
To repeat the problem
1 - install homebrew,
2 - Create a bob formula: ```brew create http://www.idiap.ch/software/bob/packages/bob-1.2.2.tar.gz```
3 - Edit the bob formula: ```brew edit bob```
delete everything and paste the contents of the [bob.q formula here](https://gist.github.com/tcgeophysics/8156717)
4 - Run ```brew install -v bob``` to install in debug mode
The install process does not complete with nosetests and exit with the following message:
```
======================================================================
ERROR: bob.io.test.test_video.test_frameskip_format_mov_codec_wmv1
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 197, in runTest
self.test(*self.arg)
File "/tmp/bob-OifB/bob-1.2.2/build/lib/python2.7/site-packages/bob/test/utils.py", line 108, in wrapper
return test(*args, **kwargs)
File "/tmp/bob-OifB/bob-1.2.2/build/lib/python2.7/site-packages/bob/io/test/test_video.py", line 71, in check_format_codec
orig, framerate, encoded = function(shape, framerate, format, codec, fname)
File "/tmp/bob-OifB/bob-1.2.2/build/lib/python2.7/site-packages/bob/io/utils.py", line 145, in frameskip_detection
fontsize = estimate_fontsize(height, width, text_format)
File "/tmp/bob-OifB/bob-1.2.2/build/lib/python2.7/site-packages/bob/io/utils.py", line 32, in estimate_fontsize
font = ImageFont.truetype(DEFAULT_FONT, best_size)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFont.py", line 218, in truetype
return FreeTypeFont(filename, size, index, encoding)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFont.py", line 134, in __init__
self.font = core.getfont(file, size, index, encoding)
File "/usr/local/Cellar/python/2.7.6/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/PIL/ImageFont.py", line 34, in __getattr__
raise ImportError("The _imagingft C module is not installed")
ImportError: The _imagingft C module is not installed
======================================================================
FAIL: test01_plda_EM_vs_Python (bob.trainer.test.test_plda.PLDATrainerTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/tmp/bob-OifB/bob-1.2.2/build/lib/python2.7/site-packages/bob/trainer/test/test_plda.py", line 391, in test01_plda_EM_vs_Python
self.assertTrue(numpy.allclose(m.f, m_py.f))
AssertionError: False is not true
-------------------- >> begin captured logging << --------------------
bob.c++: INFO: # EMTrainer:
bob.c++: INFO: # Iteration 1
bob.c++: INFO: # Iteration 2
bob.c++: INFO: # Iteration 3
bob.c++: INFO: # Iteration 4
bob.c++: INFO: # Iteration 5
bob.c++: INFO: # Iteration 6
bob.c++: INFO: # Iteration 7
bob.c++: INFO: # Iteration 8
bob.c++: INFO: # Iteration 9
bob.c++: INFO: # Iteration 10
bob.c++: INFO: # EM terminated: maximum number of iterations reached.
--------------------- >> end captured logging << ---------------------
----------------------------------------------------------------------
Ran 467 tests in 133.735s
FAILED (SKIP=4, errors=100, failures=1)
make[3]: *** [python/CMakeFiles/nosetests] Error 1
make[2]: *** [python/CMakeFiles/nosetests.dir/all] Error 2
make[1]: *** [python/CMakeFiles/nosetests.dir/rule] Error 2
make: *** [nosetests] Error 2
```
The full nosetests output can be found on this gist:
https://gist.github.com/tcgeophysics/8286521
Any advices on how to solves the issues pointed out by the nose output? Are they critical for bob?
It seems there is a problem with PIL which might not be maintained anymore.
Could PILLOW work instead?
https://gitlab.idiap.ch/bob/bob/-/issues/183-DWITH_PERFTOOLS option does not work2019-04-19T22:41:25ZAndré Anjos-DWITH_PERFTOOLS option does not work*Created by: laurentes*
It seems that this option does not work anymore on the master branch.
I don't know yet if this also affect the 1.2 branch.
The problems seems to be caused by the use of WITH_PERFTOOLS as a C-like defined vari...*Created by: laurentes*
It seems that this option does not work anymore on the master branch.
I don't know yet if this also affect the 1.2 branch.
The problems seems to be caused by the use of WITH_PERFTOOLS as a C-like defined variable, whereas this is initially a cmake variable.
The easiest solution is to perform the inclusion check at the cmake level rather than by the C preprocessor. A good example is what was done for libsvm.v2.0