Error in GeomAPI_ProjectPointOnSurf?

i´m using VS 2005 with OCC 6.1.1 and it works fine.
If i use GeomAPI_ProjectPointOnSurf, i got linker-errors:

Fehler 1 error LNK2028: Nicht aufgelöstes Token (0A00057B) ""public: void __thiscall Extrema_SequenceOfPOnSurf::Clear(void)" (?Clear@Extrema_SequenceOfPOnSurf@@$$FQAEXXZ)", auf das in Funktion ""public: __thiscall Extrema_SequenceOfPOnSurf::~Extrema_SequenceOfPOnSurf(void)" (??1Extrema_SequenceOfPOnSurf@@$$FQAE@XZ)" verwiesen wird. OCCViewer.obj

Fehler 2 error LNK2019: Verweis auf nicht aufgelöstes externes Symbol ""public: void __thiscall Extrema_SequenceOfPOnSurf::Clear(void)" (?Clear@Extrema_SequenceOfPOnSurf@@$$FQAEXXZ)" in Funktion ""public: __thiscall Extrema_SequenceOfPOnSurf::~Extrema_SequenceOfPOnSurf(void)" (??1Extrema_SequenceOfPOnSurf@@$$FQAE@XZ)". OCCViewer.obj

juri's picture

if somebody is interested, i got the error:

in Extrema_SequenceOfPOnSurf.hxx
in the destructor is an external referende to Clear(), which VS2005-Compiler doesnt like.
i simply commented it out.

greetings