Building GEOS on Windows.

Open
#600 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Mostly clear
Activity status
Stale
Tech stack
go
Domain
build-system

Research direction

Start by reading the build constraints in internal/rawgeos and how the project detects GEOS on Windows; the issue does not identify a test or setup guide. Reproduce the build on Windows 11 with GEOS 3.12.1 installed through OSGeo4W, then determine whether the package can include the Go files. Done means the reported build constraint error is resolved for that setup.

Written by the indexing model from the issue text.

Description

I'm on window 11 and I'm having use trying to build my module which imports simplefeature/geos
When I try to build I'm getting the follow error:
github.com/peterstace/simplefeatures/internal/rawgeos: build constraints exclude all Go files in C:\Users\alexandre.borowczyk\go\pkg\mod\github.com\peterstace\[email protected]\internal\rawgeos

I've then install GOES 3.12.1 using the ​OSGeo4W network installer

I've been building and running the same code without any issue on Ubuntu 22.04 where I've install GEOS with
sudo apt install libgeos++-dev libgeos3.12.1 libgeos-c1v5 libgeos-dev libgeos-doc

Dominant language
Go
Stars
176
Forks
27
Avg merge
1d 20h
Merged PRs (30d)
6

Getting set up

  • No Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from peterstace/simplefeatures

All issues in peterstace/simplefeatures

Similar issues

More Go issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.