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/libTKDraw.so
/usr/bin/ld: cannot find -ltcl8.6
collect2: ld returned 1 exit status
make: *** [lin64/gcc/lib/libTKDraw.so.7.0.0] Erreur 1
make: *** [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