From: Van Nguyen (nguyenhaivan78_at_[hidden])
Date: 2005-01-10 00:13:03
I've ran into a strange problem that I hope you'll
help me out.
I have a project called ut which basically creates a
library. The Jamfile is:
project ut ;
lib utLib : [ glob src/*.cpp ] ;
This ut project contains a source file called
unit_test.cpp which has a main function.
Then I have a target that uses this utLib. The
exe TD_test :
[ glob ../src/*.cpp ]
bjam gcc gives me this error message:
nce to `_WinMain_at_16'
collect2: ld returned 1 exit status
If I commented out "/ut//utLib" and uncommented out
the actual source files path, then it links fine.
I also tried this in Linux, but I did not encounter
Do you know why this happens in cygwin? I'm using
BBv2 milestone 9, boost1.31.0.
Thanks a lot.
Do you Yahoo!?
Yahoo! Mail - 250MB free storage. Do more. Manage less.
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk