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

Can't run on Windows 10 #170

Closed
ricklamers opened this issue May 18, 2016 · 11 comments
Closed

Can't run on Windows 10 #170

ricklamers opened this issue May 18, 2016 · 11 comments

Comments

@ricklamers
Copy link

Any ideas for debugging?

D:\Downloads\zoc-master\zoc-master>cargo run
Running target\debug\zoc.exe
GL_VERSION: 4.5.0 NVIDIA 365.19
GLSL_VERSION: 4.50 NVIDIA
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 660 Ti/PCIe/SSE2
thread '

' panicked at '0(1) : error C0000: syntax error, unexpected $undefined, expecting "::" at token ""
', src\zgl\src\shader.rs:168
note: Run with RUST_BACKTRACE=1 for a backtrace.
Process didn't exit successfully: target\debug\zoc.exe (exit code: 101)

@ozkriff
Copy link
Owner

ozkriff commented May 19, 2016

Hmm, maybe nvidia (or win10) is stricter about initialization?

Try changing OpenGL version from 2.0 to 2.1 in src/visualizer/src/lib.rs#L38.

@ozkriff
Copy link
Owner

ozkriff commented May 19, 2016

Hmmm, PistonDevelopers/piston#1032 has similar errmsg.

@ricklamers
Copy link
Author

Tried, no success :(

D:\Downloads\zoc-master\zoc-master>cargo run
Compiling visualizer v0.0.1 (file:///D:/Downloads/zoc-master/zoc-master)
Compiling zoc v0.0.1 (file:///D:/Downloads/zoc-master/zoc-master)
Running target\debug\zoc.exe
GL_VERSION: 4.5.0 NVIDIA 365.19
GLSL_VERSION: 4.50 NVIDIA
GL_VENDOR: NVIDIA Corporation
GL_RENDERER: GeForce GTX 660 Ti/PCIe/SSE2
thread '

' panicked at '0(1) : error C0000: syntax error, unexpected $undefined, expecting "::" at token ""
', src\zgl\src\shader.rs:168
note: Run with RUST_BACKTRACE=1 for a backtrace.
Process didn't exit successfully: target\debug\zoc.exe (exit code: 101)

@ozkriff
Copy link
Owner

ozkriff commented May 19, 2016

Then try removing whole .with_gl(gl_version) line :) .

If this will not help - can you check if triangle.rs example from glium works on your machine?

@ozkriff
Copy link
Owner

ozkriff commented May 19, 2016

My friends reported similar problems on win10, but glium works fine for them.

Something wrong with initialization code in ZoC :(

@ricklamers
Copy link
Author

Have you tried anything to make this work since? ^^

2016-05-19 21:59 GMT+02:00 Andrey Lesnikov notifications@github.com:

My friends reported similar problems on win10, but glium works fine for
them.

Something wrong with initialization code in ZoC :(


You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#170 (comment)

@ozkriff
Copy link
Owner

ozkriff commented Jun 12, 2016

I have tried a few things, but nothing seems to work. Android build is broken too :( . It seems that the simplest solution will be #9.

@ozkriff
Copy link
Owner

ozkriff commented Jul 29, 2016

Should be fixed in #183 :)

@ozkriff
Copy link
Owner

ozkriff commented Jul 29, 2016

@ricklamers Can you check how it works now?

@ricklamers
Copy link
Author

It works for me! Awesome, going to try it more in depth soon :)

2016-07-29 15:08 GMT+02:00 Andrey Lesnikov notifications@github.com:

@ricklamers https://github.com/ricklamers Can you check how it works
now?


You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
#170 (comment), or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABP6e5qa7wp4DrufKAXuhojrXiDh1ZEJks5qaftCgaJpZM4Ihv0Y
.

@ozkriff
Copy link
Owner

ozkriff commented Jul 29, 2016

Yay! :-D

@ozkriff ozkriff closed this as completed Jul 29, 2016
@ozkriff ozkriff removed the s-active label Jul 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants