Compiling TBB v4 using mingw

Compiling TBB v4 using mingw

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

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,
Sergey

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.

发表评论

登录添加评论。还不是成员?立即加入