You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since I am new to webui I decide to start with the examples in ./webui/examples/C++. I started with minimal and got various issues:
Lack of return statement in wrapper functions: bool webui::window::event::show_client and std::string_view webui::window::start_server;
undefined reference to __imp_CoTaskMemFree' in linker. (L:/Code/webui/examples/C++/serve_a_folder//../../..//dist\libwebui-2-static.a(webui.o):webui.c:(.text+0x5ac): undefined reference to __imp_CoTaskMemFree')
Adding a return statement to the prior two functions (clearly) will resolve the warning, but I am not familiar with the latter. There is a call to CoTaskMemFree in webui.c though.
I am using a Windows 11 platform combined with mingw32-make with gcc 14.2.0. I used the official makefiles that came with the source code.
Compiling the C examples worked fine. What might I do so find and solve my problem?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
Since I am new to webui I decide to start with the examples in ./webui/examples/C++. I started with minimal and got various issues:
bool webui::window::event::show_client
andstd::string_view webui::window::start_server
;__imp_CoTaskMemFree'
in linker. (L:/Code/webui/examples/C++/serve_a_folder//../../..//dist\libwebui-2-static.a(webui.o):webui.c:(.text+0x5ac): undefined reference to __imp_CoTaskMemFree'
)Adding a return statement to the prior two functions (clearly) will resolve the warning, but I am not familiar with the latter. There is a call to CoTaskMemFree in webui.c though.
I am using a Windows 11 platform combined with mingw32-make with gcc 14.2.0. I used the official makefiles that came with the source code.
Compiling the C examples worked fine. What might I do so find and solve my problem?
Beta Was this translation helpful? Give feedback.
All reactions