-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build error with -o proxyfmu=True : Could NOT find Boost (missing: filesystem) (found suitable version"1.71.0", minimum required is "1.71") #736
Comments
A (not desirable) workaround is to install boost using: But then a compilation error occurs in src/proxyfmu/fmi/fmicontext.hpp It is needed to add the following headers: |
Not the best solution, but if you use gcc9, you should get precompiled binaries with conan, thus omitting the issue you are facing. |
I had the installation of the older compiler by the following sequence of commands:
Then check with: Then change the conan configuration of the compiler to 9 in ~/.conan/profiles/default: Then redo the compilation procedure: check the conan boost version installed: but the final result is an error:
|
A workaround is to disable test generation:
|
A local installation can be done: |
Prerequisite: conan 1.60 installed (conan 2 does not work with libcosim)
when running:
conan install .. --build=missing -o proxyfmu=True
the following error occurs:
CMake Error at /usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find Boost (missing: filesystem) (found suitable version
"1.71.0", minimum required is "1.71")
Call Stack (most recent call first):
/usr/share/cmake-3.22/Modules/FindPackageHandleStandardArgs.cmake:594 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-3.22/Modules/FindBoost.cmake:2360 (find_package_handle_standard_args)
CMakeLists.txt:94 (find_package)
ERROR: proxyfmu/0.3.1@osp/stable: Error in build() method, line 37
cmake = self.configure_cmake()
while calling 'configure_cmake', line 33
cmake.configure()
ConanException: Error 1 while executing cd '/home//.conan/data/proxyfmu/0.3.1/osp/stable/build/12fb9b8d0a334600e69d5361f1677cee897ac9b9' && cmake -G "Unix Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="11" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DCONAN_LIBCXX="libstdc++" -DBUILD_SHARED_LIBS="True" -DCMAKE_INSTALL_PREFIX="/home//.conan/data/proxyfmu/0.3.1/osp/stable/package/12fb9b8d0a334600e69d5361f1677cee897ac9b9" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev '/home//.conan/data/proxyfmu/0.3.1/osp/stable/build/12fb9b8d0a334600e69d5361f1677cee897ac9b9'
The text was updated successfully, but these errors were encountered: