Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

It is possible, but since Embarcadero's compiler is sometimes confused or more strict than others it requires some adjustment here and there.

I am currently working on this for OpenCV's 3.0.0 release. You're welcome to and can follow my progress and fork/contribute/discuss here.

At the moment most opencv/modules build and tests can be run (not all tests pass) and there are some dirty hacks that break functionality. Most 3rdparty libs aren't done (build) yet as well as the performance tests. I expect to have everything to compile next month or so.

Similar work had been done before, for example by; davyw

It is possible, but since Embarcadero's compiler is sometimes confused or more strict than others it requires some adjustment here to the source code and there.therefor you must recompile it.

I am currently working on this for OpenCV's 3.0.0 release. You're welcome to and can follow my progress and fork/contribute/discuss here.

At the moment most opencv/modules build and tests can be run (not all tests pass) and there are some dirty hacks that break functionality. Most 3rdparty libs aren't done (build) yet as well as the performance tests. I expect to have everything to compile next month or so.

Similar work had been done before, for example by; davyw

It is possible, but since Embarcadero's compiler is sometimes confused or more strict than others it requires some adjustment to the source code and therefor you must recompile it.

I am currently working on this for OpenCV's 3.0.0 release. You're welcome to and can follow my progress and fork/contribute/discuss here.

At the moment most opencv/modules build and tests can be run (not all tests pass) and there are some dirty hacks that break functionality. Most 3rdparty libs aren't done (build) yet as well as the performance tests. I expect to have everything to compile next month or so.

Similar work had been done before, for example by; davyw

EDIT: Current status:

  • builds in RelWithDebInfo or Debug (but not Release - see thinks to fix below)
  • all modules except world compile/link including tests
  • most tests pass
  • perf tests don't compile

Things to fix:

  • perf tests
  • Error E2357 Reference initialized with 'cv::Mat', needs lvalue of type 'cv::Mat'

when doing something like:

cv::Mat A;
cv::Mat B;
A.copyTo(B(cv::Rect()));

which can be worked around by casting B to (const cv::Mat&) inside copyTo

  • 3rdparty libs (openexr, libwebp)

To compile I use: cmake.exe -G"Borland Makefiles" -DCMAKE_BUILD_TYPE=Debug -DBUILD_OPENEXR=OFF -DBUILD_opencv_world=OFF -DBUILD_PERF_TESTS=OFF -DWITH_WEBP=OFF -DWITH_OPENCL=OFF -DWITH_OPENEXR=OFF .. to generate makefiles and use make or make install to build/install.