for creating a cilk context , i followed the cilk++ exemples but i got this error
a function declared "dllimport" may not be defined
What should i do in this case !!
Let's start with what operating system you're running on, and which compiler.
And can you build the samples themselves?
OS = windows7 and compiler =gcc
yes I can build the examples but when I repeat the same work on my project , I can't build it ( I mean here the example QSortDLL )
Which version of the gcc compiler are you using? The Cilk++ version is *very* old. The newer one (the "cilkplus" branch ingcc 4.7 and 4.8)implementsIntel Cilk Plus, not Cilk++.