Closed SSSSamZhu closed 2 years ago
Did you compiled the superbuild from source or just instal all the packages from binaries? In any case, can you report the output of the commands conda list
and conda info
? Thanks!
I followed this guidance document. https://github.com/robotology/robotology-superbuild/blob/8e2869cef7ff91a3bbf1fa2151a2e79ceb1deb69/doc/conda-forge.md#source-installation No errors were reported all the way to the last step.All orders appear to be in order.
mamba activate robsub
call ./robotology-superbuild/build/install/share/robotology-superbuild/setup.bat
(robsub) C:\Users\samgmzhu>conda list
# packages in environment at C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub:
#
# Name Version Build Channel
ace 7.0.7 h0e60522_0 conda-forge
asio 1.22.1 h0e60522_0 conda-forge
assimp 5.2.4 hc2aa0de_0 conda-forge
blosc 1.21.1 h74325e0_3 conda-forge
boost 1.74.0 py310hc781a3c_5 conda-forge
boost-cpp 1.74.0 h9f4b32c_8 conda-forge
bzip2 1.0.8 h8ffe710_4 conda-forge
c-compiler 1.4.2 h8ffe710_0 conda-forge
ca-certificates 2022.6.15 h5b45459_0 conda-forge
cairo 1.16.0 h0ac17fb_1011 conda-forge
cfitsio 4.1.0 h5a969a9_0 conda-forge
clangdev 5.0.0 flang_3 conda-forge
cmake 3.23.2 h39d44d4_0 conda-forge
compilers 1.4.2 h57928b3_0 conda-forge
console_bridge 1.0.2 h5362a0b_1 conda-forge
cppzmq 4.8.1 h4324990_0 conda-forge
curl 7.83.1 h789b8ee_0 conda-forge
cxx-compiler 1.4.2 h2d74725_0 conda-forge
dirent 1.21 0 conda-forge
dlfcn-win32 1.3.0 h0e60522_0 conda-forge
eigen 3.4.0 h2d74725_0 conda-forge
expat 2.4.8 h39d44d4_0 conda-forge
ffmpeg 4.3.1 ha925a31_0 conda-forge
flang 5.0.0 he025d50_20180525 conda-forge
flang_win-64 5.0.0 h13ae965_20180526 conda-forge
font-ttf-dejavu-sans-mono 2.37 hab24e00_0 conda-forge
font-ttf-inconsolata 3.000 h77eed37_0 conda-forge
font-ttf-source-code-pro 2.038 h77eed37_0 conda-forge
font-ttf-ubuntu 0.83 hab24e00_0 conda-forge
fontconfig 2.14.0 hce3cb01_0 conda-forge
fonts-conda-ecosystem 1 0 conda-forge
fonts-conda-forge 1 0 conda-forge
fortran-compiler 1.4.2 h9655429_0 conda-forge
freeglut 3.2.2 h0e60522_1 conda-forge
freeimage 3.18.0 h6676e37_9 conda-forge
freetype 2.10.4 h546665d_1 conda-forge
freexl 1.0.6 ha8e266a_0 conda-forge
fribidi 1.0.10 h8d14728_0 conda-forge
gazebo 11.11.0 hfac46e6_6 conda-forge
geos 3.10.3 h39d44d4_0 conda-forge
geotiff 1.7.1 h714bc5f_2 conda-forge
getopt-win32 0.1 h8ffe710_0 conda-forge
gettext 0.19.8.1 ha2e2712_1008 conda-forge
glew 2.1.0 h39d44d4_2 conda-forge
glfw 3.3.7 h8ffe710_0 conda-forge
glib 2.70.2 h7755175_4 conda-forge
glib-tools 2.70.2 h7755175_4 conda-forge
glm 0.9.9.4 h1ad3211_0 conda-forge
graphite2 1.3.13 1000 conda-forge
graphviz 2.50.0 had6c3a3_2 conda-forge
gsl 2.7 hdfb1a43_0 conda-forge
gst-plugins-base 1.20.3 he07aa86_0 conda-forge
gstreamer 1.20.3 hdff456e_0 conda-forge
gts 0.7.6 h7c369d9_2 conda-forge
harfbuzz 4.3.0 h27de254_0 conda-forge
hdf4 4.2.15 h0e5069d_3 conda-forge
hdf5 1.12.1 nompi_h2a0e4a3_104 conda-forge
icu 70.1 h0e60522_0 conda-forge
imath 3.1.5 h12d4b20_0 conda-forge
intel-openmp 2022.1.0 h57928b3_3787 conda-forge
ipopt 3.14.7 h99cadeb_0 conda-forge
irrlicht 1.8.5 h739eaf8_2 conda-forge
jasper 2.0.33 h77af90b_0 conda-forge
jpeg 9e h8ffe710_1 conda-forge
jsoncpp 1.9.5 h2d74725_1 conda-forge
jxrlib 1.1 h8ffe710_2 conda-forge
kealib 1.4.15 h8995ca9_0 conda-forge
krb5 1.19.3 h1176d77_0 conda-forge
lcms2 2.12 h2a16943_0 conda-forge
lerc 3.0 h0e60522_0 conda-forge
libblas 3.9.0 15_win64_mkl conda-forge
libcblas 3.9.0 15_win64_mkl conda-forge
libccd-double 2.1 h0e60522_3 conda-forge
libclang 14.0.6 default_h77d9078_0 conda-forge
libclang13 14.0.6 default_h77d9078_0 conda-forge
libcurl 7.83.1 h789b8ee_0 conda-forge
libdeflate 1.12 h8ffe710_0 conda-forge
libffi 3.4.2 h8ffe710_5 conda-forge
libflang 5.0.0 h6538335_20180525 conda-forge
libgd 2.3.3 h891f43f_3 conda-forge
libgdal 3.5.0 h40a1202_4 conda-forge
libglib 2.70.2 h3be07f2_4 conda-forge
libiconv 1.16 he774522_0 conda-forge
libignition-cmake2 2.12.1 h0e60522_0 conda-forge
libignition-common3 3.13.2 h9bd54ec_2 conda-forge
libignition-fuel-tools4 4.4.0 h3fac903_7 conda-forge
libignition-math6 6.11.0 py310h62d8b2e_1 conda-forge
libignition-msgs5 5.9.0 hc835698_0 conda-forge
libignition-tools1 1.4.1 h0e60522_2 conda-forge
libignition-transport8 8.1.0 h819de12_11 conda-forge
libjpeg-turbo 2.1.1 h8ffe710_0 conda-forge
libkml 1.3.0 h9859afa_1014 conda-forge
liblapack 3.9.0 15_win64_mkl conda-forge
liblapacke 3.9.0 15_win64_mkl conda-forge
libmatio 1.5.23 hc273f65_0 conda-forge
libnetcdf 4.8.1 nompi_h1cc8e9d_102 conda-forge
libode 0.16.2 h8a704f9_10 conda-forge
libogg 1.3.4 h8ffe710_1 conda-forge
libopenblas 0.3.20 pthreads_hc469a61_0 conda-forge
libopencv 4.5.5 py310hc96b821_11 conda-forge
libpng 1.6.37 h1d00b33_2 conda-forge
libpq 14.4 hfcc5ef8_0 conda-forge
libprotobuf 3.20.1 h7755175_0 conda-forge
libraw 0.20.2 hee1bdec_1 conda-forge
librttopo 1.1.0 h7a1d996_10 conda-forge
libsdformat 9.8.0 h0e60522_1 conda-forge
libsodium 1.0.18 h8d14728_1 conda-forge
libspatialite 5.0.1 h39690df_17 conda-forge
libssh2 1.10.0 h680486a_2 conda-forge
libtiff 4.4.0 h2ed3b44_1 conda-forge
libusb 1.0.26 h8ffe710_100 conda-forge
libvorbis 1.3.7 h0e60522_0 conda-forge
libwebp 1.2.2 h57928b3_0 conda-forge
libwebp-base 1.2.2 h8ffe710_1 conda-forge
libxcb 1.13 hcd874cb_1004 conda-forge
libxml2 2.9.14 hf5bbc77_0 conda-forge
libzip 1.8.0 hfed4ece_1 conda-forge
libzlib 1.2.12 h8ffe710_1 conda-forge
llvm-meta 5.0.0 0 conda-forge
lua 5.4.4 h57928b3_0 conda-forge
lz4-c 1.9.3 h8ffe710_1 conda-forge
m2w64-gcc-libgfortran 5.3.0 6 conda-forge
m2w64-gcc-libs 5.3.0 7 conda-forge
m2w64-gcc-libs-core 5.3.0 7 conda-forge
m2w64-gmp 6.1.0 2 conda-forge
m2w64-libwinpthread-git 5.0.0.4634.697f757 2 conda-forge
make 4.3 h3d2af85_1 conda-forge
metis 5.1.0 h0e60522_1006 conda-forge
mkl 2022.1.0 h6a75c08_874 conda-forge
msys2-conda-epoch 20160418 1 conda-forge
mumps-seq 5.2.1 hb3f9cae_11 conda-forge
ninja 1.11.0 h2d74725_0 conda-forge
nlohmann_json 3.10.5 h39d44d4_0 conda-forge
numpy 1.23.0 py310h8a5b91a_0 conda-forge
ogre 1.10.12 hab73eff_9 conda-forge
openal-soft 1.22.1 h2d74725_0 conda-forge
openblas 0.3.20 pthreads_h543f93c_0 conda-forge
opencv 4.5.5 py310h5588dad_11 conda-forge
openexr 3.1.5 hab3b255_0 conda-forge
openjpeg 2.4.0 hb211442_1 conda-forge
openmp 5.0.0 vc14_1 conda-forge
openssl 1.1.1p h8ffe710_0 conda-forge
pango 1.50.7 h66df5b2_0 conda-forge
pcre 8.45 h0e60522_0 conda-forge
pip 22.1.2 pyhd8ed1ab_0 conda-forge
pixman 0.40.0 h8ffe710_0 conda-forge
pkg-config 0.29.2 h2bf4dc2_1008 conda-forge
poppler 22.04.0 h24fffdf_1 conda-forge
poppler-data 0.4.11 hd8ed1ab_0 conda-forge
portaudio 19.6.0 h0e60522_5 conda-forge
postgresql 14.4 h1c22c4f_0 conda-forge
proj 9.0.1 h1cfcee9_0 conda-forge
pthread-stubs 0.4 hcd874cb_1001 conda-forge
pugixml 1.11.4 h0e60522_0 conda-forge
py-opencv 4.5.5 py310hbbfc1a7_11 conda-forge
pybind11-abi 4 hd8ed1ab_3 conda-forge
python 3.10.5 h9a09f29_0_cpython conda-forge
python_abi 3.10 2_cp310 conda-forge
qt-main 5.15.4 h467ea89_2 conda-forge
qwt 6.2.0 h2db317d_4 conda-forge
ruby 2.7.2 h1d9c0f5_8 conda-forge
sdl 1.2.52 h0e60522_1 conda-forge
sdl2 2.0.22 h0e60522_1 conda-forge
setuptools 62.6.0 py310h5588dad_0 conda-forge
simbody 3.7 hade3207_3 conda-forge
snappy 1.1.9 h82413e6_1 conda-forge
soxr 0.1.3 h8ffe710_2 conda-forge
spdlog 1.10.0 h2d74725_0 conda-forge
sqlite 3.38.5 h8ffe710_0 conda-forge
tbb 2021.5.0 h2d74725_1 conda-forge
tbb-devel 2021.5.0 h2d74725_1 conda-forge
tiledb 2.9.5 h5689973_0 conda-forge
tiny-process-library 2.0.4 h0e60522_0 conda-forge
tinyxml 2.6.2 h2d74725_2 conda-forge
tinyxml2 9.0.0 h0e60522_2 conda-forge
tk 8.6.12 h8ffe710_0 conda-forge
tzdata 2022a h191b570_0 conda-forge
ucrt 10.0.20348.0 h57928b3_0 conda-forge
urdfdom 3.1.0 h0e60522_0 conda-forge
urdfdom_headers 1.1.0 h5362a0b_0 conda-forge
vc 14.2 hb210afc_6 conda-forge
vs2015_runtime 14.29.30037 h902a5da_6 conda-forge
vs2017_win-64 19.16.27033 hb90652a_6 conda-forge
vswhere 3.0.3 h57928b3_0 conda-forge
wheel 0.37.1 pyhd8ed1ab_0 conda-forge
xerces-c 3.2.3 h0e60522_5 conda-forge
xorg-kbproto 1.0.7 hcd874cb_1002 conda-forge
xorg-libice 1.0.10 hcd874cb_0 conda-forge
xorg-libsm 1.2.3 hcd874cb_1000 conda-forge
xorg-libx11 1.7.2 hcd874cb_0 conda-forge
xorg-libxau 1.0.9 hcd874cb_0 conda-forge
xorg-libxdmcp 1.1.3 hcd874cb_0 conda-forge
xorg-libxext 1.3.4 hcd874cb_1 conda-forge
xorg-libxpm 3.5.13 hcd874cb_0 conda-forge
xorg-libxt 1.2.1 hcd874cb_2 conda-forge
xorg-xextproto 7.3.0 hcd874cb_1002 conda-forge
xorg-xproto 7.0.31 hcd874cb_1007 conda-forge
xz 5.2.5 h62dcd97_1 conda-forge
yaml 0.2.5 h8ffe710_2 conda-forge
zeromq 4.3.4 h0e60522_1 conda-forge
zlib 1.2.12 h8ffe710_1 conda-forge
zstd 1.5.2 h6255e5f_1 conda-forge
zziplib 0.13.69 h1d00b33_1 conda-forge
(robsub) C:\Users\samgmzhu>conda info
active environment : robsub
active env location : C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub
shell level : 1
user config file : C:\Users\samgmzhu\.condarc
populated config files : C:\Users\samgmzhu\AppData\Local\mambaforge\.condarc
C:\Users\samgmzhu\.condarc
conda version : 4.12.0
conda-build version : not installed
python version : 3.9.13.final.0
virtual packages : __win=0=0
__archspec=1=x86_64
base environment : C:\Users\samgmzhu\AppData\Local\mambaforge (writable)
conda av data dir : C:\Users\samgmzhu\AppData\Local\mambaforge\etc\conda
conda av metadata url : None
channel URLs : https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/win-64
https://mirrors.ustc.edu.cn/anaconda/cloud/menpo/noarch
https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/win-64
https://mirrors.ustc.edu.cn/anaconda/cloud/bioconda/noarch
https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/win-64
https://mirrors.ustc.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/win-64
https://mirrors.ustc.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.ustc.edu.cn/anaconda/pkgs/free/win-64
https://mirrors.ustc.edu.cn/anaconda/pkgs/free/noarch
https://mirrors.ustc.edu.cn/anaconda/pkgs/main/win-64
https://mirrors.ustc.edu.cn/anaconda/pkgs/main/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/msys2/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/cloud/conda-forge/noarch
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/win-64
https://mirrors.tuna.tsinghua.edu.cn/anaconda/pkgs/free/noarch
https://repo.anaconda.com/pkgs/main/win-64
https://repo.anaconda.com/pkgs/main/noarch
https://repo.anaconda.com/pkgs/r/win-64
https://repo.anaconda.com/pkgs/r/noarch
https://repo.anaconda.com/pkgs/msys2/win-64
https://repo.anaconda.com/pkgs/msys2/noarch
https://conda.anaconda.org/conda-forge/win-64
https://conda.anaconda.org/conda-forge/noarch
package cache : C:\Users\samgmzhu\AppData\Local\mambaforge\pkgs
C:\Users\samgmzhu\.conda\pkgs
C:\Users\samgmzhu\AppData\Local\conda\conda\pkgs
envs directories : C:\Users\samgmzhu\AppData\Local\mambaforge\envs
C:\Users\samgmzhu\.conda\envs
C:\Users\samgmzhu\AppData\Local\conda\conda\envs
platform : win-64
user-agent : conda/4.12.0 requests/2.27.1 CPython/3.9.13 Windows/10 Windows/10.0.19043
administrator : True
netrc file : None
offline mode : False
Ok! In this case, did you called call ./robotology-superbuild/build/install/share/robotology-superbuild/setup.bat
in the second terminal where yarp
is not starting? (To avoid doing this all the time, see https://github.com/robotology/robotology-superbuild/issues/792, we still need to integrate this in the docs).
Good morning,@traversaro OK, Looks like I need to install a Windows Terminal. This is my output from running this command line, does that mean I'm on the right path? Thanks.
(robsub) C:\Users\samgmzhu>call ./robotology-superbuild/build/install/share/robotology-superbuild/setup.bat
(robsub) C:\Users\samgmzhu>rem Automatically generated setup file for robotology-superbuild
(robsub) C:\Users\samgmzhu>set "ROBOTOLOGY_SUPERBUILD_SOURCE_DIR=C:\Users\samgmzhu\robotology-superbuild"
(robsub) C:\Users\samgmzhu>set "ROBOTOLOGY_SUPERBUILD_INSTALL_PREFIX=C:\Users\samgmzhu\robotology-superbuild\build\install"
(robsub) C:\Users\samgmzhu>rem Extend PATH
(robsub) C:\Users\samgmzhu>set "PATH=C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub\share\rubygems\bin;;C:/Users/samgmzhu/AppData/Local/mambaforge/envs/robsub/Library/bin/gazebo-11/plugins;C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub;C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub\Library\mingw-w64\bin;C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub\Library\usr\bin;C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub\Library\bin;C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub\Scripts;C:\Users\samgmzhu\AppData\Local\mambaforge\envs\robsub\bin;C:\Users\samgmzhu\AppData\Local\mambaforge\condabin;D:\Anaconda3;D:\Anaconda3\Library\mingw-w64\bin;D:\Anaconda3\Library\usr\bin;D:\Anaconda3\Library\bin;D:\Anaconda3\Scripts;C:\windows\system32;C:\windows;C:\windows\System32\Wbem;C:\windows\System32\WindowsPowerShell\v1.0;C:\windows\System32\OpenSSH;D:\Microsoft VS Code\bin;C:\Program Files\Bandizip;C:\Program Files\Git\bin;C:\Program Files\Git\mingw64\libexec\git-core;C:\Program Files\CMake\bin;C:\Users\samgmzhu\AppData\Local\Microsoft\WindowsApps;.;C:\Users\samgmzhu\robotology-superbuild\build\install\bin"
(robsub) C:\Users\samgmzhu>rem YARP related env variables (see http://www.yarp.it/yarp_data_dirs.html )
(robsub) C:\Users\samgmzhu>set "YARP_DATA_DIRS=;C:\Users\samgmzhu\robotology-superbuild\build\install\share\yarp;C:\Users\samgmzhu\robotology-superbuild\build\install\share\iCub;C:\Users\samgmzhu\robotology-superbuild\build\install\share\ICUBcontrib"
(robsub) C:\Users\samgmzhu>rem Extend CMAKE_PREFIX_PATH (see https://cmake.org/cmake/help/v3.8/variable/CMAKE_PREFIX_PATH.html )
(robsub) C:\Users\samgmzhu>set "CMAKE_PREFIX_PATH=;C:\Users\samgmzhu\robotology-superbuild\build\install"
(robsub) C:\Users\samgmzhu>rem Setup BlockFactory plugins path
(robsub) C:\Users\samgmzhu>set BLOCKFACTORY_PLUGIN_PATH=C:\Users\samgmzhu\robotology-superbuild\build\install\bin\blockfactory
(robsub) C:\Users\samgmzhu>rem Variables to find resources in URDF and SDF files
(robsub) C:\Users\samgmzhu>set "ROS_PACKAGE_PATH=;C:\Users\samgmzhu\robotology-superbuild\build\install\share"
(robsub) C:\Users\samgmzhu>set "AMENT_PREFIX_PATH=;C:\Users\samgmzhu\robotology-superbuild\build\install"
(robsub) C:\Users\samgmzhu>set "GAZEBO_MODEL_PATH=C:/Users/samgmzhu/AppData/Local/mambaforge/envs/robsub/Library/share/gazebo-11/models;;C:\Users\samgmzhu\robotology-superbuild\build\install\share\gazebo\models;C:\Users\samgmzhu\robotology-superbuild\build\install\share\iCub\robots;C:\Users\samgmzhu\robotology-superbuild\build\install\share"
(robsub) C:\Users\samgmzhu>rem Bash completion
(robsub) C:\Users\samgmzhu>set "XDG_DATA_DIRS=;C:\Users\samgmzhu\robotology-superbuild\build\install\share"
(robsub) C:\Users\samgmzhu>
OK, Looks like I need to install a Windows Terminal.
This is just for having a quick way to open a terminal in which ./robotology-superbuild/build/install/share/robotology-superbuild/setup.bat
was already called. If you call the script manually, there is no need for Windows terminal.
This is my output from running this command line, does that mean I'm on the right path?
Yes, that is kind of the expected output.
I am sorry that I need your help again, because the question I raised before has not been closed. I tried to install superbuild on Windows10. After I created a new virtual environment, YARP seemed to work fine on one terminal, but didn't seem to work on the other.There was also a problem that iCub_SIM could not find. I am sorry for the inconvenience caused by my Chinese system. Please feel free to contact me if you need further information.