x32 vs x64 conflict in Application

2013-10-06 Thread Sonya Blade
DEar All, I'm receiving the following error ("During startup program exited with code 0xc07b.") on application start up(which uses cygwin_32 compiled libraries of Petsc and SLepc ). I've compiled Petsc and Slepc with Cygwin_32 and tried to test it with code snippet which uses the Petsc and

Installation of X11 on Windows 8

2013-10-06 Thread Sonya Blade
Dear All, I'm supposed to obtain the X11 library in the cygwin setup and all the  related binaries under the X11 folder during the configuration from cygwin download terminal. BUt I never get X11.dll or X11.a files after  download and installation.  Actually this X11 dependecy arises when I try t

Re: Linking Problems and undefined references to standart functions

2013-04-30 Thread Sonya Blade
gfortran command to compile the code is as follow : gfortran.exe  -o bin\Debug\Petsc_Fortran.exe obj\Debug\main.o     C:\Users\\Downloads\petsc-3.3-p6\arch-mswin-c-debug\lib\libpetsc.a C:\cygwin\lib\libX11.a C:\Users\mehmet\Downloads\libblas.lib C:\Users\.\Downloads\liblapack.lib C:\User

Linking Problems and undefined references to standart functions

2013-04-30 Thread Sonya Blade
Dear All, I tried to use the Petsc library, compiled without any error during cygwin terminalcompilation, with gfortran (which works in Code Block editor) and tried to run some of the examples which  flawlessly works in C but not in gfortran.  Although I used and set the same library in linking

parse error before "extern"

2013-04-05 Thread Sonya Blade
Dear All, I've the working C code just before 1 day back, but when I try to compile the project  as of now I receive the following error. What could be the possible reason of that ? C:\Users\..\Downloads\petsc-3.3-p6\include\mpiuni\mpi.h|119|error: parse error before "extern"| D:\TEST_FOLD

RE: X11 library package

2013-04-03 Thread Sonya Blade
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

RE: X11 library package

2013-04-02 Thread Sonya Blade
>Sonya Blade writes: > What do you think about the MPI complaints that the compiler produces? > Is it also related to the incomplete cygwin installation or something else ? >You are trying to compile with TLS, which doesn't work with gcc-4.5.3 â >you need to configure to n

RE: X11 library package

2013-04-02 Thread Sonya Blade
> Dear Sonya -- Many cygwin packages are split into what > you need to *run* programs with the package, and what > you need in order to *build* programs to use the > package. That is, there can be TWO packages in the cygwin > sense of package. The one(s) you need for building > conventionally have

X11 library package

2013-04-02 Thread Sonya Blade
Dear All, I'm trying to install the Petsc library (Portable, Extensible Toolkit for  Scientific Computation)  although I completed the compilation part on cygwin terminal. When I try to run the sample codes  with the compiled libraries in Code Blocks IDE I get the following errors what, which ar