-
-
Notifications
You must be signed in to change notification settings - Fork 405
Windows compilation support #738
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
Conversation
|
Hello @brindosch 👋 I'm your friendly neighborhood bot and would like to say thank you for So that you and other users can test your changes more quickly, If you make changes to your PR, i create a new link to your workflow artifacts. Best regards, |
|
Ich werde leider erst am WE dazu kommen es zu testen. Danke für den PR 👍 |
|
Danke für die links, In jedem Fall mal das msvc-cmake verwenden, da ist das irgendwie vorbereitet. Bzw der code influx ist sehr überschaubar |
|
@brindosch |
|
Fehlt es an includes/libs? Ansonsten mal Visual Studio Code starten und den Visual Studio (Community) hab ich bisher nicht ausprobiert und kann daher nichts zu sagen. |
Das hat soweit funktioniert. |
|
Also ich benutze Windows 10 und Visual Studio Community 2019. edit: Ich werd mal Visual Studio Code installieren. |
|
Was für ein Fehler kommt denn? |
|
Here is your new link to your workflow artifacts. |
|
Ah super @Paulchen-Panther . Da der PR eigentlich schon mehr verändert als angedacht, wird es Zeit zu mergen.
|
Wie kommt du zu dieser Kehrtwende? |
|
Here is your new link to your workflow artifacts. |
|
Here is your new link to your workflow artifacts. |
Ist mir noch zu wackelig, ihr dürft mich aber überstimmen! Zum Beispiel könnte man sagen, wenn man es nicht zumindest mit anbietet gehen viele issues auf die das compile setup nicht zum Laufen bekommen |
Wie wäre es mit einer CMakeSettings.json datei. Da braucht es nicht viel um es zu kompilieren. Da reichen auch die Build Tools aus (incl. Cmake, QT5 und Python). |
|
die frage ist meiner meinung nach: a) ist es besser zu warten, bis ihr euch sicher seid und danach die fehler auszumerzen bin für a... |
|
Selbst im Linux Build sind Leute zu doof zum kompilieren, obwohl es dort klar definiert ist. |
|
Oder ein Compile Script? |
|
Kann man alles machen. |
|
Here is your new link to your workflow artifacts. |
|
Ich hab mal eine Zwischenfrage. Schafft es jemand die "Visual Studio 2019 Build Tools" herunterzuladen? Ich benötige eine Anleitung.
|
|
Voll toll, wie bist du an den Link gekommen? Ich hab 4 Browser durch... |
|
Weiss was du meinst...geht einfach immer wieder hoch... hab einfach auf "Vorgehensweise bei der Offlineinstallation" geklickt...neugier/zufall...et voila |
|
Cool danke, |
* Disable AVAHI * Replace SysInfo backport with Qt SysInfo * Update vscode config * Update LedDevices * Update Logger * Update hyperiond * Update hyperion-remote * Exclude avahi * Empty definition for Process * PythonInit path broken * Exclude PiBlaster and link ws2_32 * more avahi * resolve ui bug * Update Compile howto * JsonAPI QtGrabber missing * fix error * ssize_t replacement * Nope, doesn't work * Adjust compile description and verify winSDK * Update ci script * Update ci script * Update ci * Update ci script * update Logger * Update PythonInit * added Azure & GitHub Actions, Logger, PythonInit * resolve merge conflicts * revert ssize_t in FadeCandy * look at registry for QT5 & use find_package(Python) if cmake >= 3.12 * second try * another try * and yet another test * qt5 registry search undone * Package creation test * finished package creation. only fine tuning is required :-) Signed-off-by: Paulchen-Panther <[email protected]> * Dependencies for Windows finished Signed-off-by: Paulchen-Panther <[email protected]> * use 'add_definitions()' until CMake 3.12 Signed-off-by: Paulchen-Panther <[email protected]> * Update .github/workflows/pull-request.yml Co-Authored-By: Paulchen Panther <[email protected]> * Update cmake/Dependencies.cmake Co-Authored-By: brindosch <[email protected]> * fix typo/ add VCINSTALLDIR var * fix again * Undo change again (Not working) * fix QT grabber Signed-off-by: Paulchen-Panther <[email protected]> * first NSIS test Signed-off-by: Paulchen-Panther <[email protected]> * Update NSIS package * surprise :-) Signed-off-by: Paulchen-Panther <[email protected]> * Update NSIS package * fix: NSIS .bmps * Add nsis templates * Force windows gui app * fix: QSysInfo required Qt5.6, now it's 5.4 again * Update: Remove platform component and adjust package name * Add macOS as system name * Update docs * fix: Allow gh actions ci also for forks with branches * Add ReadMe docs, mention windows, add vscode linux debug config * fix: readme visual * reduce/hide banner/copyright/log message Infos here: https://docs.microsoft.com/de-de/visualstudio/msbuild/msbuild-command-line-reference?view=vs-2019#switches * Fix PythonInit * vscode: Add runner task * fix(vscode): compiler path gcc ver independent * fix azure * vscode: add windows run tasks * move process detection * main: add windows process detection * Azure file shredder * Update docs Co-authored-by: Paulchen Panther <[email protected]> Co-authored-by: Paulchen-Panther <[email protected]>

Summary
Microsoft Visual Studio Community 2017 - amd64, Other compiler archs may/will fail, the pre compiled Qt and Python libs are the limitationsDetails
ssize_treplaced withsize_tfor all targets. Follow up issues?avahiis disabled on windows for the momentCmake: automoc is off for generated files
MSVC doesn't unterstand
__packed__((packed)), replaced with#pragma push/packLinks to ws2_32 for windows replacement of
htonshtonlThere is no concept of
nanosleepin windows. Disabled, the_rs232Port.setBreakEnabled(false)and_rs232Port.setBreakEnabled(true)are still there but without sleep. Might be an issue or notLogLevel::ERRORa clash with#define ERROR 0, i didn't found this definition, but it claimed it is there and collides. Renamed toERRORRfor nowThere is no
syslogon windows, disabled for windows until a solution is found if requiredName of the binary as prefix is set to unknown - windows solution requiredThere is a problem with the search path injection (crash). Disabled on windows (Needs to be fixed for packaging)qt.network.ssl QSslSocket: Can't resolve function d2i_x509. Missmatch of the ssl dependency, nothing specialReplaced backported SysInfo with Qt SysInfo as we reached the minimum qt version and the backport wasn't windows ready
BREAKING
To update with the .deb package you need to remove the previous installed Hyperion version first
apt-cache search hyperion. You may see now a entry likehyperion-x86,hyperion-rpisudo apt-get remove hyperion-XXhyperionWhat kind of change does this PR introduce? (check at least one)
If changing the UI of web configuration, please provide the before/after screenshot:
Does this PR introduce a breaking change? (check one)
If yes, please describe the impact and migration path for existing setups:
The PR fulfills these requirements:
Fixes: #xxx[,#xxx], where "xxx" is the issue number)If adding a new feature, the PR's description includes:
To avoid wasting your time, it's best to open a feature request issue first and wait for approval before working on it.
Other information: