dunnart
dunnart copied to clipboard
how to compile OGDF with MinGW?
hi Michael, I am trying to link my Qt project against OGDF. Since you have done it successfully, I'd like to ask advice. I am failing to compile OGDF using MinGW. Chasing one of the compilation errors, I found out that in ogdf\src\basic\basic.cpp there is an explicit 'complaint' about MinGW: // XXX How do we implement these for MinGW GCC? was it you writing it? And, since the functions that follow have been reimplemented more or less as dummies, may this be the reason why GML read/write does not work in Dunnart? you see, those functions manage files and dirs. Anyway, I guess that if I copy the extra definitions compilation errors will disappear. Before doing that, are there other places where OGDF should be hacked in order to work with MinGW? The simple approach would just be to copy the code version that comes with Dunnart. However, I'd like to know what I am doing, and also whether this might introduce bugs, due to the rewriting process.