Ask Your Question

sergiomb's profile - activity

2018-02-01 13:47:21 -0500 answered a question with opencv 3.1 ?

rpm -ql opencv-contrib [1] I built opencv 3.3.1 in rawhide (next Fedora 28 ), in F27 we got 3.2 we you want test opencv

2018-02-01 13:07:39 -0500 received badge  Enthusiast
2016-04-23 20:20:58 -0500 commented answer documentation about compile and cmake definitions

For me was more simple use vi CMakeLists.txt and read from line 162 ...

2016-04-23 17:50:21 -0500 received badge  Editor (source)
2016-04-23 17:47:48 -0500 asked a question documentation about compile and cmake definitions


I just found to enable QT and opengl I need add -DWITH_QT=ON, for example something like:


where I can find the complete list of cmake options and what are enabled by default ?

The best that I found was


2016-04-22 22:48:17 -0500 asked a question with opencv 3.1 ?

Hi , I'd like to know if we can build with opencv-3.1 and opencv-contib ?


2016-01-14 10:38:54 -0500 answered a question Error building OpenCV 3.0.0 with FFMPEG

in Fedora 23 I suspect that is hardened builds :

 /bin/sh ../libtool --tag=CXX --silent --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Werror=format-security Y_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wformat  -Wl,-z,relro -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -o bootstrap bootstrap.o  -lmpeg3 -lopencv_video -lopencv_objdetect -lopencv_legacy  -lm -ldl -lpthread


/usr/bin/ld: bootstrap.o: relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
bootstrap.o: error adding symbols: Bad value
collect2: error: ld returned 1 exit status

without hardened:

/bin/sh ../libtool --tag=CXX --silent --tag=CC   --mode=link gcc  -O2 -g -pipe -Wall -Werror=for-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -m64 -mtune=generic -Wformat  -Wl,-z,relro -o bootstrap bootstrap.o  -lmpeg3 -lopencv_video -lopencv_objdetect -lopencv_legacy  -lm -ldl -lpthread

(remove -specs=/usr/lib/rpm/redhat/redhat-hardened-ld is enough)


2015-07-14 23:02:02 -0500 commented answer Unable to build documentation

make html_docs make many html documents but make install don't install it . what html docs are important to belongs to an rpm package ?