Open CASCADE, the 3D modelling kernel
3D modeling & numerical simulation

Search the Forums
See All Topics

missing TKRBep.dll in my own project

missing TKRBep.dll in my own project
Ear MongHeng 2012/11/12 13:46
Hi friend,
I create my own project Open cascade with ms 2010. but when i run it,it has a error.

My code :

// ReadStepFile.cpp : Defines the entry point for the console application.

#include "stdafx.h"
#include <STEPControl_Reader.hxx>
#include <TopoDS_Shape.hxx>
#include <BRepTools.hxx>
#include <iostream>
//#include <XSControl_Reader.hxx>
//#include <TopTools_SequenceOfShape.hxx>
//#include <Handle_Standard_Transient.hxx>

Standard_Integer _tmain()
     STEPControl_Reader reader;
     IFSelect_ReturnStatus stat = reader.ReadFile("");

     Standard_Integer sti = reader.NbRootsForTransfer();

     return 0;

Error :

The program can't start because TKBRep.dll is missing from your computer. Try re installing the program to fix this problem.
You have to be logged in to download the attached file
Hans 2012/11/12 23:43
Look at my "workaround"-Thread. Should help you
Hans 2012/11/12 23:44
Ups, here is the URL :)
Ear MongHeng 2012/11/13 06:59
Hi my senior Hans
After i get your advise, i can resolve my problem and suddenly i find other solution. i just copy all *.dll file in casroot into C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC\bin(my path).
one question what is difference of this step and your step.

thank you in advanced.
Hans 2012/11/14 23:51
This step was described in my thread, too :)

The difference: With the *.bat files you setup an environment for VisualStudio and the systems searches for the *.dlls required by your *.exe in this evironment-parts.

Without those bats it searches for the required *.dll in the system-environment and in the location-folder of your *.exe.

I hope my description is some kind of correct. This is how i understand it :)
Latest news
  • Open CASCADE CAD Assistant for iOS platform is available!
  • Open CASCADE Technology 6.9.0 is available for download!
  • JT Assistant for Android

  • © OPEN CASCADE 2000 - 2015  |  Search  |  Contacts   |  Site map