I am trying to use Embree for tracing the scene (just for visibility) of an existing project of mine. I can compile the program without giving any errors. However, when I try to run it, it gives an unhandled exception (std::bad_alloc at memory) before even the main function is started to execute. Last thing in the call stack is "KernelBase.dll" called after "embree.dll".
Could you give me an idea about the point I am missing?
Thank you, have a nice day!