I am new to OpenCASCADE. I am trying to build the OpenCASCADE library on Windows. I don't need any graphics as all I'm interested in is a console application that reads a brep file and tesselates it.
Using CMake I managed to configure my build to create static libraries with no graphics support. However, when I build my simple console application - essentially, I declare TopoDS_Shape myShape, BRep_Builder b, then try calling BRepTools::Read (myShape,argv,b).
For some reason, when I link the executable I end up with a lot of unresolved symbols - apparently, all of them from the math library: ACos, Log, ATan2, etc.
Can somebody help me out? Maybe I'm missing some header file or I'm not properly building some library.