but what I miss is the OCC 7.3 part... in which way can I install occ7.3 for a building? And can those coexist with occ.7.2?
thanks for your support
Code: Select all
##########################################################
# OpenCascade 7.3.0 build instructions for Kubuntu 18.04 #
##########################################################
# install needed dependencies
sudo apt install cmake build-essential libfreetype6-dev tcl-dev tk-dev libxi-dev libxmu-dev libglu1-mesa-dev mesa-common-dev
# fix for the "xlocale" bug
sudo ln -s /usr/include/locale.h /usr/include/xlocale.h
# build and install
cd ~/Software/opencascade-7.3.0
mkdir ./build
cd ./build
cmake -INSTALL_DIR=/usr/local/occt-7.3.0 ..
make -j8
# the install step below shouldn't be necessary for building FC
# sudo make install
Hi @Chris_G
Code: Select all
cmake ..
-- Compiler: GNU, version: 7.3.0
-- prefix: /usr/local
-- datadir: data
-- docdir: doc
-- includedir: include
-- libdir: /usr/local/lib
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- filesystem
-- program_options
-- regex
-- signals
-- system
-- thread
-- chrono
-- date_time
-- atomic
-- Found Xerces-C: /usr/lib/x86_64-linux-gnu/libxerces-c.so
-- PyCXX found:
-- Headers: /home/user/Documents/FC-ChrisG/src
-- Sources: /home/user/Documents/FC-ChrisG/src/CXX
-- Version: 6.2.8
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEFoundationClassesTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEModelingDataTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEModelingAlgorithmsTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEVisualizationTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEApplicationFrameworkTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEDataExchangeTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at /home/user/Documents/opencascade-7.3.0/build/OpenCASCADEConfig.cmake:97 (include):
include could not find load file:
/home/user/Documents/opencascade-7.3.0/build/OpenCASCADEDrawTargets.cmake
Call Stack (most recent call first):
cMake/FindOpenCasCade.cmake:39 (find_package)
CMakeLists.txt:644 (find_package)
CMake Error at cMake/FindOpenCasCade.cmake:94 (file):
file STRINGS file
"/home/user/Documents/opencascade-7.3.0/include/opencascade/Standard_Version.hxx"
cannot be read.
Call Stack (most recent call first):
CMakeLists.txt:644 (find_package)
CMake Error at cMake/FindOpenCasCade.cmake:97 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:644 (find_package)
CMake Error at cMake/FindOpenCasCade.cmake:98 (file):
file STRINGS file
"/home/user/Documents/opencascade-7.3.0/include/opencascade/Standard_Version.hxx"
cannot be read.
Call Stack (most recent call first):
CMakeLists.txt:644 (find_package)
CMake Error at cMake/FindOpenCasCade.cmake:101 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:644 (find_package)
CMake Error at cMake/FindOpenCasCade.cmake:102 (file):
file STRINGS file
"/home/user/Documents/opencascade-7.3.0/include/opencascade/Standard_Version.hxx"
cannot be read.
Call Stack (most recent call first):
CMakeLists.txt:644 (find_package)
CMake Error at cMake/FindOpenCasCade.cmake:105 (string):
string sub-command REGEX, mode MATCH needs at least 5 arguments total to
command.
Call Stack (most recent call first):
CMakeLists.txt:644 (find_package)
-- -- Found OCE/OpenCASCADE version: ..
-- -- OCE/OpenCASCADE include directory: /home/user/Documents/opencascade-7.3.0/include/opencascade
-- -- OCE/OpenCASCADE shared libraries directory: /home/user/Documents/opencascade-7.3.0/lib
-- The imported target "vtkRenderingPythonTkWidgets" references the file
"/usr/lib/x86_64-linux-gnu/libvtkRenderingPythonTkWidgets.so"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.
-- The imported target "vtk" references the file
"/usr/bin/vtk"
but this file does not exist. Possible reasons include:
* The file was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and contained
"/usr/lib/cmake/vtk-6.3/VTKTargets.cmake"
but not all the files it references.
-- VTK components: vtkCommonCore;vtkCommonDataModel;vtkFiltersVerdict;vtkIOXML;vtkFiltersCore;vtkFiltersGeneral;vtkIOLegacy;vtkFiltersExtraction;vtkFiltersSources;vtkFiltersGeometry;vtkIOMPIParallel;vtkParallelMPI;vtkhdf5;vtkRenderingCore;vtkInteractionStyle;vtkRenderingFreeType
-- Check for medfile (libmed and libmedc) ...
-- Checking for module 'Coin'
-- No package 'Coin' found
-- libshiboken built for Release
-- Found PySide Tools: /usr/bin/pyside-uic, /usr/bin/pyside-rcc
-- -- matplotlib-2.1.1 has been found.
-- Platform is 64-bit, set -D_OCC64
-- Build type:
git
/home/user/Documents/FC-ChrisG/build/src/Build/Version.h written
-- setting gcc options: -Wall -Werror -Wno-deprecated -pedantic-errors
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message):
No header defined for python27; skipping header check
Call Stack (most recent call first):
src/Mod/Path/libarea/CMakeLists.txt:20 (find_package)
-- Could NOT find Boost
CMake Warning at /usr/share/cmake-3.10/Modules/FindBoost.cmake:1626 (message):
No header defined for python2; skipping header check
Call Stack (most recent call first):
src/Mod/Path/libarea/CMakeLists.txt:23 (find_package)
-- Could NOT find Boost
-- Boost version: 1.65.1
-- Found the following Boost libraries:
-- python
-- found Boost: 1_65_1
-- boost-incude dirs are: /usr/include
-- boost-python lib is: /usr/lib/x86_64-linux-gnu/libboost_python.so
-- boost_LIBRARY_DIRS is: /usr/lib/x86_64-linux-gnu
-- Boost_LIBRARIES is: /usr/lib/x86_64-linux-gnu/libboost_python.so
-- area module (for Path Workbench) will be installed to: /usr/local/lib
-- Coin3D doc is not installed
=======================================
Now run 'make' to build FreeCAD
=======================================
-- Configuring incomplete, errors occurred!
See also "/home/user/Documents/FC-ChrisG/build/CMakeFiles/CMakeOutput.log".
See also "/home/user/Documents/FC-ChrisG/build/CMakeFiles/CMakeError.log".
user@ubi18:~/Documents/FC-ChrisG/build$
Code: Select all
OCC_INCLUDE_DIR /home/tomate/Software/opencascade-7.3.0_install/include/opencascade
OCC_LIBRARY /home/tomate/Software/opencascade-7.3.0_install/lib/libTKernel.so
OpenCASCADE_DIR /home/tomate/Software/opencascade-7.3.0/build
thx! finally I got it built!
PS @sgrogan do you think it would be possible to have a Windows daily build with OCC 7.3?
Chris_G wrote: ↑Wed Jul 04, 2018 4:03 pm Oh no, it looks like Mr. Silly made a mistake with "git rebase" ...
Now, my commits are duplicated : https://github.com/tomate44/FreeCAD/com ... featuring3
I don't dare to try any "rescue" on the repo, because I know I am able to destroy it MUCH more
Help, please ?
Code: Select all
git checkout -b defeaturing4 defeaturing3
git reset --hard 5129f8fccc
Code: Select all
git checkout defeaturing3
git branch -d defeaturing4
Thanks tanderson,