Closed AramPetiet closed 5 years ago
I suspect it has to do with SFML, but not sure. We worked around by using my laptop instead, but should be addressed.
We have verified it works on other machines with the same latest of development branch
std::bad_alloc
usually indicates a lack of memory ...
I guess the new graphics and sound consume too much memory (for now).
What happens when running in debug mode?
If I am right, the exception is thrown in sfml_resources
:grin:
I believe appveyor had this issue too, i thought i added a CXX_FLAG for that but last time i checked it was gone. You should try googling for something like: resources_big qt creator
Op za 4 mei 2019 11:56 schreef Richel Bilderbeek notifications@github.com:
I guess the new graphics and sound consume too much memory (for now).
What happens when running in debug mode?
If I am right, the exception is thrown in sfml_resources 😁
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/richelbilderbeek/djog_unos_2018/issues/592#issuecomment-489312862, or mute the thread https://github.com/notifications/unsubscribe-auth/AG7ZHES7EGPZEGZADTCZFKLPTVMUJANCNFSM4HKWUKRQ .
Add CONFIG += resources_big into the *.pro file.
from https://stackoverflow.com/questions/12231266/qt-compiling-error-out-of-memory-allocating-134-mb-cc1plus-exe-not-found
EDIT: idk if this link work markdown on mobile doesn't quite work
EDIT 2: CONFIG += resources_big is already at the top of the file
Op za 4 mei 2019 12:45 schreef Joshua van Waardenberg < joshuavwaardenberg@gmail.com>:
I believe appveyor had this issue too, i thought i added a CXX_FLAG for that but last time i checked it was gone. You should try googling for something like: resources_big qt creator
Op za 4 mei 2019 11:56 schreef Richel Bilderbeek <notifications@github.com
:
I guess the new graphics and sound consume too much memory (for now).
What happens when running in debug mode?
If I am right, the exception is thrown in sfml_resources 😁
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/richelbilderbeek/djog_unos_2018/issues/592#issuecomment-489312862, or mute the thread https://github.com/notifications/unsubscribe-auth/AG7ZHES7EGPZEGZADTCZFKLPTVMUJANCNFSM4HKWUKRQ .
Another solution could be just to copy the resources to the CWD (executable location for the team, parent dir on travis) without using a qrc since sfml is able to use uncompiled resources. You should assign me to if you want me to try this alternative solution.
Segfault borked under Linux.
I assume this fixed. @janderkkotlarski will work on this today, and create a new Issue if this still happens.
I have tried on 2 laptops and on both the following problem occurs: