[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-source-highlight] Compilation failures using qmake + mingw / m

From: Lorenzo Bettini
Subject: Re: [Help-source-highlight] Compilation failures using qmake + mingw / msvc
Date: Wed, 18 Nov 2009 17:41:44 +0100
User-agent: Thunderbird (Windows/20090812)

Matthias Pospiech wrote:
Lorenzo Bettini schrieb:
Lorenzo Bettini wrote:

I'm working on this, and solving the autoconf generated files and defines in the .pro files, it's taking me some time.

Hope to have something ready soon :)

OK, I made it, at least I can successfully build both source-highlight and source-highlight-qt under Linux with qmake, you can find these source tar balls here:

I still haven't tried that on windows 'cause I need some sleep now :)

I have not included the regex libs, since they have a very long and compiler specific name which is not included in your .pro file so far.

you can pass this information to qmake with (I'm writing without being to verify that)

INCPATH+="/usr/local/include" LIBS+="-L/usr/local/lib -lboost_regex"

if you extracted that tar ball in c:

However I tried to compile it to see if it finishes that step:

Here the errors that come with msvc: (I leave out the warnings)

.\ : fatal error C1083: Datei (Include) kann nicht geƶffnet werden: "unistd.h": No such file or directory

This is a Unix only file which is is emulated by mingw, but not existend in other compilers which means that it is not available for msvc.

mh... I see what I can do about that, but I don't know whether I can do something... note that the configure based system is able to deal with that but I don't know how to adapt that to msvc

With mingw it compiles until it complains that boost is not found. This is something I have to solve before.

have you tried this site providing builds of boost regex for mingw?


Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]