I am using Qt Creator with Qt 5.5.0 and MinGW with GCC 5.1.0 on Windows 10 x64. The ChaiScript version is 5.7.1.
I have tried compiling the examples of chaiscript; although the compilation process goes fine with both the basic and the ChaiScript Compiled in Stdlib example, the compiled executable will always fail loading the chaiscript_stdlib dll. most of times it will fail with:
Starting D:\Documents\Qt\Builds\ChaiScript_Test-x32\debug\ChaiScript_Test.exe... This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. D:\Documents\Qt\Builds\ChaiScript_Test-x32\debug\ChaiScript_Test.exe exited with code 255
The debugger adds this info:
terminate called after throwing an instance of 'chaiscript::exception::load_module_error' what(): Unable to find module: chaiscript_stdlib-5.7.1 Errors: Impossibile trovare il modulo specificato.
Can someone please give me some instructions on how to compile the chaiscript_stdlib dll? or some other advice that would make chaiscript work with MinGW?
BTW I have both MinGW32 and MinGW64, and I would like it to work on both