Skip to content
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

Enable compilation of YARP devices by backporting PR 576 #6

Closed
wants to merge 2 commits into from

Conversation

traversaro
Copy link
Contributor

@traversaro traversaro commented Nov 24, 2022

Fix #5 .
Backport of ami-iit/bipedal-locomotion-framework#576 .

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

@conda-forge-linter
Copy link

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

@traversaro
Copy link
Contributor Author

@conda-forge-admin, please rerender

@traversaro
Copy link
Contributor Author

fyi @GiulioRomualdi

@github-actions
Copy link
Contributor

Hi! This is the friendly automated conda-forge-webservice.

I tried to rerender for you, but it looks like there was nothing to do.

This message was generated by GitHub actions workflow run https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/actions/runs/3540555471.

@traversaro
Copy link
Contributor Author

Ok, the log now contains:

--  [x] Plugin: FloatingBaseEstimatorDevice (ENABLE_FloatingBaseEstimatorDevice)
-- Created device FloatingBaseEstimatorDevice for export BipedalLocomotionFramework.
--  [x] Plugin: YarpRobotLoggerDevice (ENABLE_YarpRobotLoggerDevice)
-- Created device YarpRobotLoggerDevice for export BipedalLocomotionFramework.
--  [x] Plugin: VectorsCollectionWrapper (ENABLE_VectorsCollectionWrapper)
-- Created device VectorsCollectionWrapper for export BipedalLocomotionFramework.

@traversaro
Copy link
Contributor Author

traversaro commented Nov 24, 2022

macOS and Windows compilation is failing (while linux is happy):

