before this change, we respect the CMake variable namedBUILD_SHARED_LIBS, and build shared libraries if it is set, build static libraries otherwise. but this model cannot fulfill the needs of a parent project which needs to build both static and shared seastar libraries with different configurat...
编译cpp工程的时候,遇到了下面的错误: CMake Error at /usr/lib/cmake/Boost-1.74.0/BoostConfig.cmake:141 (find_package): Found package configuration file: /usr/lib/cmake/boost_filesystem-1.74.0/boost_filesystem-config.cmake but it set boost_filesystem_FOUND to FALSE so package "boost_file...
@Davichet-e Allow MEOS to be built as a static library by setting -DBUILD_SHARED_LIBS=off in cmake
Sans GLIBC, I found that my pre-compiled packages didn't run on Alpine. Even reducing the shared reqs to "the runtime", when the runtime itself changed I was stuck. This would be true for other distros (witness Arch Linux or any which use uClibc). As for me, I came to dislike sh...
简介: static library libs/libvpx/libvpx.a is not portable!错误如下: *** Warning: Linking the shared library libfreeswitch.la against the *** static library libs/libvpx/libvpx.a is not portable! 解决办法: ./configure \ --enable-pic \ --enable-static \ --enable-shared \ --as=yasm \...
*** Warning: Linking the shared library libfreeswitch.la against the *** static library libs/libvpx/libvpx.a is not portable! 1. 2. 解决办法: ./configure \ --enable-pic \ --enable-static \ --enable-shared \ --as=yasm \ --target=generic-gnu ...
I only added handling of BUILD_STATIC_LIBS, leaving BUILD_SHARED_LIBS assumed True. I can add handling of both if you prefer. It appears that BUILD_STATIC_LIBS is subordinate to BUILD_SHARED_LIBS, so it is not allowed to build static without shared. minrk mentioned this pull request Nov ...
Exclude_static_libs []string Exclude_static_libs []string `android:"arch_variant"` // list of shared libs that should not be used to build this module Exclude_shared_libs []string `android:"arch_variant"` } func NewBaseLinker(sanitize *sanitize) *baseLinker { @@ -223,6 +226,8 @@ ...
*** Warning: Linking the shared library libfreeswitch.la against the *** static library libs/libvpx/libvpx.a is not portable! 1. 2. 解决办法: ./configure \ --enable-pic \ --enable-static \ --enable-shared \ --as=yasm \ --target=generic-gnu ...
CMake actually warns about this when I use-DBUILD_SHARED_LIBS=ON. CMake Error: The inter-target dependency graph contains the following strongly connected component (cycle): "kleeBasic" of type SHARED_LIBRARY depends on "kleaverSolver" (weak) "kleaverSolver" of type SHARED_LIBRARY depends on...