-
-
Notifications
You must be signed in to change notification settings - Fork 127
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
Problem to the SDL simulator under windows #119
Comments
Hi, I'm sorry for that, it seems that batch script is outdated, and maybe I need to create CMakeLists.txt file for the project.
Do you have more logs? I see some generic error without any details. Best regards |
@lexus2k thanks for your quick answer! It's the error message I get when executing the command Yes I think I've installed the SDL2 correctly. As said in the tutorial you linked, I copied the content of the sld2 folder in one of my folder, and I'm able to correctly compile and run the example given by specifying this folder on the compilation line in include (folder is at : D:\Dev\mingw_lib\i686-w64-mingw32). Maybe I missed a step? it's true that I don't get how the batch/make can know where I installed the SDL2 without me specifying it. I don't see any more setup in the tutorial. Thanks again! |
MINGW32 is so old.. and not supported. |
Oh sorry, am I using the wrong thing? |
If you installed it via Arduino Library Manager, then you're using correct version. But it has issue with SDL, you described. |
Ok I will download the lib and install it manually into arduino lib folder. Thanks! |
Here is the new log I get with command |
Thank you for the log. Will try to build using MINGW32 one more time on my laptop. |
@Darenn Unfortunately, I didn't find useful information in the log. And I cannot reproduce the issue on my PC. |
Hi! I added the line CCFLAGS += -v at the end of examples/Makefile.common. Here's the new log, not sure I did the right thing :
|
I see some issue with sdl_core.c compilation. But my cppcheck tool doesn't show any warnings. |
Not sure that's what you need but : |
@Darenn What I'm trying to get is error code in compilation of sdl_core.o, since the log reports |
Ok I understand. I don't know much about makefile, I tried added the -v everywhere I can find a compilation line but no changes. It seems to execute this line to compile sdl_core.o
And the option is there but no message. I'm sorry I can't give you the info you need. |
Ask any question, you have, regarding the library
Hi!
Thanks for this great library.
I'm under windows and trying to use the SDL simulator.
I've followed the installation instructions, and I'm able to compile and run the example SDL project that is in the tutorial linked. But I'm stuck with an error when trying to run the command
build_and_run.bat "games/lode_runner"
.Find attached the error I get log.txt.
Can you help me find what did I do wrong?
Thanks by advance!
The text was updated successfully, but these errors were encountered: