For all issues regarding the Forums use, please, refer to the Forum Rules.

Our Solutions

Need professional assistance?
Consider our:

Support Offerings

 

Need to speed up your development?
Have a look at our:

Samples & Tools

 

Need some functionality extending standard OCCT capabilities?
Check out our:

Adv. Components

Related pages

RedHat 7.1 problem...

Anonymous's picture
Forums: 

Hi !

I get errors compiling the OCC DEV 4 source code on my RedHat 7.1, the bad file is AdvApp2Var_Iso.cxx at line 244.

Sorry I don't have the error message here at the moment, but it had something with "const" declarations to do.

- Has any one else this problems to ?

- Does it work with gcc 2.95.x compilers ?

- Has this problem been solved in the cvs ver ?

Mikael

philippe poncot's picture

the correction will be publish in the CVS Repostory this evening . the correction is :

substitute in AdvApp2Var/AdvApp2Var_Iso.cxx ( line 242 ):

Ma2fnc(&NDIMEN,&NBSESP,&NDIMSE,UVFONC,Func,&TCONST,&ISOFAV,&NBROOT,ROOTLG,

&IORDRE,&iapp,&NDGJAC,&NBCRMX,&NCFLIM,EPSAPR,&ncfapp,CRBAPP,&NBCRBE,

SOMAPP,DIFAPP,CONTR1,CONTR2,TABDEC,EMXAPP,EMYAPP,&ierapp);

by :

Ma2fnc(&NDIMEN,&NBSESP,&NDIMSE,UVFONC,(void *)Func,&TCONST,&ISOFAV,&NBROOT,ROOTLG,

&IORDRE,&iapp,&NDGJAC,&NBCRMX,&NCFLIM,EPSAPR,&ncfapp,CRBAPP,&NBCRBE,

SOMAPP,DIFAPP,CONTR1,CONTR2,TABDEC,EMXAPP,EMYAPP,&ierapp);

in the same wat : /src/AdvApp2Var/AdvApp2Var_Patch.cxx ( li 328 )

subsitute : Ma2ds1(&NDIMEN,UDBFN,VDBFN,Func,&NBPNTU,&NBPNTV,UROOT,VROOT,&ISOFAV,

SOSOTB,DISOTB,SODITB,DIDITB,PTS,TAB,&IERCOD);

by :

Ma2ds1(&NDIMEN,UDBFN,VDBFN,(void *)Func,&NBPNTU,&NBPNTV,UROOT,VROOT,&ISOFAV,

SOSOTB,DISOTB,SODITB,DIDITB,PTS,TAB,&IERCOD);

Philippe

Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.