Skip to content

[windows] Debug assertion failed! #269

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

Closed
ghost opened this issue Feb 5, 2019 · 3 comments · Fixed by #270
Closed

[windows] Debug assertion failed! #269

ghost opened this issue Feb 5, 2019 · 3 comments · Fixed by #270
Assignees

Comments

@ghost
Copy link

ghost commented Feb 5, 2019

Windows 8.1 and 10 SDK, 2015 and 2017 runtime installed.
image

'GLFW Example.exe' (Win32): Loaded 'C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\example\windows_fde\bin\x64\Debug Dynamic Library\GLFW Example\GLFW Example.exe'. Symbols loaded.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\ntdll.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\kernel32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\KernelBase.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\example\windows_fde\bin\x64\Debug Dynamic Library\GLFW Example\flutter_embedder.dll'. Symbols loaded.
'GLFW Example.exe' (Win32): Loaded 'C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\example\windows_fde\bin\x64\Debug Dynamic Library\GLFW Example\flutter_engine.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\advapi32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\msvcrt.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\sechost.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\rpcrt4.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\IPHLPAPI.DLL'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\nsi.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\winnsi.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\psapi.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\user32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\gdi32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\lpk.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\usp10.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\ws2_32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\opengl32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\glu32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\ddraw.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\dciman32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\setupapi.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\cfgmgr32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\oleaut32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\ole32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\devobj.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\dwmapi.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\shell32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\shlwapi.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\msvcp140d.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\vcruntime140d.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\ucrtbased.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-localization-l1-2-0.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-processthreads-l1-1-1.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-file-l1-2-0.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-timezone-l1-1-0.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-file-l2-1-0.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\api-ms-win-core-synch-l1-2-0.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\imm32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\msctf.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\uxtheme.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\winmm.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\dinput8.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\xinput1_3.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\hid.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\wintrust.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\crypt32.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\msasn1.dll'. Cannot find or open the PDB file.
Debug Assertion Failed!

Program: ...n\x64\Debug Dynamic Library\GLFW Example\flutter_embedder.dll
File: c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\vector
Line: 1733

Expression: vector subscript out of range

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts.

(Press Retry to debug the application)
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\System32\cryptbase.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Program Files (x86)\Lenovo\Energy Management\BatteryTestDLL.dll'. Cannot find or open the PDB file.
'GLFW Example.exe' (Win32): Loaded 'C:\Windows\winsxs\amd64_microsoft.vc80.crt_1fc8b3b9a1e18e3b_8.0.50727.4940_none_88df89932faf0bf6\msvcr80.dll'. Cannot find or open the PDB file.
GLFW Example.exe has triggered a breakpoint.

The program '[1620] GLFW Example.exe' has exited with code 0 (0x0).

@stuartmorgan-g stuartmorgan-g self-assigned this Feb 5, 2019
@stuartmorgan-g
Copy link
Collaborator

Thanks for the report. There's a bug in #267 that is probably causing this; fix coming shortly.

stuartmorgan-g added a commit to stuartmorgan-g/flutter-desktop-embedding that referenced this issue Feb 5, 2019
stuartmorgan-g pushed a commit that referenced this issue Feb 5, 2019
@stuartmorgan-g
Copy link
Collaborator

Should be fixed (unless there is another array-out-of-bounds somewhere else that is actually what you were seeing!) If it's not gone for you after updating, please let me know and I'll re-open.

@ghost
Copy link
Author

ghost commented Feb 5, 2019

Thanks. Started. Without plugins, simple example.
image