2022-11-24T12:51:05.9532898Z [102/119] Building CXX object devices\YarpRobotLoggerDevice\CMakeFiles\YarpRobotLoggerDevice.dir\src\YarpRobotLoggerDevice.cpp.obj
2022-11-24T12:51:05.9539320Z FAILED: devices/YarpRobotLoggerDevice/CMakeFiles/YarpRobotLoggerDevice.dir/src/YarpRobotLoggerDevice.cpp.obj 
2022-11-24T12:51:05.9969759Z C:\PROGRA~2\MICROS~2\2019\ENTERP~1\VC\Tools\MSVC\1429~1.301\bin\Hostx64\x64\cl.exe  /nologo /TP -DBOOST_ALL_NO_LIB -DBOOST_ALL_NO_LIB-DBOOST_ALL_NO_LIB -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DFMT_SHARED -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DUSING_DEPRECATED_UPPERCASE_YARP_OS_TARGET -DYarpRobotLoggerDevice_EXPORTS -D__SSE2__ -D__SSE3__ -D__SSE4_1__ -D__SSE4_2__ -D__SSE__ -D__SSSE3__ -ID:\bld\bipedal-locomotion-framework_1669292829224\work\devices\YarpRobotLoggerDevice\include -I"D:\bld\bipedal-locomotion-framework_1669292829224\work\devices\YarpRobotLoggerDevice\<INSTALLINTERFACE:<INSTALL_PREFIX>\include>" -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\TextLogging\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\System\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\ParametersHandler\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\GenericContainer\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\YarpUtilities\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\build\src\YarpUtilities\autogenerated\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\ParametersHandler\YarpImplementation\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\RobotInterface\YarpImplementation\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\RobotInterface\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\TextLogging\YarpImplementation\include -ID:\bld\bipedal-locomotion-framework_1669292829224\work\src\System\YarpImplementation\include -external:ID:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\eigen3 -external:ID:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include -external:ID:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\pcl-1.12 -external:W0 /DWIN32 /D_WINDOWS /GR /EHsc /O2 /Ob2 /DNDEBUG -MD /wd4251 /wd4275 /arch:AVX2 -std:c++17 /showIncludes /Fodevices\YarpRobotLoggerDevice\CMakeFiles\YarpRobotLoggerDevice.dir\src\YarpRobotLoggerDevice.cpp.obj /Fddevices\YarpRobotLoggerDevice\CMakeFiles\YarpRobotLoggerDevice.dir\ /FS -c D:\bld\bipedal-locomotion-framework_1669292829224\work\devices\YarpRobotLoggerDevice\src\YarpRobotLoggerDevice.cpp
2022-11-24T12:51:06.0211255Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\yarp/os/api.h(53) : warning:"The YARP::YARP_OS target is deprecated. Use YARP::YARP_os instead"
2022-11-24T12:51:06.0216632Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\yarp/dev/Wrapper.h(14) : warning:"<yarp/dev/Wrapper.h> file is deprecated. Use <yarp/dev/IWrapper.h> and <yarp/dev/IMultipleWrapper.h> instead"
2022-11-24T12:51:06.1603887Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\matioCpp/ConversionUtilities.h(46): error C2338: Unsupported type.
2022-11-24T12:51:06.1633976Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\matioCpp/Element.h(35): note: see reference to class template instantiation 'matioCpp::get_type<T>' being compiled
2022-11-24T12:51:06.1658364Z         with
2022-11-24T12:51:06.1794106Z         [
2022-11-24T12:51:06.1978065Z             T=long
2022-11-24T12:51:06.1984936Z         ]
2022-11-24T12:51:06.3296359Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\robometry/BufferManager.h(121): note: see reference to class template instantiation 'matioCpp::Element<long>' being compiled
2022-11-24T12:51:06.3318942Z D:\bld\bipedal-locomotion-framework_1669292829224\work\devices\YarpRobotLoggerDevice\src\YarpRobotLoggerDevice.cpp(60): note: see reference to function template instantiation 'auto matioCpp::make_variable::<lambda_41fe7b972ef1e72e9e4141f1d6cde299>::operator ()<long>(const char *,const long &) const' being compiled
2022-11-24T12:51:06.3342831Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\visit_struct/visit_struct.hpp(144): note: see reference to function template instantiation 'void visit_struct::traits::visitable<BipedalLocomotion::TextLoggingEntry,void>::apply<_Ty,const T&>(V &&,S)' being compiled
2022-11-24T12:51:06.3360783Z         with
2022-11-24T12:51:06.3527887Z         [
2022-11-24T12:51:06.3548315Z             _Ty=matioCpp::make_variable::<lambda_41fe7b972ef1e72e9e4141f1d6cde299>,
2022-11-24T12:51:06.3575051Z             T=BipedalLocomotion::TextLoggingEntry,
2022-11-24T12:51:06.3590062Z             V=matioCpp::make_variable::<lambda_41fe7b972ef1e72e9e4141f1d6cde299>,
2022-11-24T12:51:06.3723401Z             S=const BipedalLocomotion::TextLoggingEntry &
2022-11-24T12:51:06.3734229Z         ]
2022-11-24T12:51:06.3745512Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\matioCpp\impl/ExogenousConversions.tpp(34): note: see reference to function template instantiation 'void visit_struct::for_each<matioCpp::make_variable::<lambda_41fe7b972ef1e72e9e4141f1d6cde299>,const Struct&>(S,V &&)' being compiled
2022-11-24T12:51:06.3747465Z         with
2022-11-24T12:51:06.3748026Z         [
2022-11-24T12:51:06.3748740Z             Struct=BipedalLocomotion::TextLoggingEntry,
2022-11-24T12:51:06.3749642Z             S=const BipedalLocomotion::TextLoggingEntry &,
2022-11-24T12:51:06.3750688Z             V=matioCpp::make_variable::<lambda_41fe7b972ef1e72e9e4141f1d6cde299>
2022-11-24T12:51:06.3751569Z         ]
2022-11-24T12:51:06.3752920Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\robometry/BufferManager.h(199): note: see reference to function template instantiation 'matioCpp::Struct matioCpp::make_variable<Class,void>(const std::string &,const Struct &)' being compiled
2022-11-24T12:51:06.3754644Z         with
2022-11-24T12:51:06.3755298Z         [
2022-11-24T12:51:06.3756133Z             Class=BipedalLocomotion::TextLoggingEntry,
2022-11-24T12:51:06.3766680Z             Struct=BipedalLocomotion::TextLoggingEntry
2022-11-24T12:51:06.3767736Z         ]
2022-11-24T12:51:06.3769217Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\robometry/BufferManager.h(450): note: see reference to function template instantiation 'void robometry::BufferInfo::createMatioCppConvertFunction<T>(void)' being compiled
2022-11-24T12:51:06.3770651Z         with
2022-11-24T12:51:06.3771331Z         [
2022-11-24T12:51:06.3771991Z             T=BipedalLocomotion::TextLoggingEntry
2022-11-24T12:51:06.3772795Z         ]
2022-11-24T12:51:06.3774445Z D:\bld\bipedal-locomotion-framework_1669292829224\work\devices\YarpRobotLoggerDevice\src\YarpRobotLoggerDevice.cpp(896): note: see reference to function template instantiation 'void robometry::BufferManager::push_back<BipedalLocomotion::TextLoggingEntry>(const T &,double,const std::string &)' being compiled
2022-11-24T12:51:06.3776258Z         with
2022-11-24T12:51:06.3776893Z         [
2022-11-24T12:51:06.4771248Z             T=BipedalLocomotion::TextLoggingEntry
2022-11-24T12:51:06.4817344Z         ]
2022-11-24T12:51:06.4820110Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\matioCpp/Element.h(35): error C2039: 'type': is not a member of 'matioCpp::get_type<T>'
2022-11-24T12:51:06.4875848Z         with
2022-11-24T12:51:06.4902217Z         [
2022-11-24T12:51:06.4903141Z             T=long
2022-11-24T12:51:06.4903941Z         ]
2022-11-24T12:51:06.4904927Z D:\bld\bipedal-locomotion-framework_1669292829224\_h_env\Library\include\matioCpp/Element.h(35): note: see declaration of 'matioCpp::get_type<T>'
2022-11-24T12:51:06.4906162Z         with
2022-11-24T12:51:06.4906864Z         [
2022-11-24T12:51:06.4907464Z             T=long
2022-11-24T12:51:06.4908125Z         ]

