Re: Linking Problems and undefined references to standart functions

2013-05-01 Thread Csaba Raduly
Hi Sonya, On Tue, Apr 30, 2013 at 12:48 PM, Sonya Blade wrote: > 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\me

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

Re: Linking Problems and undefined references to standart functions

2013-04-30 Thread Csaba Raduly
Hi Sonya, On Tue, Apr 30, 2013 at 9:18 AM, Sonya Blade wrote: > 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

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

Re: Windows7 STATUS_ACCESS_VIOLATION and gcc/g++ linking problems

2011-04-12 Thread Tomas Staig
Yaakov (Cygwin/X) wrote: On Mon, 2011-04-11 at 13:44 -0400, Tomas Staig wrote: First I'll state that this is most probably not BLODA (unless some default program that comes with W7 provokes it), FWIW, Windows Defender is a default component of recent versions of Windows, including Win7

Re: Windows7 STATUS_ACCESS_VIOLATION and gcc/g++ linking problems

2011-04-11 Thread Yaakov (Cygwin/X)
On Mon, 2011-04-11 at 13:44 -0400, Tomas Staig wrote: > First I'll state that this is most probably not BLODA (unless some > default program that comes with W7 provokes it), FWIW, Windows Defender is a default component of recent versions of Windows, including Win7, and is BLODA. Yaakov -- P

Windows7 STATUS_ACCESS_VIOLATION and gcc/g++ linking problems

2011-04-11 Thread Tomas Staig
Dear all, we have successfully ported an application framework (based on CORBA) to Windows using Cygwin last year. This porting works properly under Windows XP, but we ran into some problems when we tried to use it under Windows 7 (32-bits) not long ago. While compiling ACE/TAO (Initial part

Re: OpenGL linking problems

2010-09-11 Thread Marco Atzeri
--- Mer 8/9/10, Jon TURNEY ha scritto: > On 08/09/2010 13:53, David Doria > wrote: > >> Oh, I guess you have a makefile generated by > cmake? In which case you need > >> make VERBOSE=1 to get it to show you what it is > doing. > >> > > > > Ok, now there is some useful output. I see an -lGL, > what

Re: OpenGL linking problems

2010-09-08 Thread Jon TURNEY
On 08/09/2010 13:53, David Doria wrote: Oh, I guess you have a makefile generated by cmake? In which case you need make VERBOSE=1 to get it to show you what it is doing. Ok, now there is some useful output. I see an -lGL, what else should I be looking for? /usr/bin/c++.exe -Wno-deprecated

Re: OpenGL linking problems

2010-09-08 Thread mike marchywka
On 9/8/10, David Doria wrote: >> Oh, I guess you have a makefile generated by cmake? In which case you need >> make VERBOSE=1 to get it to show you what it is doing. >> > > Ok, now there is some useful output. I see an -lGL, what else should I > be looking for? > > /usr/bin/c++.exe -Wno-deprec

Re: OpenGL linking problems

2010-09-08 Thread David Doria
> Oh, I guess you have a makefile generated by cmake? In which case you need > make VERBOSE=1 to get it to show you what it is doing. > Ok, now there is some useful output. I see an -lGL, what else should I be looking for? /usr/bin/c++.exe -Wno-deprecated -mwin32 CMakeFiles/GraphicsCxxTests.d

Re: OpenGL linking problems

2010-09-08 Thread Jon TURNEY
On 08/09/2010 12:24, David Doria wrote: Since you don't give the link line which is causing the problem, I'd tend to assume the problem is [2] [2] http://cygwin.com/faq/faq-nochunks.html#faq.programming.linker I looked at the make man page to try to see how to get make to tell me what it is do

Re: OpenGL linking problems

2010-09-08 Thread David Doria
> Since you don't give the link line which is causing the problem, I'd tend to > assume the problem is [2] > [2] http://cygwin.com/faq/faq-nochunks.html#faq.programming.linker I looked at the make man page to try to see how to get make to tell me what it is doing (i.e. show the g++ commands that

Re: OpenGL linking problems

2010-09-07 Thread Jon TURNEY
On 04/09/2010 17:29, André Bleau wrote: On 05/09/2010 00:16, David Doria wrote: Well, we need more info to help us help you. What kind of application are you trying to build? X11 or native? There are 2 ways to build OpenGL-related programs: 1- Using native OpenGL, with driver supported hardwar

Re: OpenGL linking problems

2010-09-04 Thread André Bleau
David Doria wrote: > Hi André, Hi David, > > I think I'm trying to build an X11 application - I'm trying to use a > library called VTK (http://www.vtk.org/). I don't believe it uses > glut, and I do see a bunch of X11 options in the CMake files. Even if > there is no support for hardwar

Re: OpenGL linking problems

2010-09-04 Thread David Doria
> Well, we need more info to help us help you. What kind of application are you > trying to build? X11 or native? There are 2 ways to build OpenGL-related > programs: > > 1- Using native OpenGL, with driver supported hardware acceleration. For > that, you need some way to > get a graphic device

Re: OpenGL linking problems

2010-09-04 Thread André Bleau
David Doria wrote: > I'm trying to build a library (VTK) in Cygwin. I am getting a lot of > errors like this > > undefined reference to `_glDepthMask' > undefined reference to?`_glGetIntegerv' > undefined reference to?`_glMatrixMode' > > I installed ALL of the cygwin packages to try to avoid

OpenGL linking problems

2010-09-04 Thread David Doria
I'm trying to build a library (VTK) in Cygwin. I am getting a lot of errors like this undefined reference to `_glDepthMask' undefined reference to `_glGetIntegerv' undefined reference to `_glMatrixMode' I installed ALL of the cygwin packages to try to avoid problems like this. I also added expor

Re: opengl-1.1.0-10 glut32 linking problems

2009-02-06 Thread André Bleau
Hi Reini, In January, you wrote about some problems linking with opengl-1.1.0-10's glut32.a . I answered on January 29th, asking for some extra info and offering some advice. Could you please tell us if the problem is now solved? This might help other users if they run into a similar problem.

Re: opengl-1.1.0-10 glut32 linking problems

2009-01-29 Thread André Bleau
Hi Reini, Reini Urban wrote: > The importlib /usr/lib/w32api/libglut32.a has some problems. Linking > to the dll directly works fine. > > $ cat test.c > #include > #include > #include > int main(int argc, char *argv[]) > { > if(glutInit == NULL) { > printf("glutInit is NULL\n"

Re: opengl-1.1.0-10 glut32 linking problems

2009-01-28 Thread Reini Urban
2009/1/28 Reini Urban: > The importlib /usr/lib/w32api/libglut32.a has some problems. Linking > to the dll directly works fine. > > $ cat test.c > #include > #include > #include > int main(int argc, char *argv[]) > { >if(glutInit == NULL) { >printf("glutInit is NULL\n"); >ret

opengl-1.1.0-10 glut32 linking problems

2009-01-28 Thread Reini Urban
The importlib /usr/lib/w32api/libglut32.a has some problems. Linking to the dll directly works fine. $ cat test.c #include #include #include int main(int argc, char *argv[]) { if(glutInit == NULL) { printf("glutInit is NULL\n"); return EXIT_FAILURE; } printf("GLUT %d

Re: linking problems when compiling with g++ using boost

2005-11-05 Thread Gerrit P. Haase
Cameron Wood wrote: I have installed a vanilla install of cygwin which includes boost 1.33. I have a simple application which compiles and runs on another system fine. However using cygwin it complains about undefined references to all the boost objects and functions. I can see the exact funct

linking problems when compiling with g++ using boost

2005-11-05 Thread Cameron Wood
I have installed a vanilla install of cygwin which includes boost 1.33. I have a simple application which compiles and runs on another system fine. However using cygwin it complains about undefined references to all the boost objects and functions. I can see the exact functions/objects that its

RE: linking problems using gcc

2004-11-25 Thread Igor Pechtchanski
xtern int random(); > extern unsigned long time(); > #endif > > > Best > > /N > > > -Original Message- > From: Igor Pechtchanski [mailto:[EMAIL PROTECTED] > Sent: den 25 november 2004 17:25 > To: Niklas Odenteg > Cc: [EMAIL PROTECTED] > Subject: Re

RE: linking problems using gcc

2004-11-25 Thread Niklas Odenteg
ailto:[EMAIL PROTECTED] Sent: den 25 november 2004 17:25 To: Niklas Odenteg Cc: [EMAIL PROTECTED] Subject: Re: linking problems using gcc On Thu, 25 Nov 2004, Niklas Odenteg wrote: > Hi! > > This may be a newbee Q, but I'll try anyway ;-) > > I trying to link a small C/C++

Re: linking problems using gcc

2004-11-25 Thread Fred Kulack
On 11/25/2004 at 10:25:28 AM, cygwin-owner wrote: > I trying to link a small C/C++ program and I got linking error on time(), > rand() and srand(). These should be part of libc right? So way are they > missing? Has cygwin some special libc implementation or something??? --- end of excerpt --- Thi

Re: linking problems using gcc

2004-11-25 Thread Igor Pechtchanski
On Thu, 25 Nov 2004, Niklas Odenteg wrote: > Hi! > > This may be a newbee Q, but I'll try anyway ;-) > > I trying to link a small C/C++ program and I got linking error on time(), > rand() and srand(). These should be part of libc right? So way are they > missing? Has cygwin some special libc imple

linking problems using gcc

2004-11-25 Thread Niklas Odenteg
Hi! This may be a newbee Q, but I'll try anyway ;-) I trying to link a small C/C++ program and I got linking error on time(), rand() and srand(). These should be part of libc right? So way are they missing? Has cygwin some special libc implementation or something??? Confused programmer needs som

Re: Linking problems

2004-02-01 Thread Larry Hall
At 07:34 PM 2/1/2004, Sean LeBlanc you wrote: >On 02-01 18:16, Larry Hall wrote: >> At 12:40 PM 2/1/2004, Sean LeBlanc you wrote: >> >Hi all. I'm currently having troubles linking against a lib. The signature >> >it complains about certainly shows up when I search the lib. I have been >> >able to b

Re: Linking problems

2004-02-01 Thread Sean LeBlanc
On 02-01 18:16, Larry Hall wrote: > At 12:40 PM 2/1/2004, Sean LeBlanc you wrote: > >Hi all. I'm currently having troubles linking against a lib. The signature > >it complains about certainly shows up when I search the lib. I have been > >able to build against other libs in the same set (MS' Host I

Re: Linking problems

2004-02-01 Thread Larry Hall
At 12:40 PM 2/1/2004, Sean LeBlanc you wrote: >Hi all. I'm currently having troubles linking against a lib. The signature >it complains about certainly shows up when I search the lib. I have been >able to build against other libs in the same set (MS' Host Integration >Server API), but not against a

Linking problems

2004-02-01 Thread Sean LeBlanc
Hi all. I'm currently having troubles linking against a lib. The signature it complains about certainly shows up when I search the lib. I have been able to build against other libs in the same set (MS' Host Integration Server API), but not against anything in this lib. Are there a set of things to

newbie linking problems

2002-11-26 Thread Aaron Edsinger
Hi. i'm trying to link a simple program using X11 and a com port. the include and lib paths seem fine. The problem is with undefined references during linking: If in the makefile I link with static libraries (XLIB = ${XPATH}/lib/), I get lots of X related link errors such as: "xdisplay.c: undefine