Hello,

>    No suitable build variant has been found.
>    The following variants have been tried and rejected:
>    * boost_filesystem.lib (shared, Boost_USE_STATIC_LIBS=ON)

Since the vast majority of boost are header-only libraries, my usual advice is 
no NOT use precompiled libraries of boost but to use boost as a kind of source 
code library. This way, the source code is always compiled with the same 
compiler flags as the rest of your code.

I usually have to include
    .../libs/system/src/error_code.cpp
    .../libs/thread/src/pthread/* (or .../libs/thread/src/win32/*)
    .../libs/chrono/src/*
    .../libs/filesystem/src/*
In my Makefile, CMakeLists.txt or .vxcproj.


On Windows I also have to #define BOOST_ALL_NO_LIB to prevent the magic from 
trying to pick up pre-built libraries at link time and sometimes 
BOOST_THREAD_BUILD_LIB or BOOST_ALL_STATIC_LINK are required.


Klebsch Mario
Funktion | R&D


Tel: +49 (0) 531 38 701 718
Raum: Braunschweig, E20 


Diese E-Mail und die an sie angehängten Dateien sind ausschließlich für 
Personen oder Institutionen bestimmt, deren Namen oben aufgeführt sind. Sie 
können Informationen enthalten, die durch das Berufsgeheimnis geschützt sind 
und deren Weitergabe strengstens untersagt ist. Jede elektronische Nachricht 
kann geändert werden. ACTIA lehnt jede Verantwortung für diese Nachricht ab. 
Der Inhalt dieser Nachricht stellt keine Verpflichtung seitens unseres 
Unternehmens dar. Wenn Sie kein Empfänger sind, weisen wir Sie darauf hin, dass 
das Lesen, Vervielfältigen oder Verteilen strengstens untersagt ist. Wir bitten 
Sie daher, uns umgehend über diesen Brief zu informieren und diese Nachricht 
sowie eventuell beigefügte Unterlagen aus Ihrem Postfach zu löschen. Danke.
This e-mail and the files attached to it are intended exclusively for persons 
or institutions whose names are listed above. They may contain information that 
is protected by professional secrecy and the disclosure of which is strictly 
prohibited. Any electronic message can be modified. ACTIA declines all 
responsibility for this message. The content of this message does not represent 
a commitment on the part of our company. If you are not a recipient, we would 
like to point out that reading, copying or distribution is strictly prohibited. 
We therefore ask you to inform us immediately about this letter and to delete 
this message and any accompanying documents from your mailbox. Thank you.



_______________________________________________
Boost-users mailing list
Boost-users@lists.boost.org
https://lists.boost.org/mailman/listinfo.cgi/boost-users

Reply via email to