fatal error C1083 when compiling Tutorial with VC 2008
fatal error C1083 when compiling Tutorial with VC 2008
Michael Glockenmeier
2009/06/20 17:22
Hi,
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?
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?