I appear to have the same issue as bayanaa.
My environment is Windows-7 Pro, my toolset is CMake 4.0.0, Visual Studio 2008, Fuzzylite 4.0. The Fuzzylite lib/dll/exe folders were successfully generated without errors. The Fuzzylite C++ code compiled and linked successfully in my application program (debug mode).
When executing the application, upon reaching the line of code:
there is a runtime error:
Unhandled exception at 0x75ffc41f in SIM.exe: Microsoft C++ exception: std::out_of_range at memory location 0x0290e60c..
I have tried using fuzzylite-static-dbg.lib, then fuzzylite-dbg.lib/fuzzylite-dbg.dll, always the same error. I am not sure what to do with _fuzzylite-dbg.lib, if anything.
As mentioned in your earlier post (July 3, 2014 at 08:40) you have a working MSVC APP (.sln, .proj) of the SimpleDimmer example in a single Main() file. It would be a great help if you could provide that working MSVC project. I suspect the problem lies in either the MSVC project Property settings, or a difference in the Fuzzylite bin files.
Thanks so much for your assistance.