boost installieren.....
-
hi!
ich hab probleme beim installieren von der boost lib..
hab mir geladen: boost_1_31_0.zip
und in den ordner c:\Boost extrahierthab Visual Studio .NET. 2002
im ordner: C:\Programme\Microsoft Visual Studio .NET\dann wollte ich:
bjam "-sTOOLS=vc7" install ausführen aber irgendwas funzt net....ka...hab auch in der doku geschaut...was muss man noch alles machen? bitte um help..
das muss man alles machen:
1.) Download Boost.
2.) Install Boost.Jam.
3.) Configure your compiler toolset.
4.) Go to Boost distribution directory.
5.) Build and install.cu
-
hab zuvor das geladn:
boost-jam-3.1.10.zip
extrahiert nach
C:\Boost\tools\build\jam_src\dann hab ich da: build.bat ausgeführt....hat er noch paar libs erzeug u die directorys:
bin.ntx86
bootstrap.vc7
debian
modulesok dann hab ich folgendes gemacht:
C:\Boost\tools\build\jam_src\bin.ntx86>bjam -sTOOLS=vc
vc-tools.jam: No such file or directory
Jamfile: No such file or directory
Jamfile: No such file or directory
...found 8 targets...hmm???
cu
-
Du musst bjam im boost directory ausführen... hast du das gemacht?
Sonst findet bjam die sachen ja nicht. bjam ist ja auch nur ein make (wenn auch ein intelligenteres).
-
Shade Of Mine schrieb:
Du musst bjam im boost directory ausführen... hast du das gemacht?
Sonst findet bjam die sachen ja nicht. bjam ist ja auch nur ein make (wenn auch ein intelligenteres).
hab die bjam.exe in den boost direktory kopiert also nach C:\boost\
dann hab ich es gestartet:
C:\Boost>bjam -sTOOLS=vc
vc-tools.jam: No such file or directory
---------------------------------------------------------------------
skipping Boost.Python library build due to missing or incorrect configurationcouldn't find Python.h in "c:/tools/python/include"
You can configure the location of your python installation by setting:
PYTHON_ROOT - currently "c:/tools/python"
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
"2.2", NOT "2.2.1") - currently "2.2"The following are automatically configured from PYTHON_ROOT if not
otherwise set:PYTHON_LIB_PATH - path to Python library object; currently
"c:/tools/python/libs"
---------------------------------------------------------------------hm?
cu
-
C:\Boost>bjam -sTOOLS=vc
vc-tools.jam: No such file or directory
---------------------------------------------------------------------
skipping Boost.Python library build due to missing or incorrect configurationcouldn't find Python.h in "c:/tools/python/include"
You can configure the location of your python installation by setting:
PYTHON_ROOT - currently "c:/tools/python"
PYTHON_VERSION - The 2-part python Major.Minor version number (e.g.
"2.2", NOT "2.2.1") - currently "2.2"The following are automatically configured from PYTHON_ROOT if not
otherwise set:PYTHON_LIB_PATH - path to Python library object; currently
"c:/tools/python/libs"
---------------------------------------------------------------------
vc-tools.jam: No such file or directory
C:\Boost\tools/build/v1\allyourbase.jam:630: in C++
rule C++-action unknown in module
C:\Boost\tools/build/v1\allyourbase.jam:1097: in Object
C:\Boost\tools/build/v1\allyourbase.jam:1162: in Objects
C:\Boost\tools/build/v1\boost-base.jam:130: in dll-files
C:\Boost\tools/build/v1\boost-base.jam:1934: in subvariant-target
C:\Boost\tools/build/v1\boost-base.jam:2361: in stage
Jamfile:144: in load-jamfiles
C:\Boost\tools\build\v1\bootstrap.jam:15: in boost-build
C:\Boost\boost-build.jam:16: in module scope
-
vc gibt es ja auch nicht. es gibt nur vc7, vc7.1 und msvc
-
naja jetzt is was weiter gegangen;-)is das ok so:
MkDir1 bin\boost\libs\date_time\build\libboost_date_time.lib
MkDir1 bin\boost\libs\date_time\build\libboost_date_time.lib\vc7
MkDir1 bin\boost\libs\date_time\build\libboost_date_time.lib\vc7\debug
MkDir1 bin\boost\libs\date_time\build\libboost_date_time.lib\vc7\debug\runtime-l
ink-static
vc-C++ bin\boost\libs\date_time\build\libboost_date_time.lib\vc7\debug\runtime-l
ink-static\greg_month.obj
greg_month.cpp
vc-C++ bin\boost\libs\date_time\build\libboost_date_time.lib\vc7\debug\runtime-l
ink-static\greg_weekday.obj
greg_weekday.cpp
vc-C++ bin\boost\libs\date_time\build\libboost_date_time.lib\vc7\debug\runtime-l
ink-static\date_generators.obj
date_generators.cpp
vc-Archive bin\boost\libs\date_time\build\libboost_date_time.lib\vc7\debug\runti
me-link-static\libboost_date_time-vc7-sgd-1_31.lib
Microsoft (R) Library Manager Version 7.00.9466
Copyright (C) Microsoft Corporation. All rights reserved.da hat er mehrere libs usw angelegt...ein paar für release u paar für debug...usw
werden da neue libs erstellt? aber ich hatte ja in dem ordner vorher schon auch unter c:\boost\libs\ librarys....
versteh denn sinn da nicht....was ist nun zu machen???
cu
-
hmm
ich hab jetzt
bjam -sTOOLs=vc7
was ist wenn ich das mache:
bjam -sTOOLS=vc7 -install
wo liegt der unterschied????
ist sonst no was zu tun??
cu
-
Ich hab mich damit auch lange rumgeärgert, dann hab ich mir einfach die .zip gesaugt, entpackt und den Lib- und Includeordner im VC++ eingestellt, funktioniert einwandfrei
-
SirLant schrieb:
Ich hab mich damit auch lange rumgeärgert, dann hab ich mir einfach die .zip gesaugt, entpackt und den Lib- und Includeordner im VC++ eingestellt, funktioniert einwandfrei
u wer erstellt für dich die libs u includes??? das geht halt nur mit bjam....aber jetzt funzt es e;-)
eifnach so:
bjam -sTOOLS=vc7 -install
dann erstellt er auf C:\Boost\
einen ordner mit include u lib....u dann halt einfach den Lib- und Includeordner im VC++ eingestellen....cu
-
Ich hab die boost_1_31_0.zip und da sie die alle fertig drin