home Forums # Technical Support std::bad_alloc Runtime Error Reply To: std::bad_alloc Runtime Error

#2220
Unknown
Member

Hi Juan,
Thank you very much.
I’m still having the same problems.
I was able to compile the library using the procedure that you sent me, and the compilation was successful. The correct files where generated in the bin folder.
In order to test, to see if I’m using the library correctly, I made a test program in VS2008 very similar to the examples found in the fuzzylite folder. I can generate the solution without problems, but when I try to test the program by debugging, I have that std::bad_alloc error in the engine construction.
I also installed VS2010, and try to generate the solution using the original library (the downloaded from the website), but I’m having exactly the same error.
I also try to performed the same procedure to compile the fuzzylite library but in this case with VS2010. This was unsuccessful. Below the output of the log file.
The dll is well defined in the system path. I’m including the library and the Headers.h in the solution, I don’t know what I’m doing wrong.
Thank you very much and best regards.

STARTING: release
— The CXX compiler identification is MSVC 16.0.30319.1
— Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe
— Check for working CXX compiler: C:/Program Files (x86)/Microsoft Visual Studio 10.0/VC/bin/cl.exe — broken
— Configuring incomplete, errors occurred!