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

fatal error C1083 when compiling Tutorial with VC 2008

Michael Glockenmeier's picture


I´ve tried to compile the Tutorial project with Visual C++ Express Edition and got some error messages of this type:

c:\programme\fem_opencascade\opencascade6.3.0\samples\tutorial\src\view.h(4) : fatal error C1083: Datei (Include) kann nicht geöffnet werden: "QWidget": No such file or directory

I´m not so familiar with VC 2008 and C++ programming but I think there may be the path to some QT includes missed, right? What should I do?



Michael Glockenmeier's picture


I found a solution here: http://da-crystal.net/GCMS/blog/qt-windows-amp-vc-2008-express-part1/

Be aware that \include, \bin and \lib are in C:\Programme\QT\2009.02\qt, not in C:\Programme\QT! So QTDIR needs to be set to C:\Programme\QT\2009.02\qt.

Now I get some error messages of this type: moc_View.cxx
c:\programme\fem_opencascade\opencascade6.3.0\samples\tutorial\win32\src\moc_view.cxx(14) : fatal error C1189: #error : "This file was generated using the moc from 4.2.3. It"

I have installed QT 4.5. What do I have to do now?