Accéder au contenu.
Menu Sympa

starpu-devel - Re: [Starpu-devel] Build issues On Windows8.1

Objet : Developers list for StarPU

Archives de la liste

Re: [Starpu-devel] Build issues On Windows8.1


Chronologique Discussions 
  • From: Sreeprakash S <sreeprakash.s@creativegenius.co.in>
  • To: Samuel Thibault <samuel.thibault@ens-lyon.org>, Sreeprakash S <sreeprakash.s@creativegenius.co.in>, starpu-devel@lists.gforge.inria.fr
  • Subject: Re: [Starpu-devel] Build issues On Windows8.1
  • Date: Tue, 17 Feb 2015 16:27:07 +0530
  • List-archive: <http://lists.gforge.inria.fr/pipermail/starpu-devel/>
  • List-id: "Developers list. For discussion of new features, code changes, etc." <starpu-devel.lists.gforge.inria.fr>

Hi Samuel,

Once again thanks for the prompt response. I tried configuring it with native winthreads options enabled, as you suggested, but it still kept giving the same errors. This is the configure command that I gave.

sh-3.1$ ../configure --prefix=$PWD/target --with-hwloc="C:/HWLOC" --with-cuda-d
ir="C:/StarPu/CUDA/v6.5" --with-cuda-include-dir="C:/StarPu/Cuda/v6.5/include"
--with-cuda-lib-dir="c:/StarPu/Cuda/v6.5/lib/win32" --with-opencl-dir="c:/StarP
u/Cuda/v6.5" --with-opencl-include-dir="c:/StarPu/Cuda/v6.5/include/cl" --with-
opencl-lib-dir="c:/StarPu/Cuda/v6.5/lib/win32" --disable-build-doc --enable-qui
ck-check --enable-native-winthreads

If its an issue with the latest version of mingw can I try rolling it back to a particular version and start building it. If so, can you mention the mingw version for which starPu will definitely build.

Thanks in advance,
Sreeprakash

On Mon, Feb 16, 2015 at 10:55 PM, Samuel Thibault <samuel.thibault@ens-lyon.org> wrote:
Sreeprakash S, le Mon 16 Feb 2015 20:30:25 +0530, a écrit :
> In file included from c:\mingw\include\unistd.h:95:0,
>                  from ../../src/common/timing.h:29,
>                  from ../../src/common/timing.c:22:
> c:\mingw\include\parts\time.h:65:8: error: redefinition of 'struct timespec'
>  struct timespec
>         ^
> In file included from ../../include/starpu_thread.h:26:0,
>                  from ../../include/starpu.h:44,
>                  from ../../src/common/timing.c:18:
> c:\mingw\include\pthread.h:320:8: note: originally defined here
>  struct timespec {
>         ^

Ew.  So your version of mingw actually has conflicting definitions in
time.h and pthread.h...

You can try to give ./configure the --enable-native-winthreads option,
to use our own pthread.h, to avoid the conflict?

Samuel





Archives gérées par MHonArc 2.6.19+.

Haut de le page