Re: Euraylib Released!

new topic     » goto parent     » topic index » view thread      » older message » newer message

Unfortunately the supplied raylib.dll is of no use to me (on Windows 10); running with that:

C:\Program Files (x86)\Phix>p demo\misc\Euraylib\Ex1.exw 
INFO: Initializing raylib 2.5 
WARNING: [GLFW3 Error] Code: 65543 Decription: WGL: OpenGL profile requested but WGL_ARB_create_context_profile is unavailable 
WARNING: GLFW Failed to initialize Window 
INFO: Target time per frame: 33.333 milliseconds 

So none of the demos worked. No luck updating my graphics drivers either, btw. Same deal with both raylib-2.5.0-Win32-mingw.zip and raylib-2.5.0-Win32-msvc15.zip from https://github.com/raysan5/raylib/releases and similar or worse with raylib-2.0.0-Win32-mingw.zip and raylib-2.0.0-Win32-msvc15.zip...

Hopwever, running with C:\Program Files (x86)\Python37-32\Lib\site-packages\raylibpy\libraylib_shared.dll which I found after running pip install raylib-py, and then copying into the Euraylib folder and changing ray = open_dll("raylib.dll") in Euraylib.ew to ray = open_dll("libraylib_shared.dll"):

INFO: Initializing raylib 2.0 
INFO: Display device initialized successfully 
INFO: Display size: 1920 x 1080 
INFO: Render size: 800 x 450 
INFO: Screen size: 800 x 450 
INFO: Viewport offsets: 0, 0 
INFO: GLAD: OpenGL extensions loaded successfully 
INFO: OpenGL 2.1 profile supported 
INFO: GPU: Vendor:   Intel 
INFO: GPU: Renderer: Intel(R) HD Graphics 2000 
INFO: GPU: Version:  3.1.0 - Build 9.17.10.4459 
INFO: GPU: GLSL:     1.40 - Intel Build 9.17.10.4459 
INFO: Number of supported extensions: 129 
INFO: [EXTENSION] DXT compressed textures supported 
INFO: [EXTENSION] Anisotropic textures filtering supported (max: 16X) 
INFO: [TEX ID 1] Texture created successfully (1x1 - 1 mipmaps) 
INFO: [TEX ID 1] Base white texture loaded successfully 
INFO: [SHDR ID 1] Shader compiled successfully 
INFO: [SHDR ID 2] Shader compiled successfully 
INFO: [SHDR ID 3] Shader program loaded successfully 
INFO: [SHDR ID 3] Default shader loaded successfully 
INFO: [CPU] Default buffers initialized successfully (lines, triangles, quads) 
INFO: [VAO ID 1] Default buffers VAO initialized successfully (lines) 
INFO: [VAO ID 2] Default buffers VAO initialized successfully (triangles) 
INFO: [VAO ID 3] Default buffers VAO initialized successfully (quads) 
INFO: GL_SCISSOR_TEST enabled. 
INFO: OpenGL default states initialized successfully 
INFO: [TEX ID 2] Texture created successfully (128x128 - 1 mipmaps) 
INFO: [TEX ID 2] Default font loaded successfully 
INFO: Target time per frame: 16.667 milliseconds 
INFO: [TEX ID 2] Unloaded texture data from VRAM (GPU) 
INFO: [TEX ID 1] Unloaded texture data (base white texture) from VRAM 
INFO: Window closed successfully 

All five demos then worked fine. I could upload that dll to PCAN if you want, though I am pretty sure it will be binary identical to the one you can get direct from https://github.com/overdev/raylib-py anyway. Sadly I was unable to find any suitable pre-built 64-bit dlls.

In other news, phix would much prefer

--/* 
include std/machine.e 
include std/convert.e 
--*/ 

in the demos (Ex1..5.exw) and

--/* 
include std/dll.e 
--include std/convert.e 
include std/machine.e 
include std/os.e 
--*/ 

in Euraylib.ew (so that OE will open them but phix will ignore them).

PPS. Can't wait to see https://github.com/raysan5/challenges/tree/master/03_challenge_maze3d on a webpage and on Android. No rush, I can wait a couple of hours. smile

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu