Op Nav Build Issues

145 views
Skip to first unread message

Morgan Yost

unread,
Sep 2, 2021, 3:59:15 PM9/2/21
to Basilisk Forum
Hello,

I'm having the following build issue when trying to build the opnav interfaces. I can't figure out how to get zlib to install on my machine. Has this issue been encountered by anyone else?

Thanks, 
Morgan

(.venv) C:\avslab-basilisk-45fa164a0915>python conanfile.py
Checking conan configuration: Done
Auto-Generating Draft Modules...  Done
Running this conan command:
conan install . --build=missing -s build_type=Release -if dist3/conan -o opNav=True -o vizInterface=True -o buildProject=True
Configuration:
[settings]
arch=x86_64
arch_build=x86_64
build_type=Release
compiler=gcc
compiler.libcxx=libstdc++
compiler.version=5
os=Windows
os_build=Windows
[options]
buildProject=True
opNav=True
vizInterface=True
[build_requires]
[env]

Checking conan configuration: Done
cmake generator set to: Visual Studio 15 2017 Win64
WARN: opencv/4.1.1@conan/stable: requirement zlib/1.2.11 overridden by Basilisk/2.0.6b0 to zlib/1.2.@conan/stable
WARN: opencv/4.1.1@conan/stable: requirement eigen/3.3.7 overridden by Basilisk/2.0.6b0 to eigen/3.3.7@conan/stable
zlib/1.2.@conan/stable: Not found in local cache, looking in remotes...
zlib/1.2.@conan/stable: Trying with 'conancenter'...
zlib/1.2.@conan/stable: Trying with 'conan-center'...
zlib/1.2.@conan/stable: Trying with 'conan-community'...
ERROR: Failed requirement 'zlib/1.2.@conan/stable' from 'opencv/4.1.1@conan/stable'
ERROR: Permission denied for user: 'None'. [Remote: conan-community]
Running cmake:

Hanspeter Schaub

unread,
Sep 3, 2021, 12:02:31 PM9/3/21
to Basilisk Forum

Howdy Morgan,

Over the summer something changed with the conan code repo sites that caused the installs to fail to finish.  I found a fix a few weeks ago and pushed that. If you pull the latest BSK develop code (2.0.7 beta) this should work again.

Morgan Yost

unread,
Sep 17, 2021, 5:35:11 PM9/17/21
to Basilisk Forum

Thanks,

I updated my basilisk repo and am now seeing a new error with the bzip build. Has anyone had success building this on windows?

bzip2/1.0.8@conan/stable: Calling build()
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMake was unable to find a build program corresponding to "MinGW Makefiles".  CMAKE_MAKE_PROGRAM is not set.  You probably need to select a different build tool.
CMake Error: CMAKE_C_COMPILER not set, after EnableLanguage
-- Configuring incomplete, errors occurred!
bzip2/1.0.8@conan/stable:
bzip2/1.0.8@conan/stable: ERROR: Package 'be7e4969bdd952017f362a3968d1a1e89556fb16' build failed
bzip2/1.0.8@conan/stable: WARN: Build folder C:\Users\e315284\.conan\data\bzip2\1.0.8\conan\stable\build\be7e4969bdd952017f362a3968d1a1e89556fb16
ERROR: bzip2/1.0.8@conan/stable: Error in build() method, line 53
        cmake = self._configure_cmake()
while calling '_configure_cmake', line 49
        cmake.configure()
        ConanException: Error 1 while executing cd C:\Users\e315284\.conan\data\bzip2\1.0.8\conan\stable\build\be7e4969bdd952017f362a3968d1a1e89556fb16 && cmake -G "MinGW Makefiles" -DCMAKE_BUILD_TYPE="Release" -DCONAN_IN_LOCAL_CACHE="ON" -DCONAN_COMPILER="gcc" -DCONAN_COMPILER_VERSION="5" -DCONAN_CXX_FLAGS="-m64" -DCONAN_SHARED_LINKER_FLAGS="-m64" -DCONAN_C_FLAGS="-m64" -DBUILD_SHARED_LIBS="ON" -DCMAKE_INSTALL_PREFIX="C:\Users\e315284\.conan\data\bzip2\1.0.8\conan\stable\package\be7e4969bdd952017f362a3968d1a1e89556fb16" -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" -DBZ2_VERSION_STRING="1.0.8" -DBZ2_VERSION_MAJOR="1" -DBZ2_BUILD_EXE="ON" -Wno-dev C:\Users\e315284\.conan\data\bzip2\1.0.8\conan\stable\build\be7e4969bdd952017f362a3968d1a1e89556fb16

Hanspeter Schaub

unread,
Sep 18, 2021, 3:52:41 PM9/18/21
to Basilisk Forum
I've not seen this specific error.  But a week ago the continuous builds of BSK, across all three platforms, started breaking. I figured out that the conan 1.40.1 changes the default repo servers which broke our installation.  I'm testing out a fix this afternoon across the platforms and will push, hopefully, later today.  Note that I can't test build on Windows with opNav, the CI build is just the basic default build of BSK.
Reply all
Reply to author
Forward
0 new messages