GoClipse / goclipse

Eclipse IDE for the Go programming language:
http://goclipse.github.io/
Eclipse Public License 1.0
840 stars 287 forks source link

Go Project does not compile on MacOS X and Eclipse Luna #95

Closed AuroreDupont closed 10 years ago

AuroreDupont commented 10 years ago

The following error is generated with a freshly created go script:

Running: /usr/local/go/bin/go install -v -gcflags -N -l ./... with GOPATH: /Users/aurore/Documents/Workspaces/goexp/goref:/Users/aurore/Coding/gotree go install: no install location for directory /Users/aurore/Documents/Workspaces/goexp/goref/src outside GOPATH ^^^ Terminated, exit code: 1 ^^^ \ Build terminated. **

bruno-medeiros commented 10 years ago

You cannot have .go files directly under src. Just create a subdirectory of src and put the .go files there.