Intel® oneAPI Threading Building Blocks
Ask questions and share information about adding parallelism to your applications when using this threading library.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Compiling TBB v4 using mingw

asanka424
Beginner
145 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_Intel2
145 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
SergeyKostrov
Valued Contributor II
145 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
Vladimir_P_Intel2
145 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

Anton_M_Intel
Employee
145 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.
Reply