qml-ogdf icon indicating copy to clipboard operation
qml-ogdf copied to clipboard

Building with mingw

Open mmMike opened this issue 12 years ago • 1 comments

Hi,

I wanted to try your sample with mingw (gcc 4.8.1) from mingw-builds and Qt 5.1. But I get an error in configall_system.h: #error "Trying to use configall_system for unknown compiler."

since I saw the older compile issue I tried to paste in OGDF Snapshot 2013-07-18 but that doesn't help.

Any ideas how to get it compiled?

greets mike

mmMike avatar Sep 30 '13 14:09 mmMike

The simplest solution would be to install Visual C++ 2012 Express (or 2013 if you need C++11 features).

I've never tried mingw myself, but its supported by OGDF. configall_system.h is included by config_default.h, which is only used when #define HAVE_CONFIG_H is not set.

You should be able to fix the problem by porting my CMake files from the official OGDF repository to qml-ogdf: see config.h, coin.cmake and friends.

schulzch avatar Oct 03 '13 13:10 schulzch