-
Notifications
You must be signed in to change notification settings - Fork 394
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
INDI build on Windows #1921
Comments
It would be great if INDI can be built on Windows (not just INDI Client like it is now). Just to be clear, INDI Client compiles and runs on Windows just fine without any additional libraries. It is that INDI server + drivers that do not compile natively on Windows. I presume you are trying to tackle the INDI server + drivers part. |
@knro Yes, there are no issues with the construction of INDIClient. At present, I am working on other parts of the indiserver, but due to some confusion in the code, it has not been resolved yet. The current main issue is still focused on |
Alright, please let us know if you can make INDI runs natively on Windows, this would be quite a breakthrough. We still have the issues of dependencies but once INDI runs natively, the rest of the issues can be streamlined in the build process. |
Very excited to see this @laheller ! Were you able to test any drivers with any clients? |
Not yet, because I am fighting with the indiweb installation in python/cygwin environment and it has a troubles with psutil dependency. BR, Ladislav |
You can still test everything without indiweb. |
Wow that's very nice! Have you tried connecting to any physical devices via Serial connection or USB?? |
Not yet but I definitely will try with my:
Probably not under night sky but just "blindly" instead. Once done, will let you know. |
I think this might work just for the skywatcher. The Canon needs libgphoto2 and ZWO driver does not include any Windows DLLs so it can't work on Windows. Perhaps you can try to add Windows support to this driver. |
While I am checking the devices and their drivers, here is the PR. I just did it, because it is only for this repo and also independent from the 3rd party drivers. Update: BR, Ladislav |
Hi @knro I was able to build also indi-asi drivers on Cygwin.
Also in the Indi Control Panel / Image Info tab I see that main camera parameters are incorrectly detected, because the maximum width is definitely not 2. See the screenshot below.
Please if you have time, check & answer also my previous comment above regarding the Kstars/Windows crash. Best Regards, Ladislav |
Recently, due to writing an astronomical software, I have already written the client for INDI, but when I tried to write it on Windows, the construction of INDI was completely unsuccessful. Because at the time of design, it seems that INDI did not consider its use on Windows at all. I compiled using Mingw64 (Msys2), but still cannot pass. Most of the problems are focused on using network communication libraries unique to Linux, such as
sys/socket
. h. Currently, I have started migrating under Windows, but under Mingw64, there is a method of buildingInstall Msys2
Download https://github.com/msys2/msys2-installer/releases/download/2023-07-18/msys2-x86_64-20230718.exe
Install dependencies
If there is anything missing, you can use a search engine to search for the name of the Msys2+package (usually between lib and - dev)
Install libev-dev
This is what Indiserver relies on, and other components do not seem to need it
Download sources from http://dist.schmorp.de/libev/Attic/
Build the project
After installing all of the dependencies , we can try to build the sources manually
But by default, only
INDIClient
will be built, so we need to modifyCMakeLists.txt
firstthen retry building commands.
like tools/setINDIProperty.cpp can be written as following
The text was updated successfully, but these errors were encountered: