code not work in brx

Dear
i have code written by objectarx c++ this code not work in bricscad

this the code

AcDbDatabase *pDb = acdbHostApplicationServices()->workingDatabase();

Acad::ErrorStatus es;



AcDbObjectId surfaceId1 = AcDbObjectId::kNull;

AcDbObjectId surfaceId2 = AcDbObjectId::kNull;

AcDbSweepOptions sweepOptions;



// Create the first cylindrical surface

AcGePoint3d center1 = AcGePoint3d::kOrigin;

double radius1 = 10.0;

double height1 = 5.0;

AcDbCircle *pCircle1 = new AcDbCircle(center1, AcGeVector3d::kZAxis, radius1);


AcDb3dProfile circularProfile1(pCircle1); // i received error at this line : error C2027: use of undefined type 'AcDb3dProfile'

there is any help to solve this
thank you very much