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

File missing in DataExchange ?

Anonymous's picture
Forums: 

I've just download the new DataExchange package. In the files MoniMessage_MsgFile.cxx and MoniMessage_Printer.cxx (and perhaps others) there is an #include directive. Neither the compiler nor me by hand could find this file in your distribution... Where is it ?

Roman Lygin's picture

Dear Francois,

I suppose you mention missing Dico_DictionaryOfTransient.hxx. Anyway, you have to download updated "Foundation classes" package - it is extended with two more units Dico and LibCtl. Please refer to http://www.opencascade.org/about/relnotes.html.

Good luck !

Roman

Thomas Moreau's picture

Hi !

When compiling Data Exchange files, I get some compiling errors.

I got first the same errors as Francois. It's resolved thanks to Roman.

But now, I still have a problem when compiling IGESSelect_EditHeader.cxx:

error C2664: 'SetSatisfies' : cannot convert parameter 1 from 'unsigned int (const class Handle_TCollection_HAsciiString &)' to 'unsigned int (__cdecl *const & )(const class Handle_TCo llection_HAsciiString &)'

Context does not allow for disambiguation of overloaded function

Do you have any idea ?

Thanks, Thomas

Roman Lygin's picture

Dear Thomas,

You might met the same problem compiling other sources that use any of the following:

1. MoniTool_ValueSatisfies, 2. MoniTool_ValueInterpret, 3. IFSelect_ActFunc

(or their aliases as, for instance, Interface_TypedValue which is MoniTool_TypedValue).

The reason of the fail is that WNT cannot accept syntax like "const TYPE&" where TYPE is a pointer to a function, it requires just "const TYPE".

This problem is already fixed and the fix will be available in PR4. To proceed now please rename the following header files *_wnt.hxx files to corresponding *.hxx without suffix "_wnt":

1. MoniTool_TypedValue_wnt.hxx, 2. IFSelect_Act_wnt.hxx

Good luck !

Best regards, Roman