open-discussion > Can MRIcroGL be compiled under the latest version of delphi?
Showing 1-2 of 2 posts
Jul 12, 2019 02:07 PM | las nikolay
Can MRIcroGL be compiled under the latest version of delphi?
Can MRIcroGL be compiled under the latest version of
delphi? What needs to be done?
Jul 12, 2019 05:07 PM | Chris Rorden
RE: Can MRIcroGL be compiled under the latest version of delphi?
At one stage, MRIcroGL 1.0 could be compiled with either Delphi 7.0
or Lazarus. I have not tested recent releases, but you could
download the final release source code and I suspect you could compile it with Delphi
without much work.
The modern MRIcroGL 1.2 uses OpenGL 3.3 Core instead of OpenGL 2.1, and I have never tried compiling this with Delphi. I would suggest ensuring Delphi can support this version by compiling the basic OpenGL core project. If this works, I would think compiling the source code for MRIcroGL 1.2 would not take to much work - mainly translating the Lazarus format form files (.lfm) to Delphi format (.dfm).
I am really not sure there would be much benefit. The current code compiles to Linux, Windows and MacOS using Lazarus and the time consuming tasks are completed using GLSL which would be identical for both compilers. So I expect this would be a lot of work for little gain.
The modern MRIcroGL 1.2 uses OpenGL 3.3 Core instead of OpenGL 2.1, and I have never tried compiling this with Delphi. I would suggest ensuring Delphi can support this version by compiling the basic OpenGL core project. If this works, I would think compiling the source code for MRIcroGL 1.2 would not take to much work - mainly translating the Lazarus format form files (.lfm) to Delphi format (.dfm).
I am really not sure there would be much benefit. The current code compiles to Linux, Windows and MacOS using Lazarus and the time consuming tasks are completed using GLSL which would be identical for both compilers. So I expect this would be a lot of work for little gain.