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

Search the Forums
See All Topics
Open CASCADEShowroomGet it!Developer CornerSupport and ProductsAbout us
Technical overview
Areas of use
Advantages
FAQ
Screenshots
Shape factory
Shape gallery
Demonstrations
What's new
System requirements
Download Center
Public license
Documentation
Getting started
Forums
Open Source community
Training and e-learning
A-la Carte Support
Value-added software
Complementary Components
Customer Corner
Company Profile
Marketing Materials
Contact Us
News
Home / Developer Corner / Forums / Usage issues / missing TKRBep.dll in my own project

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 http://www.opencascade.org/org/forum/thread_23705/?forum=4 :)
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 Technology 6.7.0 is available for download!
  • Open CASCADE Technology 6.6.0 is available for download!
  • Open CASCADE Technology 6.5.5 is available for download!

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