and

2022-11-24T12:46:00.5463810Z [133/153] Building CXX object devices/YarpRobotLoggerDevice/CMakeFiles/YarpRobotLoggerDevice.dir/src/YarpRobotLoggerDevice.cpp.o
2022-11-24T12:46:00.5559110Z FAILED: devices/YarpRobotLoggerDevice/CMakeFiles/YarpRobotLoggerDevice.dir/src/YarpRobotLoggerDevice.cpp.o 
2022-11-24T12:46:00.5686410Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_build_env/bin/x86_64-apple-darwin13.4.0-clang++ -DBOOST_ATOMIC_DYN_LINK -DBOOST_ATOMIC_NO_LIB -DBOOST_DATE_TIME_DYN_LINK -DBOOST_DATE_TIME_NO_LIB -DBOOST_FILESYSTEM_DYN_LINK -DBOOST_FILESYSTEM_NO_LIB -DBOOST_IOSTREAMS_DYN_LINK -DBOOST_IOSTREAMS_NO_LIB -DBOOST_SYSTEM_DYN_LINK -DBOOST_SYSTEM_NO_LIB -DFMT_SHARED -DQT_CORE_LIB -DQT_GUI_LIB -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_WIDGETS_LIB -DSPDLOG_COMPILED_LIB -DSPDLOG_FMT_EXTERNAL -DSPDLOG_SHARED_LIB -DUSING_DEPRECATED_UPPERCASE_YARP_OS_TARGET -DYarpRobotLoggerDevice_EXPORTS -Dkiss_fft_scalar=double -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/include -I"/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/<INSTALLINTERFACE:<INSTALL_PREFIX>/include>" -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/TextLogging/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/System/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/ParametersHandler/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/GenericContainer/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/YarpUtilities/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/build/src/YarpUtilities/autogenerated/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/ParametersHandler/YarpImplementation/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/RobotInterface/YarpImplementation/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/RobotInterface/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/TextLogging/YarpImplementation/include -I/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/src/System/YarpImplementation/include -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/eigen3 -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/opencv4 -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/pcl-1.12 -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/vtk-9.2 -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/freetype2 -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/qt -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/qt/QtOpenGL -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/qt/QtWidgets -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/qt/QtGui -isystem /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/OpenGL.framework/Headers -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/qt/QtCore -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/./mkspecs/macx-clang -march=core2 -mtune=haswell -mssse3 -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work=/usr/local/src/conda/libbipedal-locomotion-framework-0.10.0 -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_=/usr/local/src/conda-prefix -D_LIBCPP_DISABLE_AVAILABILITY -O3 -DNDEBUG -isysroot /Applications/Xcode_13.2.1.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk -mmacosx-version-min=10.9 -fPIC -fPIC -std=gnu++17 -MD -MT devices/YarpRobotLoggerDevice/CMakeFiles/YarpRobotLoggerDevice.dir/src/YarpRobotLoggerDevice.cpp.o -MF devices/YarpRobotLoggerDevice/CMakeFiles/YarpRobotLoggerDevice.dir/src/YarpRobotLoggerDevice.cpp.o.d -o devices/YarpRobotLoggerDevice/CMakeFiles/YarpRobotLoggerDevice.dir/src/YarpRobotLoggerDevice.cpp.o -c /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp
2022-11-24T12:46:00.5708910Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:562:74: error: reference to local binding 'cameraName' declared in enclosing function 'BipedalLocomotion::YarpRobotLoggerDevice::attachAll'
2022-11-24T12:46:00.5772940Z                 writer.videoThread = std::thread([&] { this->recordVideo(cameraName, writer); });
2022-11-24T12:46:00.5852160Z                                                                          ^
2022-11-24T12:46:00.5882210Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:559:25: note: 'cameraName' declared here
2022-11-24T12:46:00.5969080Z             for (auto& [cameraName, writer] : m_videoWriters)
2022-11-24T12:46:00.5997940Z                         ^
2022-11-24T12:46:00.6092800Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:562:86: error: reference to local binding 'writer' declared in enclosing function 'BipedalLocomotion::YarpRobotLoggerDevice::attachAll'
2022-11-24T12:46:00.6147620Z                 writer.videoThread = std::thread([&] { this->recordVideo(cameraName, writer); });
2022-11-24T12:46:00.6249770Z                                                                                      ^
2022-11-24T12:46:00.6269720Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:559:37: note: 'writer' declared here
2022-11-24T12:46:00.6371930Z             for (auto& [cameraName, writer] : m_videoWriters)
2022-11-24T12:46:00.6453530Z                                     ^
2022-11-24T12:46:00.6520290Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:24:
2022-11-24T12:46:00.6597750Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/include/BipedalLocomotion/YarpRobotLoggerDevice.h:26:
2022-11-24T12:46:00.6701930Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferManager.h:14:
2022-11-24T12:46:00.6734760Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferConfig.h:12:
2022-11-24T12:46:00.6821620Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/File.h:13:
2022-11-24T12:46:00.6908760Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/Variable.h:12:
2022-11-24T12:46:00.6962120Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/ConversionUtilities.h:46:5: error: static_assert failed due to requirement 'matioCpp::dependent_false<long>::value' "Unsupported type."
2022-11-24T12:46:00.7024500Z     static_assert (matioCpp::dependent_false<Tp>::value, "Unsupported type.");
2022-11-24T12:46:00.7082600Z     ^              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2022-11-24T12:46:00.7143160Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/Element.h:35:35: note: in instantiation of template class 'matioCpp::get_type<long>' requested here
2022-11-24T12:46:00.7226200Z     using element_type = typename get_type<T>::type; /** Defines the type of the Element. **/
2022-11-24T12:46:00.7305790Z                                   ^
2022-11-24T12:46:00.7346750Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/ExogenousConversions.tpp:31:40: note: in instantiation of template class 'matioCpp::Element<long>' requested here
2022-11-24T12:46:00.7421910Z         bool ok = matioStruct.setField(make_variable(name, value));
2022-11-24T12:46:00.7443310Z                                        ^
2022-11-24T12:46:00.7474560Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:42:1: note: in instantiation of function template specialization 'matioCpp::make_variable(const std::string &, const BipedalLocomotion::TextLoggingEntry &)::(anonymous class)::operator()<long>' requested here
2022-11-24T12:46:00.7545950Z VISITABLE_STRUCT(TextLoggingEntry,
2022-11-24T12:46:00.7567270Z ^
2022-11-24T12:46:00.7595180Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/visit_struct/visit_struct.hpp:497:25: note: expanded from macro 'VISITABLE_STRUCT'
2022-11-24T12:46:00.7673060Z     VISIT_STRUCT_PP_MAP(VISIT_STRUCT_MEMBER_HELPER, __VA_ARGS__)                                   \
2022-11-24T12:46:00.7776260Z                         ^
2022-11-24T12:46:00.7830300Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/visit_struct/visit_struct.hpp:144:42: note: in instantiation of function template specialization 'visit_struct::traits::visitable<BipedalLocomotion::TextLoggingEntry>::apply<(lambda at /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/ExogenousConversions.tpp:29:7), const BipedalLocomotion::TextLoggingEntry &>' requested here
2022-11-24T12:46:00.7864780Z   traits::visitable<traits::clean_t<S>>::apply(std::forward<V>(v), std::forward<S>(s));
2022-11-24T12:46:00.7879630Z                                          ^
2022-11-24T12:46:00.7986530Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/ExogenousConversions.tpp:28:19: note: in instantiation of function template specialization 'visit_struct::for_each<(lambda at /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/ExogenousConversions.tpp:29:7), const BipedalLocomotion::TextLoggingEntry &>' requested here
2022-11-24T12:46:00.8012450Z     visit_struct::for_each(input,
2022-11-24T12:46:00.8108890Z                   ^
2022-11-24T12:46:00.8141770Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferManager.h:199:58: note: in instantiation of function template specialization 'matioCpp::make_variable<BipedalLocomotion::TextLoggingEntry, void>' requested here
2022-11-24T12:46:00.8231080Z                     matioCpp::Struct element = matioCpp::make_variable("element", std::any_cast<T>(_cell.m_datum));
2022-11-24T12:46:00.8333640Z                                                          ^
2022-11-24T12:46:00.8368060Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferManager.h:450:30: note: in instantiation of function template specialization 'robometry::BufferInfo::createMatioCppConvertFunction<BipedalLocomotion::TextLoggingEntry>' requested here
2022-11-24T12:46:00.8463480Z         bufferInfo->template createMatioCppConvertFunction<T>();
2022-11-24T12:46:00.8558430Z                              ^
2022-11-24T12:46:00.8599470Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:896:33: note: in instantiation of function template specialization 'robometry::BufferManager::push_back<BipedalLocomotion::TextLoggingEntry>' requested here
2022-11-24T12:46:00.8683260Z                 m_bufferManager.push_back(msg, time, signalFullName);
2022-11-24T12:46:00.8784720Z                                 ^
2022-11-24T12:46:00.8811070Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:24:
2022-11-24T12:46:00.8902040Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/include/BipedalLocomotion/YarpRobotLoggerDevice.h:26:
2022-11-24T12:46:00.8968190Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferManager.h:18:
2022-11-24T12:46:00.9042570Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/matioCpp.h:18:
2022-11-24T12:46:00.9095370Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/ExogenousConversions.h:12:
2022-11-24T12:46:00.9200850Z In file included from /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/Element.h:144:
2022-11-24T12:46:00.9311560Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/Element.tpp:80:47: error: no member named 'valueType' in 'matioCpp::get_type<long>'
2022-11-24T12:46:00.9323130Z                        matioCpp::get_type<T>::valueType(), emptyDimensions,
2022-11-24T12:46:00.9422080Z                                               ^
2022-11-24T12:46:00.9510030Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/ExogenousConversions.tpp:20:12: note: in instantiation of member function 'matioCpp::Element<long>::Element' requested here
2022-11-24T12:46:00.9542290Z     return matioCpp::Element<type>(name, input);
2022-11-24T12:46:00.9643010Z            ^
2022-11-24T12:46:00.9720350Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/matioCpp/impl/ExogenousConversions.tpp:31:40: note: in instantiation of function template specialization 'matioCpp::make_variable<long, void>' requested here
2022-11-24T12:46:00.9771580Z         bool ok = matioStruct.setField(make_variable(name, value));
2022-11-24T12:46:00.9873530Z                                        ^
2022-11-24T12:46:00.9933260Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferManager.h:199:58: note: in instantiation of function template specialization 'matioCpp::make_variable<BipedalLocomotion::TextLoggingEntry, void>' requested here
2022-11-24T12:46:01.0037470Z                     matioCpp::Struct element = matioCpp::make_variable("element", std::any_cast<T>(_cell.m_datum));
2022-11-24T12:46:01.0066800Z                                                          ^
2022-11-24T12:46:01.0172900Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_/include/robometry/BufferManager.h:450:30: note: in instantiation of function template specialization 'robometry::BufferInfo::createMatioCppConvertFunction<BipedalLocomotion::TextLoggingEntry>' requested here
2022-11-24T12:46:01.0277280Z         bufferInfo->template createMatioCppConvertFunction<T>();
2022-11-24T12:46:01.0309230Z                              ^
2022-11-24T12:46:01.0499230Z /Users/runner/miniforge3/conda-bld/bipedal-locomotion-framework_1669292814856/work/devices/YarpRobotLoggerDevice/src/YarpRobotLoggerDevice.cpp:896:33: note: in instantiation of function template specialization 'robometry::BufferManager::push_back<BipedalLocomotion::TextLoggingEntry>' requested here
2022-11-24T12:46:01.0602210Z                 m_bufferManager.push_back(msg, time, signalFullName);
2022-11-24T12:46:01.0704320Z                                 ^
2022-11-24T12:46:01.0806390Z 4 errors generated.

It seems something related to matioCpp.

@traversaro
Copy link
Contributor Author

Indeed, we have the same error on Windows and macOS in the superbuild, see first part of robotology/robotology-superbuild#1307 .

@traversaro
Copy link
Contributor Author

Superseded by #10 .

@traversaro traversaro closed this Dec 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Enable the compilation of the YarpRobotLogger device
2 participants