Skip to content

Commit

Permalink
Fixed windows / mingw32 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
byteplane committed Apr 17, 2015
1 parent 5f1160c commit 1514728
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 5 deletions.
3 changes: 2 additions & 1 deletion algorithms.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ package gdal
#cgo linux pkg-config: gdal
#cgo darwin pkg-config: gdal
#cgo windows LDFLAGS: -lgdal.dll
#cgo windows LDFLAGS: -Lc:/gdal/release-1600-x64/lib -lgdal_i
#cgo windows CFLAGS: -IC:/gdal/release-1600-x64/include
*/
import "C"
import (
Expand Down
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Some less oftenly used functions are not yet implemented. The majoriry of these
The documentation is fairly limited, but the functionality fairly closely matches that of the C++ api.
This wrapper has only been tested on 64-bit Ubuntu Linux, with version 1.9.1 of the GDAL library.
This wrapper has most recently been tested on Windows7, using the MinGW32_x64 compiler and GDAL version 1.11.
Usage
Expand Down
3 changes: 2 additions & 1 deletion gdal.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ package gdal
#cgo linux pkg-config: gdal
#cgo darwin pkg-config: gdal
#cgo windows LDFLAGS: -lgdal.dll
#cgo windows LDFLAGS: -Lc:/gdal/release-1600-x64/lib -lgdal_i
#cgo windows CFLAGS: -IC:/gdal/release-1600-x64/include
*/
import "C"
import (
Expand Down
3 changes: 2 additions & 1 deletion ogr.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ package gdal
#cgo linux pkg-config: gdal
#cgo darwin pkg-config: gdal
#cgo windows LDFLAGS: -lgdal.dll
#cgo windows LDFLAGS: -Lc:/gdal/release-1600-x64/lib -lgdal_i
#cgo windows CFLAGS: -IC:/gdal/release-1600-x64/include
*/
import "C"
import (
Expand Down
3 changes: 2 additions & 1 deletion osr.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ package gdal
#cgo linux pkg-config: gdal
#cgo darwin pkg-config: gdal
#cgo windows LDFLAGS: -lgdal.dll
#cgo windows LDFLAGS: -Lc:/gdal/release-1600-x64/lib -lgdal_i
#cgo windows CFLAGS: -IC:/gdal/release-1600-x64/include
*/
import "C"
import (
Expand Down

0 comments on commit 1514728

Please sign in to comment.