Comments (6)
Hi @lovetox,
thank you for bug report.
The first issue was caused by /utf-8
parameter, which is not supported by gcc. I removed it.
The second one seems to be a problem with pypi packaging. It is working for me, but the installation might have been affected by previous installations I did during testing.
Commit cf90d90 with version 0.2.2b (available both from pypi and source) should address those issues. Please test it out.
from zroya.
I encounter now a different error
Installing collected packages: zroya
Running setup.py install for zroya ... error
Complete output from command C:/msys64/mingw32/bin/python3.exe -u -c "import setuptools,
tokenize;__file__='C:/Users/Philipp/AppData/Local/Temp/pip-req-build-rdsy8z4t/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record C:/Users/Philipp/AppData/Local/Temp/pip-record-3sx75n8b/install-record.txt --single-version-externally-managed --compile:
running install
running build
running build_py
creating build
creating build/lib.mingw-3.6
creating build/lib.mingw-3.6/zroya
copying zroya/dismiss_reason.py -> build/lib.mingw-3.6/zroya
copying zroya/template_enums.py -> build/lib.mingw-3.6/zroya
copying zroya/version.py -> build/lib.mingw-3.6/zroya
copying zroya/__init__.py -> build/lib.mingw-3.6/zroya
running build_ext
building '_zroya' extension
creating build/temp.mingw-3.6
creating build/temp.mingw-3.6/module
C:\msys64\mingw32\bin/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
the error on pypi is the same, do i miss a dependency for that generate_stubs file?
from zroya.
Are you sure Windows Runtime Library (WRL) is supported by MSYS? According to this StackOverflow thread, it isn't. Maybe things haven't changed since 2013...
About the generate_stubs.py
. It's part of the package. You were most likely installing from source tar, which didn't have the file in it.
I added all required files to source tar. With Visual Studio as default compiler and Visual C++ Redistributable installed it works fine.
from zroya.
i tested with a normal python installation on windows and it works fine there.
With Visual Studio as default compiler and Visual C++ Redistributable installed it works fine.
do you mean with MSYS?
i think we can use msvc compiler also inside msys for building, but i get unrelated errors with this.
hm bummer, we build our application with MSYS, so getting this to work there somehow would be great
from zroya.
i tested with a normal python installation on windows and it works fine there.
I'm glad to hear that. It's indeed MSYS related problem.
hm bummer, we build our application with MSYS, so getting this to work there somehow would be great
The problem is, MSYS2 has only a limited support for WRL. For instance, there are missing header files and implements.h
is among them. This was my first experience with MSYS2 at all, so I wrote to mailing list for help (link). Liu Hao practically confirmed what I said. On top of that, he pointed out that writing a header file which works both under Windows and MSYS2 may be challenging process.
At the moment I don't have enough time for implementing WRL support required for zroya to work with MSYS2. But feel free to do it yourself.
from zroya.
Thanks for looking into that.
If you dont have the time to target MSYS2 for now, i will close this issue. If more people want it to happen they can reopen.
from zroya.
Related Issues (12)
- Would be nice if you added some screen shots on the README.md HOT 2
- A logo for zroya? HOT 1
- Issue installing zroya using PIP HOT 2
- on_click callback not working HOT 2
- Example not working correctly HOT 1
- Stay up to date HOT 2
- No Events if Notification is in Action Center HOT 2
- how do you Generate function stubs(support IDE autocomplete) from C module HOT 1
- setExpiration() doesn't work HOT 1
- zroya.hide bug HOT 1
- Persistent notifications? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zroya.