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] |
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
-lf77blas
-latlas
-lgfortran
-lhdf5_cpp
-lhdf5
The linker create the error:
/usr/lib/gcc/i686-pc-cygwin/4.5.3/../../../libcygwin.a(libcmain.o):(.text+0xa9):
undefined reference to `_WinMain@16' collect2: ld returned 1 exit status
http://cygwin.com/faq-nochunks.html#faq.programming.winmain
How can I find out, why / where the problem is? Can the order of my -l flags create the problem?
always on windows
-- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |