Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我boost.m4用来寻找Boost。我来啦:
boost.m4
AC_PROG_CXX AC_LANG([C++]) AX_CXX_COMPILE_STDCXX_11 BOOST_REQUIRE([1.48]) BOOST_SIGNALS
正确配置找到信号库,但是在编译时,我得到链接错误 - 未定义对 boost::signals:: 的引用。显然,由 确定的 ldflagsBOOST_SIGNALS不会添加到全局标志中。我应该怎么做?
BOOST_SIGNALS
我应该添加$(BOOST_SIGNALS_LIBS)到AM_LDFLAGS.
$(BOOST_SIGNALS_LIBS)
AM_LDFLAGS