Hi,
I'm considering using some boost stuff for my next project.

But it's quite essential, that the program can be ported to multiple platforms with different setups.

I've always used
-ansi -pedantic -Wall
And so far the projects has been working on sun/gnu/intel compilers,
on both windows and linux.

But what if i #include<booststuff>,
is this a big problem for users on a foreign platform.

Can I simply make a copy of the .hpp file to the project dir,
or are boost file too much interrelated?

thanks in advance

all boost libraries have to be compiled on the target machine. See this link. That is one way they ensure portability.

>>Can I simply make a copy of the .hpp file to the project dir,
or are boost file too much interrelated?

No. You have to build the libraries on the target platform.

Thanks for your reply,
It wasnt the answer I wanted to hear,
but thanks.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.