help-source-highlight
[Top][All Lists]
Advanced

[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 2.0.0.23 (Windows/20090812)

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

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:

http://gdn.dsi.unifi.it/~bettini/binaries/source-highlight-qmake-3.1.2.tar.gz http://gdn.dsi.unifi.it/~bettini/binaries/source-highlight-qt-qmake-0.2.tar.gz

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)

.\stylescanner.cc(621) : 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?
http://nuwen.net/mingw.html

cheers
        Lorenzo

--
Lorenzo Bettini, PhD in Computer Science, DI, Univ. Torino
ICQ# lbetto, 16080134     (GNU/Linux User # 158233)
HOME: http://www.lorenzobettini.it MUSIC: http://www.purplesucker.com
http://www.myspace.com/supertrouperabba
BLOGS: http://tronprog.blogspot.com  http://longlivemusic.blogspot.com
http://www.gnu.org/software/src-highlite
http://www.gnu.org/software/gengetopt
http://www.gnu.org/software/gengen http://doublecpp.sourceforge.net




reply via email to

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