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

Broken on MacOS #118

Open
pmudry opened this issue Apr 15, 2016 · 8 comments
Open

Broken on MacOS #118

pmudry opened this issue Apr 15, 2016 · 8 comments
Assignees
Labels

Comments

@pmudry
Copy link
Contributor

pmudry commented Apr 15, 2016

Shaders complain that version 130 is not supported. I had the impression it had been fixed before...

@pmudry pmudry added the bug label Apr 15, 2016
@pmudry pmudry self-assigned this Apr 15, 2016
@pmudry
Copy link
Contributor Author

pmudry commented Apr 22, 2016

Was fixed in 540cbd6
However the student was probably not using the latest code but the release one.

@pmudry pmudry closed this as completed Apr 22, 2016
@metc
Copy link
Contributor

metc commented Apr 22, 2016

This is how the demo selector looks like:
screen shot 2016-04-22 at 14 11 34

Tested on the Pierre's Mac OS X El Capitan (10.11.4)

@metc metc reopened this Apr 22, 2016
metc added a commit that referenced this issue Apr 22, 2016
Changed from FlowLayout to BorderLayout.
Update margins, now pixel perfect.
The Canvas is not working yet on Mac :(
@metc
Copy link
Contributor

metc commented Apr 22, 2016

The Swing layout has been fixed in dda41a0, but the canvas is still not working on Mac :(

@pmudry
Copy link
Contributor Author

pmudry commented Apr 28, 2016

No idea what to do as I don't have any Mac to test. This is probably hard to fix.

@metc
Copy link
Contributor

metc commented Apr 28, 2016

Swing seems to not be very platform independent :( This was the first layout issue. For the second, it will be hard to solve it, yes. The OpenGL canvas is not display on Mac (tested on OS X 10.11.3 latest).

@metc
Copy link
Contributor

metc commented Apr 28, 2016

I think we should set this issue for a next milestone. A Mac guy should help us to solve this. I tried a quick fix but I did not get better results.

Currently, a Mac user can launch every demo individually, but not using the demo selector.

@pmudry
Copy link
Contributor Author

pmudry commented Apr 28, 2016

I agree. The problem being mac specific, we can't solve it without a Mac.

On Thu, 28 Apr 2016 at 22:02 Christopher [email protected] wrote:

I think we should set this issue for a next milestone. A Mac guy should
help us to solve this. I tried a quick fix but I did not get better results.

Currently, a Mac user can launch every demo individually, but not using
the demo selector.


You are receiving this because you modified the open/close state.
Reply to this email directly or view it on GitHub
#118 (comment)

@pmudry pmudry changed the title Broken on mac Broken on MacOS May 4, 2016
@acely
Copy link
Contributor

acely commented Jan 2, 2017

Just providing some information,might help.

Im a mac user,cant run the demo too.
When I use JDK8 (oracle jdk) ,the window looks like below.The canvas was misplaced,and only display grey.
qq20170102-0 2x

As we know,apple only provide java up to java6,so any later jdk was provided by oracle.And oracle jdk removed all heavyweight components(even awt turned into lightweight),so anything rely on heavyweight component wont work under oracle jdk on mac(like LwjglAWTCanvas).

So I change the project to apple jdk6(which still have heavyweight components),thinking this may solve the problem.But after I run,I get this:

qq20170102-1 2x

The canvas was not misplaced,but still shows nothing.Which makes me really confused.
The console shows the following info when using jdk6:

2017-01-02 08:33:43.665 java[17091:87589438] 08:33:43.664 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
[gdx2d]: gdx2d-core v1.2.1, libgdx v1.5.6 | mui, chn, mei, pim (c) 2012-2016
[gdx2d]: Fragment shader 'res/lib/circle_aa.fp' loaded.
[gdx2d]: Vertex shader 'res/lib/default.vs' loaded.
[gdx2d]: Shader message - WARNING: Output of vertex shader 'v_color' not read by fragment shader
WARNING: Output of vertex shader 'vTexCoord' not read by fragment shader
WARNING: Output of vertex shader 'vSurfacePosition' not read by fragment shader

The console shows the following info when using jdk8:

2017-01-02 08:38:05.907 java[17127:87627414] 08:38:05.907 WARNING:  140: This application, or a library it uses, is using the deprecated Carbon Component Manager for hosting Audio Units. Support for this will be removed in a future release. Also, this makes the host incompatible with version 3 audio units. Please transition to the API's in AudioComponent.h.
[gdx2d]: gdx2d-core v1.2.1, libgdx v1.5.6 | mui, chn, mei, pim (c) 2012-2016
[gdx2d]: Fragment shader 'res/lib/circle_aa.fp' loaded.
[gdx2d]: Vertex shader 'res/lib/default.vs' loaded.
[gdx2d]: Shader message - WARNING: Output of vertex shader 'v_color' not read by fragment shader
WARNING: Output of vertex shader 'vTexCoord' not read by fragment shader
WARNING: Output of vertex shader 'vSurfacePosition' not read by fragment shader

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

No branches or pull requests

3 participants