Building logs
1>------ Rebuild All started: Project: GLFW Library, Configuration: Debug Dynamic Library x64 ------
1>Get the flutter engine, engine artifacts, GLFW and jsoncpp
1>Running git merge-base --is-ancestor 390ded9340e529b8475fefd1afdbe59c5b8d4081 HEAD
1>flutter_engine.dll version 93aa035dd46999353d8f7fe4be61e6599c794b4b already present.
1>0 File(s) copied
1>GLFW files already exist.
1>C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\library\windows\scripts......\third_party\jsoncpp\src already exists; skipping clone
1>Running git checkout 21a418563406acb42484eff33da0a354a671effc
1>M makefiles/msvc2017/jsontest.vcxproj
1>M makefiles/msvc2017/lib_json.vcxproj
1>M makefiles/msvc2017/test_lib_json.vcxproj
1>HEAD is now at 21a4185 STYLE: Avoid unnecessary conversions from size_t to unsigned int
1>Running vcvars64.bat 1> nul && msbuild lib_json.vcxproj /p:Platform=x64
1>Microsoft (R) Build Engine version 15.9.21+g9802d43bc3 for .NET Framework
1>Copyright (C) Microsoft Corporation. All rights reserved.
1>
1>Build started 2/5/2019 11:30:12 PM.
1>Project "C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj" on node 1 (default targets).
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug) contains files shared from another project (jsontest.vcxproj, test_lib_json.vcxproj). This can lead to incorrect clean and rebuild behavior. [C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj]
1>InitializeBuildStatus:
1> Creating "x64\Debug\lib_json.tlog\unsuccessfulbuild" because "AlwaysCreate" was specified.
1>ClCompile:
1> All outputs are up-to-date.
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(1397,5): warning MSB8012: TargetPath(C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\x64\Debug\lib_json.lib) does not match the Library's OutputFile property value (C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\x64\Debug\json_vc71_libmtd.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj]
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(1399,5): warning MSB8012: TargetName(lib_json) does not match the Library's OutputFile property value (json_vc71_libmtd). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj]
1>Lib:
1> All outputs are up-to-date.
1> lib_json.vcxproj -> C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\x64\Debug\lib_json.lib
1>FinalizeBuildStatus:
1> Deleting file "x64\Debug\lib_json.tlog\unsuccessfulbuild".
1> Touching "x64\Debug\lib_json.tlog\lib_json.lastbuildstate".
1>Done Building Project "C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj" (default targets).
1>
1>Build succeeded.
1>
1>"C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj" (default target) (1) ->
1>(PrepareForBuild target) ->
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(391,5): warning MSB8028: The intermediate directory (x64\Debug) contains files shared from another project (jsontest.vcxproj, test_lib_json.vcxproj). This can lead to incorrect clean and rebuild behavior. [C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj]
1>
1>
1>"C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj" (default target) (1) ->
1>(DoLibOutputFilesMatch target) ->
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(1397,5): warning MSB8012: TargetPath(C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\x64\Debug\lib_json.lib) does not match the Library's OutputFile property value (C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\x64\Debug\json_vc71_libmtd.lib). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj]
1>
1>
1>"C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj" (default target) (1) ->
1>C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE\VC\VCTargets\Microsoft.CppBuild.targets(1399,5): warning MSB8012: TargetName(lib_json) does not match the Library's OutputFile property value (json_vc71_libmtd). This may cause your project to build incorrectly. To correct this, please make sure that $(OutDir), $(TargetName) and $(TargetExt) property values match the value specified in %(Lib.OutputFile). [C:\Users\ykmnkmi\Desktop\flutter-desktop-embedding\third_party\jsoncpp\src\makefiles\msvc2017\lib_json.vcxproj]
1>
1> 3 Warning(s)
1> 0 Error(s)
1>
1>Time Elapsed 00:00:01.07
1>engine_method_result.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCall::method_name_': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(48): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCall' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCall::arguments_': class 'std::unique_ptr<_Ty,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\memory(2537): note: see declaration of 'std::unique_ptr<Ty,std::default_delete<Ty>>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(47): warning C4251: 'flutter_desktop_embedding::internal::ReplyManager::reply_handler
': class 'std::function<void (const uint8_t *,size_t)>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::internal::ReplyManager'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\binary_messenger.h(29): note: see declaration of 'std::function<void (const uint8_t *,size_t)>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): warning C4251: 'flutter_desktop_embedding::EngineMethodResult::reply_manager
': class 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::EngineMethodResult'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<Ty>>'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(87): note: see reference to class template instantiation 'flutter_desktop_embedding::EngineMethodResult' being compiled
1>embedder.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\basic_message_channel.h(100): warning C4251: 'flutter_desktop_embedding::BasicMessageChannel::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::BasicMessageChannel'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\basic_message_channel.h(102): note: see reference to class template instantiation 'flutter_desktop_embedding::BasicMessageChannel' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCall::method_name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(48): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCall' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCall::arguments
': class 'std::unique_ptr<_Ty,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\memory(2537): note: see declaration of 'std::unique_ptr<Ty,std::default_delete<Ty>>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(47): warning C4251: 'flutter_desktop_embedding::internal::ReplyManager::reply_handler
': class 'std::function<void (const uint8_t *,size_t)>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::internal::ReplyManager'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\binary_messenger.h(29): note: see declaration of 'std::function<void (const uint8_t *,size_t)>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): warning C4251: 'flutter_desktop_embedding::EngineMethodResult::reply_manager
': class 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::EngineMethodResult'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<Ty>>'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(87): note: see reference to class template instantiation 'flutter_desktop_embedding::EngineMethodResult' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(93): warning C4251: 'flutter_desktop_embedding::MethodChannel::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodChannel'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(95): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodChannel' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\embedder.cc(264): warning C4305: 'argument': truncation from 'double' to 'GLclampf'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\embedder.cc(312): warning C4267: '=': conversion from 'size_t' to 'int', possible loss of data
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\embedder.cc(342): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
1>flutter_window_controller.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\glfw\flutter_window_controller.h(80): warning C4251: 'flutter_desktop_embedding::FlutterWindowController::icu_data_path
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::FlutterWindowController'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\glfw\flutter_window_controller.h(89): warning C4251: 'flutter_desktop_embedding::FlutterWindowController::plugin_handler
': class 'std::unique_ptr<flutter_desktop_embedding::PluginHandler,std::default_delete<Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::FlutterWindowController'
1> with
1> [
1> Ty=flutter_desktop_embedding::PluginHandler
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\glfw\flutter_window_controller.h(89): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::PluginHandler,std::default_delete<Ty>>'
1> with
1> [
1> Ty=flutter_desktop_embedding::PluginHandler
1> ]
1>key_event_handler.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\basic_message_channel.h(100): warning C4251: 'flutter_desktop_embedding::BasicMessageChannel::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::BasicMessageChannel'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\basic_message_channel.h(102): note: see reference to class template instantiation 'flutter_desktop_embedding::BasicMessageChannel' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\basic_message_channel.h(100): warning C4251: 'flutter_desktop_embedding::BasicMessageChannelJson::Value::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::BasicMessageChannelJson::Value'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\key_event_handler.cc(62): note: see reference to class template instantiation 'flutter_desktop_embedding::BasicMessageChannelJson::Value' being compiled
1>text_input_plugin.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCall::method_name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(48): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCall' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCall::arguments': class 'std::unique_ptr<_Ty,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\memory(2537): note: see declaration of 'std::unique_ptr<Ty,std::default_delete<Ty>>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(47): warning C4251: 'flutter_desktop_embedding::internal::ReplyManager::reply_handler
': class 'std::function<void (const uint8_t *,size_t)>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::internal::ReplyManager'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\binary_messenger.h(29): note: see declaration of 'std::function<void (const uint8_t *,size_t)>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): warning C4251: 'flutter_desktop_embedding::EngineMethodResult::reply_manager
': class 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::EngineMethodResult'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<Ty>>'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(87): note: see reference to class template instantiation 'flutter_desktop_embedding::EngineMethodResult' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(93): warning C4251: 'flutter_desktop_embedding::MethodChannel::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodChannel'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(95): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodChannel' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(93): warning C4251: 'flutter_desktop_embedding::MethodChannelJson::Value::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodChannelJson::Value'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\text_input_plugin.cc(106): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodChannelJson::Value' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCallJson::Value::method_name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCallJson::Value'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\text_input_plugin.cc(118): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCallJson::Value' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCallJson::Value::arguments': class 'std::unique_ptr<T,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCallJson::Value'
1> with
1> [
1> T=Json::Value,
1> _Ty=Json::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(56): note: see declaration of 'std::unique_ptr<T,std::default_delete<_Ty>>'
1> with
1> [
1> T=Json::Value,
1> Ty=Json::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): warning C4251: 'flutter_desktop_embedding::EngineMethodResult::reply_manager
': class 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::EngineMethodResult'
1> with
1> [
1> T=Json::Value
1> ]
1> and
1> [
1> _Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1> and
1> [
1> T=Json::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<_Ty>>'
1> with
1> [
1> _Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(83): note: see reference to class template instantiation 'flutter_desktop_embedding::EngineMethodResult' being compiled
1> with
1> [
1> T=Json::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(68): note: while compiling class template member function 'void flutter_desktop_embedding::MethodChannelJson::Value::SetMethodCallHandler(std::function<void (const flutter_desktop_embedding::MethodCallJson::Value &,std::unique_ptr<flutter_desktop_embedding::MethodResultJson::Value,std::default_delete<_Ty>>)>) const'
1> with
1> [
1> _Ty=flutter_desktop_embedding::MethodResultJson::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\text_input_plugin.cc(106): note: see reference to function template instantiation 'void flutter_desktop_embedding::MethodChannelJson::Value::SetMethodCallHandler(std::function<void (const flutter_desktop_embedding::MethodCallJson::Value &,std::unique_ptr<flutter_desktop_embedding::MethodResultJson::Value,std::default_delete<Ty>>)>) const' being compiled
1> with
1> [
1> Ty=flutter_desktop_embedding::MethodResultJson::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\glfw\text_input_plugin.cc(106): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodChannelJson::Value' being compiled
1>incoming_message_dispatcher.cc
1>plugin_handler.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCall::method_name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(48): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCall' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCall::arguments
': class 'std::unique_ptr<_Ty,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\memory(2537): note: see declaration of 'std::unique_ptr<Ty,std::default_delete<Ty>>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(47): warning C4251: 'flutter_desktop_embedding::internal::ReplyManager::reply_handler
': class 'std::function<void (const uint8_t *,size_t)>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::internal::ReplyManager'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\binary_messenger.h(29): note: see declaration of 'std::function<void (const uint8_t *,size_t)>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): warning C4251: 'flutter_desktop_embedding::EngineMethodResult::reply_manager
': class 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::EngineMethodResult'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(84): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::internal::ReplyManager,std::default_delete<Ty>>'
1> with
1> [
1> Ty=flutter_desktop_embedding::internal::ReplyManager
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\engine_method_result.h(87): note: see reference to class template instantiation 'flutter_desktop_embedding::EngineMethodResult' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(93): warning C4251: 'flutter_desktop_embedding::MethodChannel::name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodChannel'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_channel.h(95): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodChannel' being compiled
1>text_input_model.cc
1>json_message_codec.cc
1>json_method_codec.cc
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCall::method_name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(48): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCall' being compiled
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCall::arguments
': class 'std::unique_ptr<_Ty,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\memory(2537): note: see declaration of 'std::unique_ptr<Ty,std::default_delete<Ty>>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(46): warning C4251: 'flutter_desktop_embedding::MethodCall::method_name
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1> with
1> [
1> T=Json::Value
1> ]
1>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\common\json_method_codec.cc(53): note: see reference to class template instantiation 'flutter_desktop_embedding::MethodCall' being compiled
1> with
1> [
1> T=Json::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\method_call.h(47): warning C4251: 'flutter_desktop_embedding::MethodCall::arguments
': class 'std::unique_ptr<T,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::MethodCall'
1> with
1> [
1> T=Json::Value
1> ]
1>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\message_codec.h(40): note: see declaration of 'std::unique_ptr<T,std::default_delete<Ty>>'
1> with
1> [
1> T=Json::Value,
1> Ty=Json::Value
1> ]
1>Generating Code...
1>Add flutter_engine.dll to the out dir
1>0 File(s) copied
1> Creating library C:\Users\ykmnkmi\Desktop\flutter_app\bin\x64\Debug Dynamic Library\GLFW Library\flutter_embedder.lib and object C:\Users\ykmnkmi\Desktop\flutter_app\bin\x64\Debug Dynamic Library\GLFW Library\flutter_embedder.exp
1>LINK : warning LNK4098: defaultlib 'MSVCRT' conflicts with use of other libs; use /NODEFAULTLIB:library
1>GLFW Library.vcxproj -> C:\Users\ykmnkmi\Desktop\flutter_app\bin\x64\Debug Dynamic Library\GLFW Library\flutter_embedder.dll
1>Done building project "GLFW Library.vcxproj".
2>------ Rebuild All started: Project: Flutter App, Configuration: Debug Dynamic Library x64 ------
2>Build the app
2>Running C:\Users\ykmnkmi\Desktop\flutter\bin\flutter.bat build bundle
2>flutter_app.cpp
2>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\glfw\flutter_window_controller.h(80): warning C4251: 'flutter_desktop_embedding::FlutterWindowController::icu_data_path
': class 'std::basic_string<char,std::char_traits,std::allocator>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::FlutterWindowController'
2>c:\program files (x86)\microsoft visual studio\2017\community\vc\tools\msvc\14.16.27023\include\xstring(4373): note: see declaration of 'std::basic_string<char,std::char_traits,std::allocator>'
2>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\glfw\flutter_window_controller.h(89): warning C4251: 'flutter_desktop_embedding::FlutterWindowController::plugin_handler
': class 'std::unique_ptr<flutter_desktop_embedding::PluginHandler,std::default_delete<_Ty>>' needs to have dll-interface to be used by clients of class 'flutter_desktop_embedding::FlutterWindowController'
2> with
2> [
2> _Ty=flutter_desktop_embedding::PluginHandler
2> ]
2>c:\users\ykmnkmi\desktop\flutter-desktop-embedding\library\include\flutter_desktop_embedding\glfw\flutter_window_controller.h(89): note: see declaration of 'std::unique_ptr<flutter_desktop_embedding::PluginHandler,std::default_delete<_Ty>>'
2> with
2> [
2> _Ty=flutter_desktop_embedding::PluginHandler
2> ]
2>Get the flutter_engine.dll file from GLFW Library bin folder
2>0 File(s) copied
2>Flutter App.vcxproj -> C:\Users\ykmnkmi\Desktop\flutter_app\bin\x64\Debug Dynamic Library\Flutter App\Flutter App.exe
2>Copy flutter_embedder.dll from library out to example out dir
2>1 File(s) copied
2>Done building project "Flutter App.vcxproj".
========== Rebuild All: 2 succeeded, 0 failed, 0 skipped ==========

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 10, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant