1
General / Re: malloc: *** error for object 0x7fa16b8d6f60: pointer being freed was not allocat
« on: December 05, 2016, 06:05:35 am »
Ok, I solved it!!!!
Ok, so I started reading through the logs before I was going to post them and discovered a few things.
First of all,
is keeping the default flags, which was -std=gnu++14, so I went ahead and change it to not include the previously set flags. This solved the problem with the SSCCE, however I STILL had the problem in the actual program. As I started reading through THOSE logs, I noticed that they were reading SFML 2.3.x versions from the Framework that were somehow leftover, despite having all the recent version of the dylibs.
I deleted all the framework files and re-re-re-downloaded SFML manually and manually mv-ing them into their respective locations.
Anyway, you guys have been absolutely amazing and responsive. Sorry that this ended up being just a dumb environment issue. Hopefully this will help someone else in the future if they run into the same problem.
Ok, so I started reading through the logs before I was going to post them and discovered a few things.
First of all,
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14")
is keeping the default flags, which was -std=gnu++14, so I went ahead and change it to not include the previously set flags. This solved the problem with the SSCCE, however I STILL had the problem in the actual program. As I started reading through THOSE logs, I noticed that they were reading SFML 2.3.x versions from the Framework that were somehow leftover, despite having all the recent version of the dylibs.
I deleted all the framework files and re-re-re-downloaded SFML manually and manually mv-ing them into their respective locations.
Anyway, you guys have been absolutely amazing and responsive. Sorry that this ended up being just a dumb environment issue. Hopefully this will help someone else in the future if they run into the same problem.