Has anyone done this before ? I am not able to get it to work. Following are my steps:
- Download the windows package from link
- I can run qfuzzylite (gui-tool) without any problem. Now I want to use the fuzzylite lib in my Visual Studio + Qt Integration Project.
- In the CMake GUI I give fuzzylite source folder as the input folder and select Visual Studio 2010 as the compiler.
- I am able to generate the Visual Studio fuzzylite solution in CMake without any errors.
- Then, I tried to build the Visual Studio solution, but it fails with some weird errors. However, it does generate the fuzzylite-dbg.lib file (which I need).
- Then I use this lib file and the fuzzylite.dll and include the path to the Headers in the VS Project. The project builds without any errors.
Now in the code I am doing
fl::Engine* engine = new fl::Engine("simple-dimmer");
This fails with the following exception:
exception text: bad allocation
exception type: class std::bad_alloc