cygwin buit boost libraries do not work

Hi folks,
I have buit boost in cygwin followed instruction in the boost getting
start documentation. it seemed successful and many libraries (
including dynamic and static ones ) were put into /usr/local/lib. I
then try to compile a very simple example code listed as blow, which
are a copy on the boost documentaion.
#include

Steven Woody wrote:
Hi folks, but the resulting RegexSample.exe can not run properly -- it simply exist with an error code ( 53 ) and do nothing for me.
Exit code 53 appears to indicate a missing DLL: you probably need to set LD_LIBRARY_PATH so that the dll's can be found. HTH, John.

but the resulting RegexSample.exe can not run properly -- it simply exist with an error code ( 53 ) and do nothing for me.
Exit code 53 appears to indicate a missing DLL: you probably need to set LD_LIBRARY_PATH so that the dll's can be found.
Which does not exists under cygwin. You must add the boost library path to the PATH variable. The silent exit is typical for missing DLL. Fred Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie. Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.

On Jan 23, 2008 4:50 PM,
but the resulting RegexSample.exe can not run properly -- it simply exist with an error code ( 53 ) and do nothing for me.
Exit code 53 appears to indicate a missing DLL: you probably need to set LD_LIBRARY_PATH so that the dll's can be found.
Which does not exists under cygwin. You must add the boost library path to the PATH variable. The silent exit is typical for missing DLL.
Thanks, but I linked the program to static version of boost library ( libboost_regex.a ), why does it still want DLLs?
Fred
Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie.
Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
-- woody then sun rose thinly from the sea and the old man could see the other boats, low on the water and well in toward the shore, spread out across the current.

Steven Woody wrote:
Which does not exists under cygwin. You must add the boost library path to the PATH variable. The silent exit is typical for missing DLL.
Thanks, but I linked the program to static version of boost library ( libboost_regex.a ), why does it still want DLLs?
No idea, all we can do is point you towards the meaning of the error code, are you sure it didn't link to boost_regex.dll ? John.

but the resulting RegexSample.exe can not run properly -- it simply exist with an error code ( 53 ) and do nothing for me.
Exit code 53 appears to indicate a missing DLL: you probably need to set LD_LIBRARY_PATH so that the dll's can be found.
Which does not exists under cygwin. You must add the boost library path to the PATH variable. The silent exit is typical for missing DLL.
Thanks, but I linked the program to static version of boost library ( libboost_regex.a ), why does it still want DLLs?
"cygcheck RegexSample.exe" will give you the libraries you need to run your program. F. Bron Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie. Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.

On Jan 23, 2008 7:56 PM,
but the resulting RegexSample.exe can not run properly -- it simply exist with an error code ( 53 ) and do nothing for me.
Exit code 53 appears to indicate a missing DLL: you probably need to set LD_LIBRARY_PATH so that the dll's can be found.
Which does not exists under cygwin. You must add the boost library path to the PATH variable. The silent exit is typical for missing DLL.
Thanks, but I linked the program to static version of boost library ( libboost_regex.a ), why does it still want DLLs?
"cygcheck RegexSample.exe" will give you the libraries you need to run your program.
F. Bron
Avis : Ce message et toute pièce jointe sont la propriété d'Alcan et sont destinés seulement aux personnes ou à l'entité à qui le message est adressé. Si vous avez reçu ce message par erreur, veuillez le détruire et en aviser l'expéditeur par courriel. Si vous n'êtes pas le destinataire du message, vous n'êtes pas autorisé à utiliser, à copier ou à divulguer le contenu du message ou ses pièces jointes en tout ou en partie.
Notice: This message and any attachments are the property of Alcan and are intended solely for the named recipients or entity to whom this message is addressed. If you have received this message in error please inform the sender via e-mail and destroy the message. If you are not the intended recipient you are not allowed to use, copy or disclose the contents or attachments in whole or in part.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org http://lists.boost.org/mailman/listinfo.cgi/boost-users
Thanks for all your helps! -- woody then sun rose thinly from the sea and the old man could see the other boats, low on the water and well in toward the shore, spread out across the current.
participants (3)
-
frederic.bron@alcan.com
-
John Maddock
-
Steven Woody