[prev in list] [next in list] [prev in thread] [next in thread] 

List:       boost-users
Subject:    Re: [Boost-users] Running boost::thread compiled on w2k on XP
From:       "John Maddock" <john () johnmaddock ! co ! uk>
Date:       2004-07-29 10:56:49
Message-ID: 020101c4755b$7e568690$33570352 () fuji
[Download RAW message or body]

> I have tried compiled boost::thread for windows using visual c++ from the
> visual studio .net 2003 suite. It compiles fine and I can compile things
> with the created libraries. However, when I move my program and the
> boost::thread dll:s from windows 2000 to another machine running windows
XP,
> the program just prints out a blank line and exits without any other
> message.
>
> Attached is a program I have used to test out that it is this that is
wrong.
> What have I done wrong? Is it impossible to compile the boost libraries on
> windows 2000 and then expect the created dll:s to work on windows XP? If
> this is the case, where can I get hold of the boost::thread libraries for
> vc71 compiled specifically for windows XP? If not, what could be wrong?
>

It certainly should work, I built Boost.Thread on WinXP home, using
Boost-1.31.0, and then built your test program with :

cl -GX -I../../release/boost /O2 /MD *.cpp

And everything ran OK for me here.

John.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic