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

Attempt to compile on RoboStack Noetic Desktop with msvc #15

Open
USeebi opened this issue Jan 15, 2025 · 2 comments
Open

Attempt to compile on RoboStack Noetic Desktop with msvc #15

USeebi opened this issue Jan 15, 2025 · 2 comments

Comments

@USeebi
Copy link

USeebi commented Jan 15, 2025

I made attempts to compile fmi_adapter on Windows for co-simulation without a VM and get stuck on the errors below. I used catkin_make with following patches,

$ diff FMIAdapter.cpp FMIAdapter.cpp~
28,31c28
< //#include <unistd.h>
< #include <stdio.h>
< #include <io.h>
< #define W_OK 2 // Test for write permission. /
---
> #include <unistd.h>
59,61c56,57
< //https://stackoverflow.com/questions/67452447/msvc-equivalent-to-attribute-unused-for-functions-arguments-and-local-va
< //bool variableFilterAll(__attribute__((unused)) fmi2_import_variable_t* variable) { return true; }
< bool variableFilterAll(__pragma(warning(suppress: 4505)) fmi2_import_variable_t* variable) { return true; }
---
>
> bool variableFilterAll(__attribute__((unused)) fmi2_import_variable_t* variable) { return true; }
129c125
<     tmpPath_ = mktemp(pathPattern);
---
>     tmpPath_ = mkdtemp(pathPattern);

$ diff FMIAdapter.h FMIAdapter.h~
118,120c118
<   //__attribute__((deprecated)) void calcUntil(ros::Time simulationTime) { doStepsUntil(simulationTime); }
< //https://stackoverflow.com/questions/28411283/dealing-with-attribute-in-msvc
<   __declspec(deprecated) void calcUntil(ros::Time simulationTime) { doStepsUntil(simulationTime); }
---
>   __attribute__((deprecated)) void calcUntil(ros::Time simulationTime) { doStepsUntil(simulationTime); }

$ diff CMakeLists.txt CMakeLists.txt~
17,18c17
< #add_compile_options(-std=c++11 -Wall -Wextra)
< add_compile_options(-std:c++latest -Wall)
---
> add_compile_options(-std=c++11 -Wall -Wextra)
143,157c142,148
< if(NOT MSVC)
<   set_source_files_properties(
<     include/${PROJECT_NAME}/FMIAdapter.h
<     src/${PROJECT_NAME}/FMIAdapter.cpp
<     src/${PROJECT_NAME}_node.cpp
<     PROPERTIES COMPILE_FLAGS "-Wpedantic -Weffc++ -Werror"
<   )
< else()
<   set_source_files_properties(
<     include/${PROJECT_NAME}/FMIAdapter.h
<     src/${PROJECT_NAME}/FMIAdapter.cpp
<     src/${PROJECT_NAME}_node.cpp
<     PROPERTIES COMPILE_FLAGS "/EHsc"
<   )
< endif()
---
> set_source_files_properties(
>   include/${PROJECT_NAME}/FMIAdapter.h
>   src/${PROJECT_NAME}/FMIAdapter.cpp
>   src/${PROJECT_NAME}_node.cpp
>   PROPERTIES COMPILE_FLAGS "-Wpedantic -Weffc++ -Werror"
> )
>

I'm not sure if it worth the efforts to continue but what would be the possible causes of the NMAKE : fatal error U1077:? Any hints?

