You may need to compile the boost libraries for your version of cygwin, as far as I know the binaries that come with the installer are for Visual Studio, and the binary interface between the two isn't compatible...

Sean

On Wed, Apr 7, 2010 at 12:23 PM, <mh00219@surrey.ac.uk> wrote:
hello,
I am a new student to C++ and using boost libraries in my project. I have a problem please solve it.
I am using boost header files in my programs. When I compile using g++ on cygwin by giving the path of boost root directory (c:\boost\boost_1_42_0) it is ok. But when I try to make .exe file from .o file then it gives me error. Please tell me how should I link boost libraries to my program? in which directory are these boost libraries.?
please reply must. my whole project is just a pice of writing nothing else.
thank you
_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users