Hi August,
many thanks for your efforts. I am afraid, that this is actually quite a challenge you are trying here.
We once had support for MinGW, but it caused more problems than bringing any benefit. Hence we removed the support from it, also given by the fact that there was always a free version of Visual Studio available.
Of course, if you are eager to tackle this you will get support from us. But honestly, we need to really check if we can add this into the core library if it will even work.
Please note, that there will be only patch level releases left for the 2.x cycle. So having this MinGW port in a separate repository could be a convenient way for both sides.
We are currently working on SeqAn 3 and this will be no compatible with SeqAn 2 and requires c++17/20. I am afraid this will be a stopper for MinGW for quite some time.
But, I think if Windows comes with a linux subsystem these days it could be worth it to check if R might package using standard linux on Windows anyway in the future (Not sure if they have it on their wishlist already).
However, we are still happy to assist you to try out minGW compiler. Please let us know the compiler errors you receive, and the invoked build command, so we can have a closer look on our side.
For the respective error you are receiving, it seems the only place that is using it is the <seqan/system/file_sync.h> header and some other headers doing some forward declaration of it.
As far as I am concerned, this is old code and does not really need to be shipped in your project. So you could wrap it into macros, that if MinGW is used these code paths are not evaluated.
We have a virtual stream class now, which is a better alternative for the File class.
Anyhow, I couldn't find any place where we directly use File<Sync|Async> for (a)synchronous I/O so it would be safe to remove for the R port.
Let me know if there is anything more, but please bear in mind, that we are quite busy right now, and it could take a while for us to respond with a proper solution.
Especially in the next two weeks ;)
Best,
René
---
René Rahn
Ph.D. Student (de.NBI - CIBI)
--------------------------------
Institute of Computer Science
Algorithmic Bioinformatics (ABI)
--------------------------------
Freie Universität Berlin
Takustraße 9
14195 Berlin
--------------------------------
|