...
[ 40%] Building CXX object fmi_adapter/CMakeFiles/fmi_adapter.dir/src/fmi_adapter/FMIAdapter.cpp.obj
FMIAdapter.cpp
K:\Miniconda3\envs\ros_noetic\Library\include\boost/bind.hpp(41): note: The practice of declaring the Bind placeholders (_1, _2, ...) in the global namespace is deprecated. Please use <boost/bind/bind.hpp> + using namespace boost::placeholders, or define BOOST_BIND_GLOBAL_PLACEHOLDERS to retain the current behavior.
K:\Miniconda3\modelica_ws\src\fmi_adapter\include\fmi_adapter/FMIAdapter.h(158): warning C4820: 'fmi_adapter::FMIAdapter': '7' bytes padding added after data member 'fmi_adapter::FMIAdapter::interpolateInput_'
K:\Miniconda3\modelica_ws\src\fmi_adapter\include\fmi_adapter/FMIAdapter.h(166): warning C4820: 'fmi_adapter::FMIAdapter': '2' bytes padding added after data member 'fmi_adapter::FMIAdapter::inInitializationMode_'
K:\Miniconda3\modelica_ws\src\fmi_adapter\include\fmi_adapter/FMIAdapter.h(169): warning C4820: 'fmi_adapter::FMIAdapter': '4' bytes padding added after data member 'fmi_adapter::FMIAdapter::fmuTimeOffset_'
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(61): warning C4100: 'variable': unreferenced formal parameter
K:\Miniconda3\modelica_ws\src\fmi_adapter\include\fmi_adapter/FMIAdapter.h(95): warning C4514: 'fmi_adapter::FMIAdapter::getStepSize': unreferenced inline function has been removed
K:\Miniconda3\modelica_ws\src\fmi_adapter\include\fmi_adapter/FMIAdapter.h(99): warning C4514: 'fmi_adapter::FMIAdapter::isInInitializationMode': unreferenced inline function has been removed
K:\Miniconda3\modelica_ws\src\fmi_adapter\include\fmi_adapter/FMIAdapter.h(120): warning C4514: 'fmi_adapter::FMIAdapter::calcUntil': unreferenced inline function has been removed
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(692) : warning C4710: 'void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Init(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(732) : warning C4710: 'int __cdecl std::codecvt<char,char,struct _Mbstatet>::unshift(struct _Mbstatet & __ptr64,char * __ptr64,char * __ptr64,char * __ptr64 & __ptr64)const __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(158) : warning C4710: '__cdecl std::basic_streambuf<char,struct std::char_traits<char> >::basic_streambuf<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(2292) : warning C4710: 'static void __cdecl std::_String_val<struct std::_Simple_types<char> >::_Xran(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(756) : warning C4710: 'bool __cdecl std::codecvt_base::always_noconv(void)const __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(755) : warning C4710: 'void __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Init(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\typeinfo(63) : warning C4710: '__cdecl std::bad_cast::bad_cast(void) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(402) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(599) : warning C4710: 'virtual __int64 __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::xsputn(char const * __ptr64,__int64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(555) : warning C4710: 'virtual __int64 __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::xsgetn(char * __ptr64,__int64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(376) : warning C4710: 'bool __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::_Endwrite(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(143) : warning C4710: 'class std::_Tree_unchecked_const_iterator<class std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >,struct std::_Iterator_base0> & __ptr64 __cdecl std::_Tree_unchecked_const_iterator<class std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >,struct std::_Iterator_base0>::operator++(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(592) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Rrotate(struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(599) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Lrotate(struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(621) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Lrotate(struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(628) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Rrotate(struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\exception(316) : warning C4710: '__cdecl std::bad_array_new_length::bad_array_new_length(void) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(430) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(429) : warning C4710: 'int __cdecl std::codecvt<char,char,struct _Mbstatet>::out(struct _Mbstatet & __ptr64,char const * __ptr64,char const * __ptr64,char const * __ptr64 & __ptr64,char * __ptr64,char * __ptr64,char * __ptr64 & __ptr64)const __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(404) : warning C4710: 'char * __ptr64 __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::_Pninc(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(638) : warning C4710: 'bool __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::_Endwrite(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(642) : warning C4710: 'void __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::_Reset_back(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(651) : warning C4710: 'bool __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::_Endwrite(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(1616) : warning C4710: 'void __cdecl std::_Throw_tree_length_error(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(1616) : warning C4710: 'void __cdecl std::_Throw_tree_length_error(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(975) : warning C4710: 'void __cdecl std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(174) : warning C4710: 'virtual __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::~basic_streambuf<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(974) : warning C4710: 'class std::basic_filebuf<char,struct std::char_traits<char> > * __ptr64 __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::close(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(172) : warning C4710: 'class std::basic_filebuf<char,struct std::char_traits<char> > * __ptr64 __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::close(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xlocale(426) : warning C4710: '__cdecl std::locale::id::operator unsigned __int64(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xlocale(432) : warning C4710: 'static unsigned __int64 __cdecl std::codecvt<char,char,struct _Mbstatet>::_Getcat(class std::locale::facet const * __ptr64 * __ptr64,class std::locale const * __ptr64)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xlocale(434) : warning C4710: 'void __cdecl std::_Throw_bad_cast(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(131) : warning C4710: 'void __cdecl std::_Throw_bad_array_new_length(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(61) : warning C4710: 'void __cdecl std::_Throw_bad_array_new_length(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(61) : warning C4710: 'void __cdecl std::_Throw_bad_array_new_length(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(61) : warning C4710: 'void __cdecl std::_Throw_bad_array_new_length(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(61) : warning C4710: 'void __cdecl std::_Throw_bad_array_new_length(void)': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(444) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(942) : warning C4710: 'virtual __cdecl std::basic_istream<char,struct std::char_traits<char> >::~basic_istream<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp : warning C4710: 'virtual __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::~basic_filebuf<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(942) : warning C4710: 'virtual __cdecl std::basic_filebuf<char,struct std::char_traits<char> >::~basic_filebuf<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(283) : warning C4710: 'class std::locale __cdecl std::basic_streambuf<char,struct std::char_traits<char> >::getloc(void)const __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(942) : warning C4710: 'virtual __cdecl std::basic_ios<char,struct std::char_traits<char> >::~basic_ios<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(744) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Erase_tree<class std::allocator<struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> > >(class std::allocator<struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> > & __ptr64,struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(1284) : warning C4710: 'struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64 __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Extract(class std::_Tree_unchecked_const_iterator<class std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >,struct std::_Iterator_base0>) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(806) : warning C4710: '__cdecl std::basic_ios<char,struct std::char_traits<char> >::basic_ios<char,struct std::char_traits<char> >(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(806) : warning C4710: '__cdecl std::basic_istream<char,struct std::char_traits<char> >::basic_istream<char,struct std::char_traits<char> >(class std::basic_streambuf<char,struct std::char_traits<char> > * __ptr64,bool) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(809) : warning C4710: 'void __cdecl std::basic_ios<char,struct std::char_traits<char> >::setstate(int,bool) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp : warning C4710: 'void __cdecl std::basic_ifstream<char,struct std::char_traits<char> >::`vbase destructor'(void) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4475) : warning C4710: 'void __cdecl std::_Xlen_string(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4510) : warning C4710: 'void __cdecl std::_Xlen_string(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4510) : warning C4710: 'void __cdecl std::_Xlen_string(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(765) : warning C4710: 'static void __cdecl std::vector<struct fmi2_xml_variable_t * __ptr64,class std::allocator<struct fmi2_xml_variable_t * __ptr64> >::_Xlength(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(787) : warning C4710: 'void __cdecl std::vector<struct fmi2_xml_variable_t * __ptr64,class std::allocator<struct fmi2_xml_variable_t * __ptr64> >::_Destroy(struct fmi2_xml_variable_t * __ptr64 * __ptr64,struct fmi2_xml_variable_t * __ptr64 * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(788) : warning C4710: 'void __cdecl std::allocator<struct fmi2_xml_variable_t * __ptr64>::deallocate(struct fmi2_xml_variable_t * __ptr64 * __ptr64 const,unsigned __int64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(50) : warning C4710: '__cdecl std::basic_ifstream<char,struct std::char_traits<char> >::basic_ifstream<char,struct std::char_traits<char> >(char const * __ptr64,int,int) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4669) : warning C4710: 'void __cdecl std::_Xlen_string(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(4672) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(struct std::_String_constructor_concat_tag,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64,char const * __ptr64 const,unsigned __int64,char const * __ptr64 const,unsigned __int64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(3129) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __ptr64 __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::_Reallocate_grow_by<class `class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __ptr64 __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(char const * __ptr64 const,unsigned __int64) __ptr64'::`2'::<lambda_1>,char const * __ptr64,unsigned __int64>(unsigned __int64,class `class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __ptr64 __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(char const * __ptr64 const,unsigned __int64) __ptr64'::`2'::<lambda_1>,char const * __ptr64,unsigned __int64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(734) : warning C4710: 'struct fmi2_xml_variable_t * __ptr64 * __ptr64 __cdecl std::vector<struct fmi2_xml_variable_t * __ptr64,class std::allocator<struct fmi2_xml_variable_t * __ptr64> >::_Emplace_reallocate<struct fmi2_xml_variable_t * __ptr64 const & __ptr64>(struct fmi2_xml_variable_t * __ptr64 * __ptr64 const,struct fmi2_xml_variable_t * __ptr64 const & __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(3141) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __ptr64 __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::append(char const * __ptr64 const,unsigned __int64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xutility(136) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\fstream(519) : warning C4710: 'int __cdecl std::codecvt<char,char,struct _Mbstatet>::in(struct _Mbstatet & __ptr64,char const * __ptr64,char const * __ptr64,char const * __ptr64 & __ptr64,char * __ptr64,char * __ptr64,char * __ptr64 & __ptr64)const __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xstring(3230) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > & __ptr64 __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::assign(char const * __ptr64 const,unsigned __int64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(1615) : warning C4710: 'void __cdecl std::_Destroy_range<class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > & __ptr64)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(1667) : warning C4710: 'void __cdecl std::_Destroy_range<class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > & __ptr64)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(1031) : warning C4710: 'struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64 __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Insert_node(struct std::_Tree_id<struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64>,struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64 const) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\map(188) : warning C4710: 'struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64 __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<class ros::Time const ,double> > >::_Insert_node(struct std::_Tree_id<struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64>,struct std::_Tree_node<struct std::pair<class ros::Time const ,double>,void * __ptr64> * __ptr64 const) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(225) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xmemory(674) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(235) : warning C4710: 'char & __ptr64 __cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::operator[](unsigned __int64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(453) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(467) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(744) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > > > >::_Erase_tree<class std::allocator<struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> > >(class std::allocator<struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> > & __ptr64,struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\map(188) : warning C4710: 'struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> * __ptr64 __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > > > >::_Insert_node(struct std::_Tree_id<struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> * __ptr64>,struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> * __ptr64 const) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\xtree(752) : warning C4710: 'void __cdecl std::_Tree_val<struct std::_Tree_simple_types<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > > > >::_Erase_tree<class std::allocator<struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> > >(class std::allocator<struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> > & __ptr64,struct std::_Tree_node<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > >,void * __ptr64> * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(1646) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 __cdecl std::_Uninitialized_move<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > & __ptr64)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(1651) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 __cdecl std::_Uninitialized_move<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > & __ptr64)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(765) : warning C4710: 'static void __cdecl std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::_Xlength(void)': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(787) : warning C4710: 'void __cdecl std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::_Destroy(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(788) : warning C4710: 'void __cdecl std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > >::deallocate(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,unsigned __int64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(122) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(125) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct std::char_traits<char>,class std::allocator<char> >(char const * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64)': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(125) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > && __ptr64,char const * __ptr64 const)': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(125) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(133) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct std::char_traits<char>,class std::allocator<char> >(char const * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64)': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(133) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > __cdecl std::operator+<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > && __ptr64,char const * __ptr64 const)': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(133) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(152) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(157) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(161) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(173) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(187) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(192) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(198) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(118) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(118) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\include\vector(734) : warning C4710: 'class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 __cdecl std::vector<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >,class std::allocator<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > > >::_Emplace_reallocate<class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64>(class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > * __ptr64 const,class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > const & __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(411) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(414) : warning C4710: 'class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > & __ptr64 __cdecl std::map<struct fmi2_xml_variable_t * __ptr64,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > >,struct std::less<struct fmi2_xml_variable_t * __ptr64>,class std::allocator<struct std::pair<struct fmi2_xml_variable_t * __ptr64 const,class std::map<class ros::Time,double,struct std::less<class ros::Time>,class std::allocator<struct std::pair<class ros::Time const ,double> > > > > >::operator[](struct fmi2_xml_variable_t * __ptr64 const & __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(301) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(306) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(375) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(421) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(425) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(327) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(338) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(341) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(383) : warning C4710: '__cdecl std::runtime_error::runtime_error(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(388) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(char const * __ptr64 const) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(388) : warning C4710: '__cdecl std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> >::~basic_string<char,struct std::char_traits<char>,class std::allocator<char> >(void) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(389) : warning C4710: '__cdecl std::invalid_argument::invalid_argument(char const * __ptr64) __ptr64': function not inlined
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(388) : warning C5045: Compiler will insert Spectre mitigation for memory load if /Qspectre switch specified
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(387) : note: index 'targetFMUTime' range checked by comparison on this line
K:\Miniconda3\modelica_ws\src\fmi_adapter\src\fmi_adapter\FMIAdapter.cpp(388) : note: feeds call on this line
NMAKE : fatal error U1073: don't know how to make 'fmi_adapter\FMILibraryProject-prefix\src\install\lib\libfmilib.a'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.29.30133\bin\HostX64\x64\nmake.exe"' : return code '0x2'
Stop.
Invoking "nmake" failed

@traversaro
Copy link

My guess it the error is probably due to fmilibrary_vendor not support Windows and hardcoding linux library names in https://github.com/boschresearch/fmilibrary_vendor/blob/rolling/CMakeLists.txt#L25 . If you are using conda-forge/robostack to get your dependencies, you can probably patch it to use the fmilib library from conda-forge (see https://github.com/conda-forge/fmilib-feedstock and https://conda-metadata-app.streamlit.app/?q=conda-forge%2Fwin-64%2Ffmilib-2.4.1-he0c23c2_1.conda) instead of manually building a fmilibrary from source with ExternalProject https://github.com/boschresearch/fmilibrary_vendor/blob/rolling/CMakeLists.txt#L25 . Otherwise you can look into fixing fmilibrary_vendor to work on Windows.

@USeebi
Copy link
Author

USeebi commented Jan 16, 2025

Thanks very much for the reply but I'm confused as the hardcoding linux library name libfmilib_shared.so, referenced is from a ROS2 cmake while I'm working on ROS1 cmake https://github.com/boschresearch/fmi_adapter/blob/melodic_and_noetic/fmi_adapter/CMakeLists.txt which build fmilib directly not via fmilibrary_vendor.

I looked into the suggested option to install fmilib-feedstock from conda-forge and compared with my cmake build install as depicted below, am I still have to fix the same problem from https://github.com/boschresearch/fmi_adapter/blob/melodic_and_noetic/fmi_adapter/CMakeLists.txt#L138 ?

Image

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

No branches or pull requests

2 participants