Compiling TBB v4 using mingw

Compiling TBB v4 using mingw


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
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'
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?


5 帖子 / 0 全新

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

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,

Quoting Sergey Kostrov
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

> 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.