Compilin 2.1.1 for Windows
Brought to you by:
igor_filippov
Good day. I have a question: is it possible to compile OSRA 2.1.1 for use in Windows environment? I successfully managet to compile version for linux (osra, osra.a and osra.so) but can't generate neither dll or exe file. I can't even find option to set target OS or switch to cross-compilation mode. Also, I want to try to connect OSRA to the ChemDraw - is it possible for 2.1.1?
Yes, it is possible to build OSRA for Windows using MinGW compiler.
You can also consider purchasing a pre-build binary version.
There is an older plugin for OSRA and ChemDraw, it might be possible to update it to work with a more recent version of ChemDraw but I no longer maintain this plugin so it is entirely up to the user.
The old plugin can be found here:
https://sourceforge.net/projects/osra/files/plugins/chemoffice/
Thank you for your answer! So I need to install MinGW on Linux and then I will be able to cross-compile? What should I change in the configuration files of OSRA to target MinGW? And what file type it will generate: exe or dll?
No, I meant installing MinGW on a Windows PC and compiling there.
It might be possible to cross-compile on Linux, but I've never tried it.
And if I compile it with MinGW under Windows PC, it will produce an .exe file, which possibly could be used with ChemDraw plugin, right?
Correct.