This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

RE: X11 library package


Dear Aachim,

Thank you for your support,

> And how about those erros, the only corresponding library to those in cygwin/lib/ folderÂ
> is "libX11.dll.a" but it doesn't look like a valid library or am I wrong here ?

>This file is needed for linking only, but you should have a
>corresponding library /bin/cygX11.dll as well. If not, you need to
>install the runtime package (configure should have tested for that if
>you use it).

I simply changed libX11.dll.a to libX11.a and compiler stopped complaining,
but I don't know whether that ceased the problem for the compilation time or not 
and possibly it may resurrect at the run time is still vague for me. Because I 
couldn't succeed to compile it as an executable.





I also build the Petsc library without MPI support, succesfully created the library "libpetsc.a"
but when I try to use it in the Codeblock IDE I got the following errors. Does it remind anything?

Your help will be appreciated,

petsc-3.3-p6\include\petscsf.h|50|error: conflicting declaration 'typedef struct MPI_Win_MISSING*MPI_Win'|
\usr\include\mpi.h|330|error: 'MPI_Win' has a previous declaration as `typedef struct ompi_win_t*MPI_Win'|

petsc-3.3-p6\include\petscsf.h|50|error: declaration of `typedef struct MPI_Win_MISSING*MPI_Win'|
\usr\include\mpi.h|330|error: conflicts with previous declaration `typedef struct ompi_win_t*MPI_Win'|

petsc-3.3-p6\include\petscsf.h|50|error: declaration of `typedef struct MPI_Win_MISSING*MPI_Win'|
\usr\include\mpi.h|330|error: conflicts with previous declaration `typedef struct ompi_win_t*MPI_Win'| 		 	   		  

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]