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

The .hxx files

Anonymous's picture
Forums: 

When I compile my executable files with the wok command 'umake', the compiler doesn't find the header files (but I downloaded the source files too !). The .hxx files are under /home/me:CAS4.0DVP1/Linux/inc and the compiler only sees the /home/me/wokentities/myfactory/mywokshop/mywokbench/inc directory. What can I do ?

An example of the error message is :

Info : -------> Sphdisplay.cxx Error : Errors occured in Shell /var/tmp/Bringard/CASCADE/wokentities/PostSPH/WKS/WKB/src/Test/Sphdisplay.cxx:9: Draw_Interpretor.hxx: No file found ... Error : Failed : Sphdisplay.cxx

Yan's picture

Either your workbench named "mywokbench" is not a son of the workbench where you downloaded the sources of Cascade or the location where you downloaded the sources is not known as a workbench. Try this: 1. Check you have the Cascade source files in a workbench (say "ref" in the following). To do that: tclsh> wokcd ref tclsh> wls 1.a) You get the list of all Cascade development units. It's OK. Now just re-parent your workbench so that he is the son of workbench ref: tclsh> wmove -f ref mywokbench tclsh> wokclose -a tclsh> wokcd mywokbench:Test tclsh> umake Every thing OK ? Yes. Bye 1.b) You get nothing. You need to create a workbench and place the downloaded files in it. The following command will create a workbench named ref and tell wok that it must be hooked under /home/me/ref directory (tarball downloaded in /home/me). tclsh> mv /home/me/CAS4.0DVP1 /home/me/ref tclsh> wcreate -DHome=/home/me/ref ref tclsh> wokcd -PAdm ref tclsh>sh sh> ls *.UDLIST > UDLIST sh>exit tclsh> woklcose -a tclsh> wls You get a bunch of output: The list of all units of Cascade. Now re-parent your workbench: tclsh> wmove -f ref mywokbench tclsh> wokclose -a tclsh> wokcd mywokbench:Test tclsh> umake Every thing OK ? Yes. Bye No. Send me a mail