I wrote the following C++ program that checks validates a STEP file:
using namespace std;
#define FILENAME "linkrods.step"
int main (int argc, char* argv)
// create reader and read the STEP file
IFSelect_ReturnStatus stat = reader.ReadFile(FILENAME);
if (stat != IFSelect_RetDone)
if (stat == IFSelect_RetVoid)
else if (stat == IFSelect_RetError)
// check the validity of the STEP file
IFSelect_PrintCount mode = IFSelect_ItemsByEntity;
I can compile this, but I cant link the program because I can't find any OpenCascade libraries.
What libraries should we use in this situation? Are they available?
Any help is greatly appreciated!!!