-
Notifications
You must be signed in to change notification settings - Fork 35
feature request: binary wheels for 32 bit windows x86 with opengl 2.0 #167
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
Comments
Also, why are you using 5.0.0.0 ? It’s buggy. Use latest 5.5.0.2 or if you really insist on 5.0 then use 5.0.0.5. |
So, assuming you’ve read #142 you have probably realised the cause is there is no binary wheel for 32 bit windows. So you have two options:
Btw, not related to this, but don’t import both |
If you go for raylib_dynamic option you’ll need to set environment variable USE_EXTERNAL_RAYLIB=1 and put a 32 bit raylib.dll file from https://github.com/raysan5/raylib/releases/download/5.5/raylib-5.5_win32_msvc16.zip in the current directory. |
hello sorry for not answering, can you tell me how to install https://github.com/raysan5/raylib/releases/download/5.5/raylib-5.5_win32_msvc16.zip I download it and I don't know how to use it |
i made a video of what you need to do: https://github.com/user-attachments/assets/ef3b37ad-73e8-41af-bb0d-1d35814d4829 I get an error at the end because I'm on 64 bit windows but you wont get that. |
a window pop up pythonw.exe - Image incorrect in the console: |
looks like you didnt SET USE_EXTERNAL_RAYLIB=1 |
I did all the steps in your video |
If USE_EXTERNAL_RAYLIB is set then it will try to load 'raylib.dll' from current directory. It isn't doing that, it's loading from 'C:\Users\samir\AppData\Local\Programs\Python\Python38-32\lib\site-packages\raylib\raylib.dll'. So I don't know what else to tell you. |
thank you for help and sorry for annoyance |
If you're not using cmd.exe as your shell then syntax to set a variable might be different. For example in bash it's 'export' not 'SET'. |
no I use it (cmd.exe) |
but I need to write |
nasty hack solution: |
that should overwrite the 64 bit dll in the package with the 32 bit you downloaded |
where i put the coppied file |
C:\Users\samir\AppData\Local\Programs\Python\Python38-32\lib\site-packages\raylib\raylib.dll |
we are going in the right way but: python has stopped working A problem caused the program to stop working correctly. Windows will close this program and tell you if a solution is available. |
is it printing an error? |
in the console: |
what else does it print? post everything |
the console one the one before it, that all |
wait there is a warning |
raylib usually prints something like
|
yes and after it there is the warning i will write it |
post everything it prints |
in the cmd: WARNING: GLFW: Error: 65543 Description: WGL: OpenGL profile requested but WGL_A |
If it is printing the INFO lines, post them. Mostly likely you don't have a GPU that supports opengl 3.3 |
LOADED DYNAMICALLY SHARED LIB 5.5.0.2 C:\Users\samir\AppData\Local\Programs\Pyth that all and you are right my GPU doesn't OpenGL 3.3 |
You need to find out what version of OpenGL your GPU supports and then re-compile Raylib for that version. You can get help on that on the Raylib Discord. Also it might be better to install Linux on this machine, it tends to support old machines better than Windows does and compiling stuff is easier. |
Hi, I'am a fan of game development I am on windows 7 32 bit and I use VSCode I want to use raylib
I Installed Raylib 5.0.0.0 Successfully
But when I wrote this code in VSCode:
It said:
Traceback (most recent call last):
File "c:\Users\samir\Desktop\My Games\Raylib\SpaceShooter\base.py", line 1, in
from pyray import *
File "C:\Users\samir\AppData\Local\Programs\Python\Python38-32\lib\site-packages\pyray_init_.py", line 15, in
from raylib import rl, ffi
File "C:\Users\samir\AppData\Local\Programs\Python\Python38-32\lib\site-packages\raylib_init_.py", line 15, in
from ._raylib_cffi import ffi, lib as rl
ModuleNotFoundError: No module named 'raylib._raylib_cffi'
The text was updated successfully, but these errors were encountered: