Skip to content
This repository has been archived by the owner on Jul 31, 2019. It is now read-only.

Cannot compile with newest SDK. #6

Open
repsej opened this issue Oct 27, 2015 · 0 comments
Open

Cannot compile with newest SDK. #6

repsej opened this issue Oct 27, 2015 · 0 comments

Comments

@repsej
Copy link

repsej commented Oct 27, 2015

Hi there :)

I've installed the Go Google Appengine ver. 1.9.27 and I'm trying to get your tic-tac-toe demo up and running.

But, I get compile problems regarding endpoints.Context and appengine.Context (see below)

I'm new to both Go, Google App Engine and Google Endpoints :)

Do you know what I need to change to get it to work?

Cheers,
Jesper


ERROR 2015-10-27 17:15:32,951 go_runtime.py:179] Failed to build Go application: (Executed command: c:\work\go_appengine\goroot\bin\go-app-builder.exe -app_base C:\Work\gae-go-test\app -arch 6 -dynamic -goroot c:\work\go_appengine\goroot -nobuild_files ^^$ -unsafe -gopath c:\work\go_appengine\gopath -binary_name _go_app -extra_imports appengine_internal/init -work_dir c:\users\jesper\appdata\local\temp\tmpbufkv1appengine-go-bin -gcflags -I,c:\work\go_appengine\goroot\pkg\windows_amd64_appengine -ldflags -L,c:\work\go_appengine\goroot\pkg\windows_amd64_appengine tictactoe\api.go main.go tictactoe\models.go)
c:\users\jesper\appdata\local\temp\tmpbufkv1appengine-go-bin\tictactoe\api.go:87: undefined: appengine
c:\users\jesper\appdata\local\temp\tmpbufkv1appengine-go-bin\tictactoe\api.go:117: cannot use c (type context.Context) as type "appengine".Context in argument to score.put:
context.Context does not implement "appengine".Context (missing Call method)
c:\users\jesper\appdata\local\temp\tmpbufkv1appengine-go-bin\tictactoe\api.go:127: undefined: endpoints.Context
c:\users\jesper\appdata\local\temp\tmpbufkv1appengine-go-bin\tictactoe\api.go:136: cannot use u (type *"google.golang.org/appengine/user".User) as type *"appengine/user".User in return argument

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant