DiscussionsIssue archiveOther usage issues

Archived discussion

tbbmalloc.dll not found??

Other usage issuesThu, 04/07/2011 - 10:237 replies

Browse this forum
QuestionAuthor

tbbmalloc.dll not found?
after i download one and put into the bin folder, it shows that this is not working...?

Please help???

Discussion

7 archived replies

Posts are displayed in their archived order.

01Commenter-1

Hi Wang Jun,
The environment variable TBBBIN defines location of the specified dll:
"OCCT3RDPARTY=%CASROOT%\..\3rdparty\win32"
"TBBBIN=%OCCT3RDPARTY%\tbb\bin"
See env.bat file at the "...\ros" directory.
Regards
Commenter-1

02Author

Thanks sergey! I see.
When I run the batch file, the evn variables only work temporarily. If I want them working permanently, I have no choice but to set those variables manually, right???

03Commenter-1

Hi,
For sure it works in scope of the current command.
You may prepare your own script (which will call corresponding *.bat file defining environment variables) to run your sample. Or you may define it as permanent via Environment variables of "System properties" (My Computer / View system information / Advanced).
Regards

04Author

Got it, thanks a lot!

05Commenter-2

i have tried this, did not work.
i have copied and pasted in visual studio's debug folder, did not work.
i have tried regsvr32, it said "no entry point for dll".
i am using 6.5.1, the latest occ, could you advise some where to look at to find some true tbbmalloc.dll?
thanks

06Commenter-3

You have this problem because you have probably compiled OCC in debug mode.
If you choose release mode and don't need tbb, then you will not have this problem any more.
Otherwise you can get tbb ( http://threadingbuildingblocks.org/ ), build it then get your missing library.

Best regards,

Romain.

07Commenter-4

I see tbb.dll + tbb_debug.dll. My project always requered tbb_debug.dll even project in release mode. How to compile OCC in release mode to avoid using tbb_debug.dll and use tbb.dll as default ?