假设myprogram1需要一个-lboost_python,而myprogram2需要-losg。
从本质上讲,一些程序需要某些库,而其他程序则不需要。下面是我正在做的一个例子。AC_CHECK_LIB([boost_python], [main], [AC_SUBST([myprogram1_LIBS], ["-lboost_python"])AC_DEFINE([HAVE_LIBBOOST_PYTHON], [1], [Define if you have libboost_python<
osg::ref_ptr<osg::DrawElementsUInt> indices = new osg::DrawElementsUInt(GL_TRIANGLES, 24); osg::ref_ptr<osg::Geode> root = new osg::Geode;
root::ref_ptr<osg::V