[fpc-pascal] OpenCV
Adriaan van Os
fpc at microbizz.nl
Fri Feb 14 12:00:40 CET 2020
Sven,
> You could try to use this modified version of Swig which is supposed to
> support Delphi:Â https://github.com/FMXExpress/swig-delphi
I played a bit with SWIG, but my impression is that it will take considerable time to get OpenCV to
compile.
SWIG 4.0.1 did build out of the box on OSX, the Delphi version did not. Porting the Delpi changes
to a newer version of SWIG will take time too. Is there any special reason why Delphi support is
not accepted for the SWIG main code tree ?
It is strange that SWIG doesn't have a "neutral" C target language option: C++ wrappers for use
as-if-by-C.
I will write the C++ wrappers by hand for a few OpenCV functions I need. And see from there.
Thanks for the replies.
Regards,
Adriaan van Os
More information about the fpc-pascal
mailing list