[1.41.0] [filesystem] Undefined references to get_system_category and get_generic_category

I am trying to build some code using the 1.41.0 version of the filesystem library. It used to build with version 1.34.1. I am getting errors, when the linker fails to find boost::system::get_system_category and boost::system::get_generic_category. What do I need to do differently to find or build these functions? -- Dick Hadsell 203-992-6320 Fax: 203-992-6001 Reply-to: hadsell@blueskystudios.com Blue Sky Studios http://www.blueskystudios.com 1 American Lane, Greenwich, CT 06831-2560

Richard Hadsell wrote:
I am trying to build some code using the 1.41.0 version of the filesystem library. It used to build with version 1.34.1.
I am getting errors, when the linker fails to find boost::system::get_system_category and boost::system::get_generic_category. What do I need to do differently to find or build these functions?
Linking to the system library fixed the problem. I found a mention of Boost.System in the change log for Boost.Filesystem, but I think the dependency deserves a mention in the "Using the library" section. -- Dick Hadsell 203-992-6320 Fax: 203-992-6001 Reply-to: hadsell@blueskystudios.com Blue Sky Studios http://www.blueskystudios.com 1 American Lane, Greenwich, CT 06831-2560

AMDG Richard Hadsell wrote:
I am trying to build some code using the 1.41.0 version of the filesystem library. It used to build with version 1.34.1.
I am getting errors, when the linker fails to find boost::system::get_system_category and boost::system::get_generic_category. What do I need to do differently to find or build these functions?
You need to link to the boost_system library. In Christ, Steven Watanabe
participants (2)
-
Richard Hadsell
-
Steven Watanabe