Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.

Compiling TBB v4 using mingw

asanka424
Beginner
406 Views
Hi,

There is a problem compiling TBB using mingw in windows. When I try to make tbbproxy this error 193 comes.

C:\\TBB4>c:\\QtSDK\\mingw\\bin\\mingw32-make.exe arch=ia32 compiler=gcc runtime=mingw
tbbproxy
Created .\\\\build\\\\release and ..._debug directories
c:/QtSDK/mingw/bin/mingw32-make -C ".\\\\build\\\\debug" -r -f ../../build/Makefile
.tbbproxy cfg=debug tbbproxy tbb_root=../..
mingw32-make[1]: Entering directory `C:/TBB4/build/debug'
tbbproxy-asm.asm
process_begin: CreateProcess(C:\\TBB4\\build\\debug\\tbbproxy-asm.asm, tbbproxy-asm.
asm, ...) failed.
make (e=193): Error 193
mingw32-make[1]: *** [tbbproxy-asm.o] Error 193
mingw32-make[1]: Leaving directory `C:/TBB4/build/debug'
mingw32-make: *** [tbbproxy] Error 2

Does anyone know what might be the problem?

Thanks.
Asanka
0 Kudos
4 Replies
Vladimir_P_1234567890
406 Views
hi Asanka,
tbbproxy is community preview feature. it is not supported for mingw yet and its future is unclear since there is a lack of feedback.
--Vladimir
0 Kudos
SergeyKostrov
Valued Contributor II
406 Views
You have two errors, that is 193 and 2. If theseerrors are returned from 'GetLastError' Win32 API function than:

193 - Is not a valid application
2 - The system cannot find the file specified

Sorry, but I have no idea why it happened.

Best regards,
Sergey
0 Kudos
Vladimir_P_1234567890
406 Views
Sorry, but I have no idea why it happened.

There is no asm compiler defined in mingw include file that caused thismarvelous error message.

--Vladimir

0 Kudos
Anton_M_Intel
Employee
406 Views
> process_begin: CreateProcess(C:\TBB4\build\debug\tbbproxy-asm.asm, tbbproxy-asm.
In general, such a message may appear with MinGW when sh.exe is in the path. Our makefiles are not tuned to work with [ba]sh on windows but mingw32-make may try to use it.
0 Kudos
Reply