-
Notifications
You must be signed in to change notification settings - Fork 16
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
(Win64) Incompatible type for argument 3 of 'sfRenderTexture_createWithSettings' #8
Comments
Update to the above - after manual update of the Graphics_wrap.c to pass the correct argument to underlying function sfRenderTexture_createWithSettings, I've got the linker errors:
I do believe this is neither the compiler nor the CSFML lib versions issues, because I was able to build and run corresponding C version of the basic example correctly. |
Hey! I personnally ran :
If you don't run the bat script, please make sure :
|
@Telroshan hello! After your comment I decided to make a fresh re-install of the building setup from the beginning and it just went fully fine at the end :) . My mistake was in CSFML version mismatch, somehow first time I downloaded 2.5 version, not the 2.5.1. With the latter it compiles and builds with no errors (except of deprecation warnings). I will close the issue. Thank you! |
Perfect, I'm glad it's working, thanks for letting me know! |
When building basic_window example (Win10 64bit) there is a compilation error:
sfRenderTexture_createWithSettings in CSFML RenderTexture.h is indeed declared as accepting value object sfContextSettings, not the const pointer.
The text was updated successfully, but these errors were encountered: