Re: linker error libcygwin

2011-11-13 Thread Philipp Kraus
On 2011-11-13 12:43:37 +0100, Philipp Kraus said: On 2011-11-11 01:57:48 +0100, Greg Chicares said: On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect2: ld ret

Re: linker error libcygwin

2011-11-13 Thread Philipp Kraus
On 2011-11-11 01:57:48 +0100, Greg Chicares said: On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect2: ld returned 1 exit status Does this thread http://cygwin

Re: linker error libcygwin

2011-11-11 Thread Philipp Kraus
On 2011-11-11 01:57:48 +0100, Greg Chicares said: On 2011-11-10 21:22Z, Philipp Kraus wrote: On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: undefined reference to `_WinMain@16' collect2: ld returned 1 exit status Does this thread http://cygwin

Re: linker error libcygwin

2011-11-10 Thread Greg Chicares
On 2011-11-10 21:22Z, Philipp Kraus wrote: > On 2011-11-10 22:11:48 +0100, Greg Chicares said: > >> On 2011-11-10 20:39Z, Kraus Philipp wrote: >>> >>> undefined reference to `_WinMain@16' >>> collect2: ld returned 1 exit status >> >> Does this thread >> http://cygwin.com/ml/cygwin/2011-10/thre

Re: linker error libcygwin

2011-11-10 Thread Philipp Kraus
On 2011-11-10 22:11:48 +0100, Greg Chicares said: On 2011-11-10 20:39Z, Kraus Philipp wrote: I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system Shouldn't that be '-lboost_system'? Run 'info ld' and search for '--dll-search-prefix': 'cyg-

Re: linker error libcygwin

2011-11-10 Thread Philipp Kraus
On 2011-11-10 22:04:33 +0100, Marco Atzeri said: On 11/10/2011 9:39 PM, Kraus Philipp wrote: Hello, I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system -lcygboost_thread -lcygboost_iostreams -lcygboost_regex -lcygboost_program_options -lboo

Re: linker error libcygwin

2011-11-10 Thread Greg Chicares
On 2011-11-10 20:39Z, Kraus Philipp wrote: > > I try to build a program with g++ under Cygwin. I added this libraries to the > linker: > -lcygboost_system Shouldn't that be '-lboost_system'? Run 'info ld' and search for '--dll-search-prefix': 'cyg-' is a typical default prefix that the '-l' opti

Re: linker error libcygwin

2011-11-10 Thread Marco Atzeri
On 11/10/2011 9:39 PM, Kraus Philipp wrote: Hello, I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system -lcygboost_thread -lcygboost_iostreams -lcygboost_regex -lcygboost_program_options -lboost_exception -lcygboost_filesystem -llapack -lcblas

linker error libcygwin

2011-11-10 Thread Kraus Philipp
Hello, I try to build a program with g++ under Cygwin. I added this libraries to the linker: -lcygboost_system -lcygboost_thread -lcygboost_iostreams -lcygboost_regex -lcygboost_program_options -lboost_exception -lcygboost_filesystem -llapack -lcblas -lf77blas -latlas -lgfortran -lhdf5_cpp -lhdf5