Hi all,
I'm trying to compile this (https://github.com/mohabouje/WinToast)
library under msys2. The problem is,
the library requires Windows Runtime Library
(https://msdn.microsoft.com/en-us/library/hh438466.aspx).
And maybe more parts of Visual C++ Redistributable libraries. However I
did not get that far in compilation
process. Just adding adding WRL to include path doesn't help.
Compilation fails on line 7:
#include <wrl/implements.h>
(link to file:
https://github.com/mohabouje/WinToast/blob/master/src/wintoastlib.h#L7 )
There is the error code from GCC:
C:\...\i686-w64-mingw32-gcc.exe -Wno-unused-result -Wsign-compare
-DNDEBUG -march=i686 -mtune=generic -O2 -pipe -fwrapv
-D__USE_MINGW_ANSI_STDIO=1 -DNDEBUG -march=i686 -mtune=generic -O2
-pipe
-fwrapv -D__USE_MINGW_ANSI_STDIO=1 -DNDEBUG -I./module
-IC:/msys64/mingw32/include/python3.6m -c ./module/event_handler.cpp
-o build/temp.mingw-3.6/./module/event_handler.o
In file included from ./module/event_handler.h:3:0,
from ./module/event_handler.cpp:1:
./module/wintoastlib.h:7:10: fatal error: wrl/implements.h: No such
file ordirectory
#include <wrl/implements.h>
^~~~~~~~~~~~~~~~~~
compilation terminated.
error: command 'C:\\msys64\\mingw32\\bin/i686-w64-mingw32-gcc.exe'
failed with exit status 1
File event_handler is not part of WinToast library, but code I'm using
it in. Link to source:
https://github.com/malja/zroya
Is any chance to make Visual C++ libraries work with MSYS2? I found
this thread
(https://stackoverflow.com/questions/12909139/can-windows-store-applications-be-built-with-mingw)
about
MSYS2 and WRL which suggests, that WRL is not supported yet. But its
from late 2013. Maybe things have
changed since.
Thank you
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Msys2-users mailing list
Msys2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/msys2-users