DiscussionsIssue archiveOther usage issues

Archived discussion

Unable to build samples qt tutorial

Other usage issuesWed, 08/12/2015 - 17:181 reply

Browse this forum
QuestionAuthor

Hi all

I am unable to build qt samples with vc2010. Can you help me? I am getting this errors while building tutorial-vc10.sln.. It seems the ts file and the related resources are not found by compiler. I am simply using the vs2010 solution that was originally given by OCCInstaller. Please suggest something how can I get rid of this errors.

Regards
Author

///////////////////////////////////////////////////////////////////////////////////////////////////////
CustomBuild:
1> MOC ..\Common\src\ApplicationCommon.h
1> MOC src\ApplicationTut.h
1> MOC ..\Common\src\DocumentCommon.h
1> MOC src\DocumentTut.h
1> MOC ..\Common\src\MDIWindow.h
1> MOC ..\Common\src\Material.h
1> MOC ..\Interface\src\Translate.h
1> MOC ..\Common\src\Transparency.h
1> MOC ..\Common\src\View.h
1> LRELEASE ..\Common\src\Common-icon.ts
1>CUSTOMBUILD : warning : dropping duplicate messages in 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Common-icon.qm':
1>
1> * Context: QObject
1> * Source: ICON_TOOL_RAYTRACING
1>
1> Updating 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Common-icon.qm'...
1>CUSTOMBUILD : lrelease error : cannot create 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Common-icon.qm': The system cannot find the path specified.
1> LRELEASE ..\Common\src\Common-string.ts
1> Updating 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Common-string.qm'...
1>CUSTOMBUILD : lrelease error : cannot create 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Common-string.qm': The system cannot find the path specified.
1> LRELEASE src\Tutorial-icon.ts
1> Updating 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Tutorial-icon.qm'...
1>CUSTOMBUILD : lrelease error : cannot create 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Tutorial-icon.qm': The system cannot find the path specified.
1> LRELEASE src\Tutorial-string.ts
1> Updating 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Tutorial-string.qm'...
1>CUSTOMBUILD : lrelease error : cannot create 'y:\builds\vc10\IR-2015-05-07-IR-2015-05-07-occt-64\samples\qt\Tutorial\win64\vc10\res/Tutorial-string.qm': The system cannot find the path specified.
1> Copy resource res\Bottle.png
1> The system cannot find the path specified.
1> Copy resource res\SampleImportExport.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\antialiasing.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\cascade.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\close.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\cursor_rotate.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\cursor_zoom.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\document.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\help.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\lamp.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\new.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\raytracing.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\reflections.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\shadows.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tile.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool-shading.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool_color.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool_delete.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool_material.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool_shading.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool_transparency.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\tool_wireframe.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_axo.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_back.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_bottom.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_comp_off.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_comp_on.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_fitall.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_fitarea.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_front.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_glpan.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_left.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_pan.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_reset.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_right.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_rotate.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_top.png
1> The system cannot find the path specified.
1> Copy resource ..\Common\res\view_zoom.png
1> The system cannot find the path specified.
1>
1>Build FAILED.

Discussion

1 archived reply

Posts are displayed in their archived order.

01Commenter-1

Dear Author,
Don't use old project files kept in tutorial directory by mistake.
I suggest you to download once again OCCT6.9.0 (qt 3rd-party product missed some files) as a first step.
After that:
1) set QTDIR and PATH variables in 'genproj.bat' file (see comments at the file header)
2) generate project file for your environment, for example
genproject.bat vc10 win64 Release
3)start Vsudio using mscvc.bat:
msvc.bat vc10 win64 Release
4)build the project

Best regards
FSR