******************************************************************************** conan test conan-center-index\recipes\rtmidi\all\test_package\conanfile.py rtmidi/4.0.0@ --profile=C:\J\w\BuildSingleReference@6/23798/62d66592-7cce-4dce-904e-25dd84f9d7a1/profile.txt ******************************************************************************** Configuration: [settings] arch=x86_64 arch_build=x86_64 build_type=Release compiler=Visual Studio compiler.runtime=MT compiler.version=15 os=Windows os_build=Windows [options] rtmidi:shared=False [build_requires] [env] rtmidi/4.0.0 (test package): Installing package Requirements rtmidi/4.0.0 from local cache - Cache Packages rtmidi/4.0.0:7bd6f2c3d5c4e48a75805376b58cde753392f711 - Cache Installing (downloading, building) binaries... rtmidi/4.0.0: Already installed! [HOOK - conan-center.py] post_package_info(): [CMAKE FILE NOT IN BUILD FOLDERS (KB-H019)] OK [HOOK - conan-center.py] post_package_info(): [LIBRARY DOES NOT EXIST (KB-H054)] OK rtmidi/4.0.0 (test package): Generator txt created conanbuildinfo.txt rtmidi/4.0.0 (test package): Generator cmake created conanbuildinfo.cmake rtmidi/4.0.0 (test package): Generated conaninfo.txt rtmidi/4.0.0 (test package): Generated graphinfo Using lockfile: 'C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123/conan.lock' Using cached profile from lockfile [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] 'fPIC' option not found [HOOK - conan-center.py] pre_build(): [FPIC MANAGEMENT (KB-H007)] OK rtmidi/4.0.0 (test package): Calling build() ----Running------ > cd C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123 && cmake -G "Visual Studio 15 2017 Win64" -DCONAN_LINK_RUNTIME="/MT" -DCONAN_IN_LOCAL_CACHE="OFF" -DCONAN_COMPILER="Visual Studio" -DCONAN_COMPILER_VERSION="15" -DCONAN_CXX_FLAGS="/MP16" -DCONAN_C_FLAGS="/MP16" -DCMAKE_INSTALL_PREFIX="C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\package" -DCMAKE_INSTALL_BINDIR="bin" -DCMAKE_INSTALL_SBINDIR="bin" -DCMAKE_INSTALL_LIBEXECDIR="bin" -DCMAKE_INSTALL_LIBDIR="lib" -DCMAKE_INSTALL_INCLUDEDIR="include" -DCMAKE_INSTALL_OLDINCLUDEDIR="include" -DCMAKE_INSTALL_DATAROOTDIR="share" -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY="ON" -DCONAN_EXPORTED="1" -Wno-dev C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package ----------------- -- The C compiler identification is MSVC 19.16.27035.0 -- The CXX compiler identification is MSVC 19.16.27035.0 -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working C compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Detecting C compile features -- Detecting C compile features - done -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio/2017/Community/VC/Tools/MSVC/14.16.27023/bin/Hostx86/x64/cl.exe -- works -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Detecting CXX compile features -- Detecting CXX compile features - done -- Conan: called by CMake conan helper -- Conan: Adjusting output directories -- Conan: Using cmake global configuration -- Conan: Adjusting default RPATHs Conan policies -- Conan: Adjusting language standard -- Configuring done -- Generating done -- Build files have been written to: C:/J/w/BuildSingleReference@6/conan-center-index/recipes/rtmidi/all/test_package/build/200646953a07c19b96ec101da2c7bf911aaf8123 ----Running------ > cmake --build C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123 --config Release -- /m:16 /verbosity:minimal ----------------- Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework Copyright (C) Microsoft Corporation. All rights reserved. Checking Build System Building Custom Rule C:/J/w/BuildSingleReference@6/conan-center-index/recipes/rtmidi/all/test_package/CMakeLists.txt test_package.cpp rtmidi.lib(RtMidi.obj) : error LNK2038: mismatch detected for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 'MT_StaticRelease' in test_package.obj [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: __cdecl std::basic_streambuf >::basic_streambuf >(void)" (??0?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_streambuf >::~basic_streambuf >(void)" (??1?$basic_streambuf@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: int __cdecl std::basic_streambuf >::sputc(char)" (?sputc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@QEAAHD@Z) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: char * __cdecl std::basic_streambuf >::_Pninc(void)" (?_Pninc@?$basic_streambuf@DU?$char_traits@D@std@@@std@@IEAAPEADXZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_ios >::~basic_ios >(void)" (??1?$basic_ios@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: void __cdecl std::basic_ios >::setstate(int,bool)" (?setstate@?$basic_ios@DU?$char_traits@D@std@@@std@@QEAAXH_N@Z) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: char __cdecl std::basic_ios >::widen(char)const " (?widen@?$basic_ios@DU?$char_traits@D@std@@@std@@QEBADD@Z) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "protected: __cdecl std::basic_ios >::basic_ios >(void)" (??0?$basic_ios@DU?$char_traits@D@std@@@std@@IEAA@XZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: virtual __cdecl std::basic_ostream >::~basic_ostream >(void)" (??1?$basic_ostream@DU?$char_traits@D@std@@@std@@UEAA@XZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: void __cdecl std::basic_ostream >::_Osfx(void)" (?_Osfx@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAXXZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] msvcprt.lib(MSVCP140.dll) : error LNK2005: "public: class std::basic_ostream > & __cdecl std::basic_ostream >::flush(void)" (?flush@?$basic_ostream@DU?$char_traits@D@std@@@std@@QEAAAEAV12@XZ) already defined in libcpmt.lib(special_math.obj) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] Creating library C:/J/w/BuildSingleReference@6/conan-center-index/recipes/rtmidi/all/test_package/build/200646953a07c19b96ec101da2c7bf911aaf8123/lib/test_package.lib and object C:/J/w/BuildSingleReference@6/conan-center-index/recipes/rtmidi/all/test_package/build/200646953a07c19b96ec101da2c7bf911aaf8123/lib/test_package.exp LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] rtmidi.lib(RtMidi.obj) : warning LNK4217: locally defined symbol _invalid_parameter_noinfo_noreturn imported in function "private: void __cdecl std::vector >::_Assign_range(unsigned char *,unsigned char *,struct std::forward_iterator_tag)" (??$_Assign_range@PEAE@?$vector@EV?$allocator@E@std@@@std@@AEAAXPEAE0Uforward_iterator_tag@1@@Z) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] rtmidi.lib(RtMidi.obj) : warning LNK4217: locally defined symbol free imported in function "public: virtual void __cdecl MidiOutWinMM::sendMessage(unsigned char const *,unsigned __int64)" (?sendMessage@MidiOutWinMM@@UEAAXPEBE_K@Z) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] rtmidi.lib(RtMidi.obj) : warning LNK4217: locally defined symbol malloc imported in function "public: virtual void __cdecl MidiOutWinMM::sendMessage(unsigned char const *,unsigned __int64)" (?sendMessage@MidiOutWinMM@@UEAAXPEBE_K@Z) [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\bin\test_package.exe : fatal error LNK1169: one or more multiply defined symbols found [C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123\test_package.vcxproj] CMake Warning: Manually-specified variables were not used by the project: CMAKE_EXPORT_NO_PACKAGE_REGISTRY CMAKE_INSTALL_BINDIR CMAKE_INSTALL_DATAROOTDIR CMAKE_INSTALL_INCLUDEDIR CMAKE_INSTALL_LIBDIR CMAKE_INSTALL_LIBEXECDIR CMAKE_INSTALL_OLDINCLUDEDIR CMAKE_INSTALL_SBINDIR ERROR: rtmidi/4.0.0 (test package): Error in build() method, line 12 cmake.build() ConanException: Error 1 while executing cmake --build C:\J\w\BuildSingleReference@6\conan-center-index\recipes\rtmidi\all\test_package\build\200646953a07c19b96ec101da2c7bf911aaf8123 --config Release -- /m:16 /verbosity:minimal