{"action":"created","issue":{"url":"https://api.github.com/repos/HPCE/hpce-2015-cw3/issues/2","labels_url":"https://api.github.com/repos/HPCE/hpce-2015-cw3/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/HPCE/hpce-2015-cw3/issues/2/comments","events_url":"https://api.github.com/repos/HPCE/hpce-2015-cw3/issues/2/events","html_url":"https://github.com/HPCE/hpce-2015-cw3/issues/2","id":114557640,"number":2,"title":"Unable to build tbb on cygwin","user":{"login":"emadkhan2k","id":4905752,"avatar_url":"https://avatars.githubusercontent.com/u/4905752?v=3","gravatar_id":"","url":"https://api.github.com/users/emadkhan2k","html_url":"https://github.com/emadkhan2k","followers_url":"https://api.github.com/users/emadkhan2k/followers","following_url":"https://api.github.com/users/emadkhan2k/following{/other_user}","gists_url":"https://api.github.com/users/emadkhan2k/gists{/gist_id}","starred_url":"https://api.github.com/users/emadkhan2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emadkhan2k/subscriptions","organizations_url":"https://api.github.com/users/emadkhan2k/orgs","repos_url":"https://api.github.com/users/emadkhan2k/repos","events_url":"https://api.github.com/users/emadkhan2k/events{/privacy}","received_events_url":"https://api.github.com/users/emadkhan2k/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-11-02T09:29:25Z","updated_at":"2015-11-02T21:25:47Z","closed_at":null,"body":"I have followed your instructions on the making of tbb on cygwin32:\r\n>wget http://cas.ee.ic.ac.uk/people/dt10/teaching/2015/hpce/cw3/tbb42_20140601oss_src_cygwin.tgz\r\n>tar -xf tbb42_20140601oss_src_cygwin.tgz\r\n>cd tbb42_20140601oss\r\n>make -j 4 # OMG, parallelism!\r\n\r\nWhen I run the make command I get the following error message:\r\n>Created ./build/cygwin_ia32_gcc_cc4.9.3_newlib_release and ..._debug directories\r\n>make -C \"./build/cygwin_ia32_gcc_cc4.9.3_newlib_debug\"  -r -f ../../build/Makefile.tbb cfg=debug\r\n>make[1]: Entering directory '/cygdrive/c/Users/Emad/Desktop/hpce-2015-cw3/tbb42_20140601oss/build/cygwin_ia32_gcc_cc4.9.3_newlib_debug'\r\n>../../build/Makefile.tbb:39: CONFIG: cfg=debug arch=ia32 compiler=gcc target=cygwin runtime=cc4.9.3_newlib\r\n>g++ -std=gnu++11 -D_TBB_CPP0X -o concurrent_queue.o -c -MMD -DTBB_USE_DEBUG -DDO_ITT_NOTIFY -g -O0 -DUSE_PTHREAD -m32 -march=pentium4 -mrtm  -D__TBB_BUILD=1 -Wall -Wno-parentheses -Wno-non-virtual-dtor    -I../../src -I../../src/rml/include -I../../include ../../src/tbb/concurrent_queue.cpp\r\n>In file included from ../../src/tbb/itt_notify.h:46:0,\r\n>                 from ../../src/tbb/concurrent_queue.cpp:36:\r\n>../../src/tbb/tools_api/ittnotify.h:185:26: error: '__forceinline' does not name a type\r\n> #define INLINE           __forceinline\r\n>                          ^\r\n>../../src/tbb/tools_api/ittnotify.h:1497:1: note: in expansion of macro 'INLINE'\r\n> INLINE __itt_id ITTAPI __itt_id_make(void* addr, unsigned long long extra) INLINE_ATTRIBUTE;\r\n> ^\r\n>../../src/tbb/tools_api/ittnotify.h:185:26: error: '__forceinline' does not name a type\r\n> #define INLINE           __forceinline\r\n>                          ^\r\n>../../src/tbb/tools_api/ittnotify.h:1498:1: note: in expansion of macro 'INLINE'\r\n> INLINE __itt_id ITTAPI __itt_id_make(void* addr, unsigned long long extra)\r\n> ^\r\n>../../build/common_rules.inc:85: recipe for target 'concurrent_queue.o' failed\r\n>make[1]: *** [concurrent_queue.o] Error 1\r\n>make[1]: Leaving directory '/cygdrive/c/Users/Emad/Desktop/hpce-2015-cw3/tbb42_20140601oss/build/cygwin_ia32_gcc_cc4.9.3_newlib_debug'\r\n>Makefile:40: recipe for target 'tbb' failed\r\n>make: *** [tbb] Error 2\r\n\r\nI am running cygwin32 on WIndows 10"},"comment":{"url":"https://api.github.com/repos/HPCE/hpce-2015-cw3/issues/comments/153162184","html_url":"https://github.com/HPCE/hpce-2015-cw3/issues/2#issuecomment-153162184","issue_url":"https://api.github.com/repos/HPCE/hpce-2015-cw3/issues/2","id":153162184,"user":{"login":"emadkhan2k","id":4905752,"avatar_url":"https://avatars.githubusercontent.com/u/4905752?v=3","gravatar_id":"","url":"https://api.github.com/users/emadkhan2k","html_url":"https://github.com/emadkhan2k","followers_url":"https://api.github.com/users/emadkhan2k/followers","following_url":"https://api.github.com/users/emadkhan2k/following{/other_user}","gists_url":"https://api.github.com/users/emadkhan2k/gists{/gist_id}","starred_url":"https://api.github.com/users/emadkhan2k/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/emadkhan2k/subscriptions","organizations_url":"https://api.github.com/users/emadkhan2k/orgs","repos_url":"https://api.github.com/users/emadkhan2k/repos","events_url":"https://api.github.com/users/emadkhan2k/events{/privacy}","received_events_url":"https://api.github.com/users/emadkhan2k/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T21:25:47Z","updated_at":"2015-11-02T21:25:47Z","body":"No problem, yes I moved to Linux. Thanks for your help."}}