Boost logo

Boost-Build :

Subject: [Boost-build] building unit test framework for Windows CE
From: Maria Kosche (mkos_at_[hidden])
Date: 2017-05-12 14:00:42


Hey,

I am currently trying to compile an automatic testing tool for Windows
CE, which is using some of the boost libraries.
I already achieved to compile nearly every library I need, but I am
facing problems while building the unit test framework library which I
need as a dynamic library.
Building it as static was no problem whatsoever.

I am using the following command to invoke b2:
C:\boost\boost-build\bin\b2 ^
-a ^
-q ^
--with-test ^
--debug-building ^
-d 13 ^
link=shared ^
toolset=msvc-arm ^
variant=release ^
architecture=arm ^
address-model=32 ^
stage

I attached my user-config.jam and my compiler configuration batch file
in case there is important information.

Invoking b2 leads to the following error message:

Delaying msvc.manifest.dll
bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll:
1 targets not ready
Executing using a command file and the shell: cmd.exe /Q/C
Command string for CreateProcessA(): 'cmd.exe /Q/C
C:\Users\macio\AppData\Local\Temp\jam4400-00-00.bat'
msvc.manifest.dll
bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll

         if exist
"bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll.manifest"
(
             call
"C:\Users\macio\AppData\Local\Temp\b2_msvc_arm_msvc9-vincell-config_x86.cmd"
>nul
mt -nologo -manifest
"bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll.manifest"
"-outputresource:bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll;2"
         )

Der Befehl "mt" ist entweder falsch geschrieben oder
konnte nicht gefunden werden.
0.015600 sec system; 0.000000 sec user; 60.003400 sec clock
...failed msvc.manifest.dll
bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll
bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.lib...
...removing
bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.dll
...removing
bin.v2\libs\system\build\msvc-arm\release\threading-multi\boost_system-vc-mt-1_63.lib
...skipped <pstage\lib>boost_system-vc-mt-1_63.dll for lack of
<pbin.v2\libs\system\build\msvc-arm\release\threading-multi>boost_system-vc-mt-1_63.dll...
...failed updating 1 target...
...skipped 1 target...
...updated 1 target...

The error message in German is translated something like: Command 'mt'
is misspelled or cannot be found.
I also attached the whole debug output in the log.txt file.

Nontheless, it seems, that the linker (or compiler?) is expecting a
command at a point where no command is given and instead reads some
flags and tries to interpret them as a command.
I am wondering why this error only occurs when I try to compile the test
library as dynamic and I really don't know what the exact problem is and
how to fix it.

Hopefully, someone has an idea or could give me a tip where to look
since I am looking for the cause for hours now.
Many thanks in advance.
Greetings,
Chris





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