Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Compilation flags for hard float on ARM

I'm tring to recompile opencv with full floating point support on ARM. Right now I modified the CMakeLists.txt setting this option:

set(EXTRA_C_FLAGS "-mfloat-abi=hard -mfpu=vfpv3")

I'm recompiling the Ubuntu package for Opencv (2.3.1), the compilation runs smoothly and produces correct debs to install.

I'm recompiling also my own software linking with the recopiled libraries.

The software runs, but it produces a completely broken capture. The software should run on a Beaglebone.

Anybody knows the corrects flags to recompile Opencv with hard float support?

Compilation flags for hard float on ARM

I'm tring to recompile opencv with full floating point support on ARM. Right now I modified the CMakeLists.txt setting this option:

set(EXTRA_C_FLAGS "-mfloat-abi=hard -mfpu=vfpv3")

I'm recompiling the Ubuntu 12.04 (armhf) package for Opencv (2.3.1), the compilation runs smoothly and produces correct debs to install.

I'm recompiling also my own software linking with the recopiled libraries.

The software runs, but it produces a completely broken capture. The software should run on a Beaglebone.

Anybody knows the corrects flags to recompile Opencv with hard float support?