- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
I compiled the OpenCV2.1 with TBB-3.0 using MinGW 4.5.2 for Windows 32-bit, but
now all applications that i rebuild with new libs are crashes (all applications
are built successfully).
I can't debug using these libraries and don't know what might be happening
I would appreciate if someone can help me
Thanks in advance.
I compiled the OpenCV2.1 with TBB-3.0 using MinGW 4.5.2 for Windows 32-bit, but
now all applications that i rebuild with new libs are crashes (all applications
are built successfully).
I can't debug using these libraries and don't know what might be happening
I would appreciate if someone can help me
Thanks in advance.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Try to localize the source of the problem
- If you can, recompile everything with another compiler (or for another platform) to see if it is specific to MinGW.
- If possible, recompile OpenCV to not use TBB. Does the problem go away after that?
- Does OpenCV provide control over the degree of parallelism / number of threads to use? If yes, set it to 1 (no parallelism) and see whether it eliminates the problem.
- Do you have any additional parallelism/threading in the application(s)? If yes, try removing it.
- Why can't you debug? TBB libs can be built in debug mode, so you should be able to do some debugging. Possibly trying it on another platform can help with debugging as well.
- If you can, recompile everything with another compiler (or for another platform) to see if it is specific to MinGW.
- If possible, recompile OpenCV to not use TBB. Does the problem go away after that?
- Does OpenCV provide control over the degree of parallelism / number of threads to use? If yes, set it to 1 (no parallelism) and see whether it eliminates the problem.
- Do you have any additional parallelism/threading in the application(s)? If yes, try removing it.
- Why can't you debug? TBB libs can be built in debug mode, so you should be able to do some debugging. Possibly trying it on another platform can help with debugging as well.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Now is working, I forgot to add the TBB binaries to directory of additional libraries on Netbeans.
I was not able to debug because it was crashing before running the main I think.
Thanks for the help
I was not able to debug because it was crashing before running the main I think.
Thanks for the help
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page