Re: Compilation failures using qmake + mingw / msvc
Lorenzo Bettini <[email protected]> Wed, 18 Nov 2009 20:57:20 +0100
| Newsgroups | gmane.comp.gnu.source-highlight.general |
|---|---|
| Message-ID | <[email protected]> |
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