InsightSoftwareConsortium / ITK

Insight Toolkit (ITK) -- Official Repository. ITK builds on a proven, spatially-oriented architecture for processing, segmentation, and registration of scientific images in two, three, or more dimensions.
https://itk.org
Apache License 2.0
1.47k stars 686 forks source link

Creating developer environment under Windows / Cygwin #5168

Closed albert-github closed 4 days ago

albert-github commented 2 weeks ago

I wanted to contribute to the repository to improve the documentation (seen the problems with e.g. #3654, #4161). So:

System, a bit hybrid, being Windows (10) with Cygwin and using (Atlassian) sourcetree.

github-actions[bot] commented 2 weeks ago

Thank you for contributing an issue! πŸ™

Welcome to the ITK community! πŸ€—πŸ‘‹β˜€οΈ

We are glad you are here and appreciate your contribution. Please keep in mind our community participation guidelines. πŸ“œ Also, please check existing open issues and consider discussion on the ITK Discourse. πŸ“–

This is an automatic message. Allow for time for the ITK community to be able to read the issue and comment on it.

dzenanz commented 2 weeks ago

For plain Windows, start Git Bash, cd to the repo directory, then run ./Utilities/SetupForDevelopment.sh. Cygwin is somewhat exotic, and we don't support it - it may, or may not work.

albert-github commented 2 weeks ago

Thanks fore the answer and indeed Cygwin is a bit exotic but quite convenient.

It looks like I don't have a git bash, I will have to see further (I could start just bash being the Cygwin bash but this won't help (I think)). Maybe I should install the windows git distribution (but I don't want to ruin my normal workflow and in the past I've seen quite a few problems with different versions of git around). I have to think about it ... maybe delivering patches as patch files in issues.

dzenanz commented 1 week ago

Thank you for your contributions Albert. Taking their number over the hast few days into account, it is such a shame you did not have a better contribution experience. Most people who use Cygwin do so because they are used to Unix environment. If you have a Linux machine, you could try contributing to ITK that way, instead of via Cygwin. ITK fully support Linux!

albert-github commented 4 days ago

Seen the problems with the current combination (Windows 10 with Cygwin) and the nearly EOL of Windows 10 (meaning a new system required) I won't try to update my current system.