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

compilation of samples of opencascade

ATTIA's picture

Afficher en écriture latine
Hello,
I want to compile the samples opencascade purpose of the following errors appear:
> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (113): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (113): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (113): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (115): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (118): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (124): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (134): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (134): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (134): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (136): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (139): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (145): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (154): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (154): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (154): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (156): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (159): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (165): error C2065: 'j': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (225): error C2065: 'i': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (225): error C2065: 'i': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (225): error C2065: 'i': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (227): error C2065: 'i': undeclared identifier
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (227): error C2228: the left '. Index' must have class / struct / union
1> c: \ opencascade6.3.0 \ samples \ standard \ mfc \ 03_2dsamples \ 03_5_2dattributes \ src \ 2dattributesdoc.cpp (230): error C2065: 'i': undeclared identifier
In addition, when I compile all the examples appear this error
LINK: fatal error LNK1181: can not open input file '.. \ mfcsample \ debug \ mfcsample.lib'

Pawel's picture

This should help:
http://www.opencascade.org/org/forum/thread_13330/

Pawel

ATTIA's picture

Thank you Paul, for your answer.