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 20:57:20 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Matthias Pospiech wrote:
Lorenzo Bettini schrieb:

P.S. it looks like building boost with msvc is fully supported: http://www.boost.org/doc/libs/1_41_0/more/getting_started/windows.html

building boost is not a problem, I have a problem to tell qmake where the include files are, since it does not find them.

you should pass to qmake these options

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

depending on where you installed boost; where have you installed them? In particular the headers and the lib?

you may want to try with a simpler example first (see, e.g., the example here: http://tronprog.blogspot.com/2009/10/compiling-boost-regex-in-linux.html)

and run g++ with the -I and -L options.

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]