Boost logo

Boost-Build :

Subject: [Boost-build] Subject: [Thread] Cross build from window to arm
From: Mak Louis (islouis_at_[hidden])
Date: 2011-07-12 23:20:03


Hi there: I'm trying to cross compile from window to arm TS7800, I have successfully compile all other libraries except for thread.Bjam always complaint about windows.h and process.h, I checked my %include% and %lib% I have both files and have alsoinstalled the latest window 7 SDK and .net 4.0, but i keep getting the same result. Any help is appreciated. Thanks Louis My user-config.jamusing gcc : arm : C:/Sourcery/bin/arm-none-linux-gnueabi-g++.exe ; C:\Program Files\boost\boost_1_47_0>b2 toolset=gcc-arm target-os=linux variant=release threading=multi --with-thread Building the Boost C++ Libraries. Component configuration: - chrono : not building
    - date_time : not building
    - exception : not building
    - filesystem : not building
    - graph : not building
    - graph_parallel : not building
    - iostreams : not building
    - math : not building
    - mpi : not building
    - program_options : not building
    - python : not building
    - random : not building
    - regex : not building
    - serialization : not building
    - signals : not building
    - system : not building
    - test : not building
    - thread : building
    - wave : not building...patience...
...found 525 targets...
...updating 7 targets...
gcc.compile.c++ bin.v2\libs\thread\build\gcc-arm\release\target-os-linux\threadi
ng-multi\win32\thread.o
libs\thread\src\win32\thread.cpp:11:21: fatal error: windows.h: No such file or
directory
compilation terminated. "C:/Sourcery/bin/arm-none-linux-gnueabi-g++.exe" -ftemplate-depth-128 -O3 -
finline-functions -Wno-inline -Wall -pthread -fPIC -Wno-long-long -DBOOST_ALL_NO
_LIB=1 -DBOOST_THREAD_BUILD_DLL=1 -DNDEBUG -I"." -c -o "bin.v2\libs\thread\buil
d\gcc-arm\release\target-os-linux\threading-multi\win32\thread.o" "libs\thread\s
rc\win32\thread.cpp"...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc-arm\release\target-os-lin
ux\threading-multi\win32\thread.o...
...skipped <pbin.v2\libs\thread\build\gcc-arm\release\target-os-linux\threading-
multi>libboost_thread-gcc-mt-1_47.so.1.47.0 for lack of <pbin.v2\libs\thread\bui
ld\gcc-arm\release\target-os-linux\threading-multi>win32\thread.o...
...skipped <pstage\lib>libboost_thread-gcc-mt-1_47.so.1.47.0 for lack of <pbin.v
2\libs\thread\build\gcc-arm\release\target-os-linux\threading-multi>libboost_thr
ead-gcc-mt-1_47.so.1.47.0...
gcc.compile.c++ bin.v2\libs\thread\build\gcc-arm\release\link-static\target-os-l
inux\threading-multi\win32\thread.o
libs\thread\src\win32\thread.cpp:11:21: fatal error: windows.h: No such file or
directory
compilation terminated. "C:/Sourcery/bin/arm-none-linux-gnueabi-g++.exe" -ftemplate-depth-128 -O3 -
finline-functions -Wno-inline -Wall -pthread -Wno-long-long -DBOOST_ALL_NO_LIB=1
 -DBOOST_THREAD_BUILD_LIB=1 -DNDEBUG -I"." -c -o "bin.v2\libs\thread\build\gcc-
arm\release\link-static\target-os-linux\threading-multi\win32\thread.o" "libs\th
read\src\win32\thread.cpp"...failed gcc.compile.c++ bin.v2\libs\thread\build\gcc-arm\release\link-static\t
arget-os-linux\threading-multi\win32\thread.o...
...skipped <pbin.v2\libs\thread\build\gcc-arm\release\link-static\target-os-linu
x\threading-multi>libboost_thread-gcc-mt-1_47.a(clean) for lack of <pbin.v2\libs
\thread\build\gcc-arm\release\link-static\target-os-linux\threading-multi>win32\
thread.o...
...skipped <pbin.v2\libs\thread\build\gcc-arm\release\link-static\target-os-linu
x\threading-multi>libboost_thread-gcc-mt-1_47.a for lack of <pbin.v2\libs\thread
\build\gcc-arm\release\link-static\target-os-linux\threading-multi>win32\thread.
o...
...skipped <pstage\lib>libboost_thread-gcc-mt-1_47.a for lack of <pbin.v2\libs\t
hread\build\gcc-arm\release\link-static\target-os-linux\threading-multi>libboost
_thread-gcc-mt-1_47.a...
...failed updating 2 targets...
...skipped 5 targets...C:\Program Files\boost\boost_1_47_0>



Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk