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

Error when building Open Cascade with "make" on Linux

daval baptiste's picture

hi ,

I'm try to build Open Cascade 7.0 with "make" on Linux, and the error message in the terminal is :

[ 95%] Linking CXX shared library ../../lin64/gcc/lib/
/usr/bin/ld: cannot find -ltcl8.6
collect2: ld returned 1 exit status
make[2]: *** [lin64/gcc/lib/] Erreur 1
make[1]: *** [src/TKDraw/CMakeFiles/TKDraw.dir/all] Erreur 2
make: *** [all] Erreur 2

I look in the folder, the file does not present her as "libTKDraw" is set. The same for libTcl (i have libTcl8.5 but i find open cascade seeks 8.5 & 8.6).

and I put away the build directory with "cmake 3.5.0". the message displayed in the terminal and the following:

-- Info: TCL is used by OCCT
-- Info: TCL version isn't found
-- Info: TK is used by OCCT
-- Info: TK version isn't found
-- Info: Freetype is used by OCCT
-- Info: TKIVtk and TKIVtkDraw toolkits excluded due to VTK usage is disabled
-- Info: The directories of 3rdparty headers:
-- Info: The directories of 3rdparty libraries:
Info: (11:37:34) Start collecting all OCCT header files into /home/bdaval/Desktop/build/inc ...
-- Info: (11:37:34) Compare FILES with files in package directories...
-- Warning. File /home/bdaval/Desktop/opencascade-7.0.0/src/StepFile/step.yacc is not listed in /home/bdaval/Desktop/opencascade-7.0.0/src/StepFile/FILES
-- Warning. File /home/bdaval/Desktop/opencascade-7.0.0/src/StepFile/step.lex is not listed in /home/bdaval/Desktop/opencascade-7.0.0/src/StepFile/FILES
-- Info: (11:38:25) Create header-links in inc folder...
-- Info: (11:38:28) Checking headers in inc folder...
-- Info: (11:38:31) End the collecting
-- Warning: TCL version has not been specified by CSF_TclLibs defining thus it will be used as 8.6
-- Warning: TK version has not been specified by CSF_TclTkLibs defining thus it will be used as 8.6
-- Configuring done
-- Generating done
-- Build files have been written to: /home/bdaval/Desktop/build

it does not work but  I have already install the library the different libraries i don't understand the configuration and i hope get help or explanation .

thank you ,greeting

daval baptiste's picture

my problem is solved, then the compilation program seeks libtcl8.5 &  libtcl8.6 and libtk8.5  & libtk8.6.

in my computer I have the version 8.4 & 8.5.
to solve the problem was renamed 8.5 => 8.6 with the command "cp".

Madhu Vanam's picture


I have followed steps to configure, generate and build OCCT on Xcode using, all the steps were successful and was able to launch XCode using but to start DRAWEXE, i don't see in OCCT Root Directory.

Running the script "./ xcd [d]" gives no such file or directory (obvious). Am i missing something??

Any help is appreciated.

Thank you,



Contact us

Attention: DO NOT use this form for all kind of request for the removal of your personal data. Please follow this link for such cases.