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

An error occured when compiled the Tutorial

Bill Chen's picture
Forums: 

Hi All,
When I compiled "OpenCASCADE6.2.0\samples\tutorial\Tutorial.vcproj" there always occured an error:
1>Generation moc_View.cxx...
1>Can not find specify path
1>Project : error PRJ0019: A tool returned an error code from "Generation moc_View.cxx..."
But the samples in "OpenCASCADE6.2.0\samples\standard\mfc" can be compiled successfully.
Is anybody encounter this?

P Dolbey's picture

Looks like its trying to run "moc" (meta-object compiler). You need to install Qt to run this.

Pete

Bill Chen's picture

Hi Pete, Thank you for your help!
There is a "Meta Object Files" folder in the Trtorial project, but the files in it can not be found, so I removed them from the project, but when I'm compiling the project it also said "Generation moc_View.cxx...Can not find the specify path". How to remove them completely?
Is OpenCASCADE base on Qt? Why the samples in "OpenCASCADE6.2.0\samples\standard\mfc" can be compiled successfully?

P Dolbey's picture

I think you need to understand Qt and its tools first. I prefer it to MFC, but I wouldn't recommend that you play with the Qt tutorial, until you've looked at Qt on its own first.

Pete

Bill Chen's picture

I'm a beginner of OpenCASCADE, and I've never used Qt. I'm trying to play with the samples of MFC. Thank you!