Boost compile and link problem

Dear all, I have built boost under windows by using Cygwin and the usual configure, make, make install approach and for the gcc toolset I think this was the default one so that I have not done any configuration changes.(however i got a message that not all boost libraries are not properly installed.) I am trying to compile a very simple program to see whether things are going fine or not, (Since I have a program which is actually written under LINUX by using boost library, I have to port that to windows for a small project.) I am using the cygwin command line tool . I am supplying the include file directories for include options(-I/usr/local/include/boost-1_33_1/boost/ since I use Cygwin) but I do not know what to supply for link options(I was supplying "-L/usr/local/opt/boost-1_33_1/ lib -lboost_filesystem-gcc" under linux but did not work for windows, I have changed the path to proper values.) I have check the libboost_... under libs/ but confused me more. I am quite new to library build and compilation and linkage with the library(at least under windows since under linux pre-built packages are easily downloaded by an apt-get), maybe I am mistaken at some points above, but I appreciate advice and help. Have fun, UMUT

On 6/12/06, Umut TABAK
Dear all,
I have built boost under windows by using Cygwin and the usual configure, make, make install approach
Um... Boost uses bjam. Do you mean that you built bjam that way? In any case, I tried building Boost under Cygwin with minimal success, and pretty quickly gave up in favor of just downloading the Cygwin boost and boost-devel packages. I realize that doesn't allow you to use anything other than whatever version(s) Cygwin happens to offer for download, but since you mention using apt-get to install boost binaries on your Linux box, I assume this isn't a major problem.
(however i got a message that not all boost libraries are not properly installed.)
Exact error messages are really quite useful.
I am trying to compile a very simple program to see whether things are going fine or not, (Since I have a program which is actually written under LINUX by using boost library, I have to port that to windows for a small project.)
In general, Linux <-> Cygwin porting should be very close to no-changes-required, especially if you don't mind binaries that depend on cygwin1.dll. Dale
participants (2)
-
Dale McCoy
-
Umut TABAK