I am trying to compile some code using autotools and am trying to promote: Date- Time and Promotion:: Regular Expression. I was given a which appears to be standard in accordance with Google but when I run autoreconf: and configure: This can not be found. I know that they are there because I have increased from 1.53 to the beginning. Can there be an issue here? Thank you very much earlier. There is an excellent macro that you copy it to the top level called This too Boost. System dependencies will be added. configure.in file which defines that: Prompt :: date-time this way
AC_CHECK_LIB (boost_date_time-gcc-mt, main, [AC_CHECK_LIB (boost_date_time-motor, ton, main, [AC_CHECK_LIB (boost_date_time, main, [AC_MSG_ERROR ("linking against promoting: date-time library failed."]]))]))) < / Code>
$ autoreconf -f -s -i libtoolize: `. 'Libtoolize is adding helpful files: libtoolize the linking file `./ltmain.sh', to keep the right libtool macro in the tree: consider adding to the configure.in and libtoolize 'libtoolize` AC_CONFIG_MACRO_DIR ([m4]). Libtoolize: Consider adding 'I am 4' to ACLOCAL_AMFLAGS in Makefile.am.
$ CXXFLAGS = "- GW" Configure prefix = $ INSTALL_PATH ... Check for main -lboost_date_time-GCC-mt In the ... -lboost_date_time -mt, no checking for the key in the main ... -lboost_date_time to check for the main ... no configured: error: "linking against promotions: failed in date-time library is."
./ m4 directory can do.
In AC_CONFIG_MACRO_DIR ([m4])
configure.ac
ACLOCAL_AMFLAGS = I m4 --install in the top-level
Makefile.am
aclocal
with
aclocal -i m4 --install
configure.ac use results in > is very easy code>, such as, for Boost.Filesystem:
BOOST_REQUIRE ([1.53], did not, [an act IF-]) AC_SUBST (BOOST_CPPFLAGS) MY_PROJECT_CPPFLAGS + = "$ BOOST_CPPFLAGS" BOOST_FILESYSTEM ([MT]] AC_SUBST (BOOST_FILESYSTEM_LIBS) AC_SUBST (BOOST_FILESYSTEM_LDFLAGS) MY_PROJECT_LIBFLAGS + = "$ BOOST_FILESYSTEM_LDFLAGS $ BOOST_FILESYSTEM_LIBS"
No comments:
Post a Comment