Ragnar Ouchterlony wrote:
Paul Grenyer writes:
Hi
Is it impossible to compile the boost libraries on windows 2000 and then expect the created dll:s to work on windows XP?
No. It is not impossible. We have done exactly that without any problem at all. We didn't have to do anything special either. We used VC7.1 on Windows 2000, just as you are. I know that's not much practiacl help, but at least you now know it can be done. Regards Paul
As Paul says, it should work.
Perhaps I should add that I am using version 1.31 of boost. I have also discovered that it seems (it might be an illusion, you never know) to work when I compile against boost_thread-vc71-mt-gd-1_31.lib, but not against the release lib boost_thread-vc71-mt-1_31.lib. I would have guessed that compiling against the release lib would be better when compiling my program in release mode and the debug lib in debug mode, but it doesn't seem to work that way. If I compile againt the debug lib it does work.
The way that it's failing sounds a lot like you're using the wrong dll in the case that isn't working. If you copy all of the Boost.Threads dlls into the same directory as the release version of your application, then run it, does it work? Mike