Comments

1 answer

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.

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.

I'm doing some test with XE10 but some trouble still exist. Till now I can link as DLL all modules except of features2d,ts and superres due to some obscure error on link may be related to OpenCL. Some strict check by CLang requires a lot of casting of int to size_t. CUDA is out because it requires visual studio.