snuk182 / goncurses

Automatically exported from code.google.com/p/goncurses
Other
0 stars 0 forks source link

The go get installation failed on linux with go 1.3 #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.go get code.google.com/p/goncurses

What is the expected output? What do you see instead?
I expected the package to install correctly.
I got:
# code.google.com/p/goncurses
go/src/code.google.com/p/goncurses/window.go:24: cannot use 
_Cfunc_newwin(C.int(h), C.int(w), C.int(y), C.int(x)) (type *C.WINDOW) as type 
*C.struct__win_st in field value
go/src/code.google.com/p/goncurses/window.go:34: cannot use w.win (type 
*C.struct__win_st) as type *C.WINDOW in argument to _Cfunc_waddch
go/src/code.google.com/p/goncurses/window.go:40: cannot use w.win (type 
*C.struct__win_st) as type *C.WINDOW in argument to _Cfunc_mvwaddch
...
go/src/code.google.com/p/goncurses/window.go:95: too many errors

What version of the product are you using? On what operating system?
I am using go 1.3. On linux with ncurses 5.9.

Please provide any additional information below.

Original issue reported on code.google.com by olivier....@gmail.com on 20 Jun 2014 at 1:07

GoogleCodeExporter commented 9 years ago
Built fine on Ubuntu 14.04, Go 1.3, NCurses 5.9
Built fine on Windows 7, Go 1.3, PDCurses 3.4

What distribution and version? 
What version string is printed by pkg-config ncurses --modversion?
Does a C ncurses program compile without error?

Original comment by rthornto...@gmail.com on 21 Jun 2014 at 12:15

GoogleCodeExporter commented 9 years ago
After the weekend, I was unable to replicate this error. I don't understand 
what happened. Sorry for the inconveniance.

Original comment by olivier....@gmail.com on 23 Jun 2014 at 5:55

GoogleCodeExporter commented 9 years ago
Well, awesome I guess! ;) Closing issue.

Original comment by rthornto...@gmail.com on 24 Jun 2014 at 12:51