Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Windows fail #26

Open
techtonik opened this issue Nov 18, 2015 · 6 comments
Open

Windows fail #26

techtonik opened this issue Nov 18, 2015 · 6 comments

Comments

@techtonik
Copy link

I am still trying to find a demo that showcases how tcell works. go get ... worked to produce the proxima5 binary, but it fails on Windows with Failed to initialize game: Cannot find data (did you run rebuild.sh?). Is it possible to get rid of .sh scripts and make this step a part of get process?

@techtonik
Copy link
Author

Missing commands:

go build mkassets.go spritedata.go leveldata.go properties.go
mkassets -type level l-level1.yml 
mkassets.exe -type sprite s-alien1.yml s-blastwave.yml s-bullet.yml s-cavern1.yml s-complete.yml s-exhaust.yml s-explosion.yml s-gameover.yml s-gantry.yml s-hfence.yml s-pad.yml s-press.yml s-ship.yml s-smexplosion.yml s-thrust.yml s-tinyexplosion.yml
go build .

@gdamore
Copy link
Owner

gdamore commented Nov 18, 2015

Yes, probably this should be done via go generate. I used bash on Windows to build this -- from the git installation actually. :-)

@techtonik
Copy link
Author

I am using ssh on windoze through git installation, but using bash.. that's hackish! =)

@gdamore
Copy link
Owner

gdamore commented Nov 19, 2015

I'm not really a Windows developer. Windows got support for all this stuff mostly as a side effort. I really don't like the legacy cmd stuff.

I can do the go generate thing and commit the generated go files if that will help.

@techtonik
Copy link
Author

If the commands above can be executed during standard go build process with go tools - that will be fine.

@gdamore
Copy link
Owner

gdamore commented Nov 20, 2015

You have to do go run... Because it cannot find things in . on non-Windows platforms.

Sent from my iPhone

On Nov 19, 2015, at 4:04 PM, anatoly techtonik notifications@github.com wrote:

If the commands above can be executed during standard go process with go tools - that will be fine.


Reply to this email directly or view it on GitHub.

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

No branches or pull requests

2 participants