Thanks,
I would like to use bost 1.44, I can build it with VS2008 but not with MinGW provided with QTCreator ! It is the problem :-P
Thanks,
I would like to use bost 1.44, I can build it with VS2008 but not with MinGW provided with QTCreator ! It is the problem :-P
See this link it contains both information and already build with mingw boost library download.
There's no issue building the as-delivered Boost source with MingW in the Qt SDK. The build command straight from the Boost documentation:
that is:Qt Code:
bjam --build-dir=build-directory toolset=toolset-name --build-type=complete stageTo copy to clipboard, switch view to plain text mode
works a treat.Qt Code:
Y:> cd \boost_1_44_0 Y:> bjam --build-dir=build toolset=gcc --build-type=complete stageTo copy to clipboard, switch view to plain text mode
Zlatomir (9th November 2010)
you can read in: http://forums.congdongcviet.com/showthread.php?t=28355
and download binary built: http://forums.congdongcviet.com/atta...3&d=1270220820
This is an English speaking forum, please don't post links to resources in other languages.
It is what I try... my machine is Win7 64 bits... maybe there is a problem with this ?
I got this error :
I have check the "build-system.jam:721" and I have :D:/Boost/boost_1_44_0/tools/build/v2\build-system.jam:721: in load
*** argument error
* rule project.load ( jamfile-location )
* called with: ( )
* missing argument jamfile-location
local first-project-root-module = [ project.load $(first-project-root-location) ] ;
I really suggest to move this discussion to some Boost related forum. This issue has nothing to do with Qt. The sole fact that in some future you wish to use Boost with Qt doesn't make it a Qt issue. If that was the case, installing Windows on your machine or choosing a graphics card for your computer could also be treated as "Qt issues". Moving to "General Programming" and changing the thread title...
Thanks,
But I'm not sure, in fact it is a mix of both !
1 - I use mingw provided with QT Creator
2 - Boost must be compiled with the same compiler
So, it sounds that everybody can compile boost with a normal distribution of mingw. But maybe the problem is an error in the distribution provided with QT Creator.
There is nothing special with the MinGW provided with Qt, AFAIK.
Try getting MinGW on its own, and see if you get boost built then.
If you do, you can use the resulting libs with the MinGW you got with Qt.
==========================signature=============== ==================
S.O.L.I.D principles (use them!):
https://en.wikipedia.org/wiki/SOLID_...iented_design)
Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.
The exact command line to use to build Boost with the MingW shipped in the Qt SDK is already in this thread and the Boost docs and works quite fine.
Thanks for all your answer,
I have finally build boost 1.44 under Vista 32 bist, all work fine. I have copy all the ".a" files. But I have problem in the "link" phase. I got the following message :
Here is what I have in my .pro fileundefined reference to `_imp___ZN5boost6thread9interruptEv'
error: undefined reference to `_imp___ZN5boost6thread4joinEv'
...
INCLUDEPATH += "C:/Boost/include/boost-1_44"
DEPENDPATH += "C:/Boost/include/boost-1_44"
win32:CONFIG(release, debug|release): LIBS += "C:/Boost/lib/libboost_thread-mgw44-mt-d-1_44.a"
else:win32:CONFIG(debug, debug|release): LIBS += "C:/Boost/lib/libboost_thread-mgw44-mt-d-1_44.a"
You can download the pre-compiled libs generated with the latest QT mingw gcc
http://www.cogniteam.com/wiki
Bookmarks