- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello everyone,
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!
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Could you please try out if the precompiled Embree library works.
An error occuring before the main function indicates that some intialization of some static variable makes problems.
Please make sure that you do not call any Embree function in the initialization code of any static variable, e.g. do not initialize Embree through a static variable.
Could you give us the full stacktrace, best with debug symbols enabled?
Sven

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page