-
Notifications
You must be signed in to change notification settings - Fork 52
Description
I have recently tried to compile K-3D 0.8.0.5 on Arch Linux and encountered some problems during the compilation of certain modules. I use cmake 3.5.2 and gcc 6.1.1. By the way, it is now possible to install K-3D from the Arch User Repository: https://aur.archlinux.org/packages/k3d/
These are the specific modules:
Carve Module / carve 1.4.0
Compilation fails because the header mesh.hpp is not present in carve 1.4.0. Do you use an older carve version or a fork?
carve/mesh.hpp: File or directory missing
#include <carve/mesh.hpp>
Google Perftools Module / gperftools 2.5
If the Perftools library is detected the default cmake run will fail because of this error message:
CMake Error at cmake/modules/K3DDependencies.cmake:14 (MESSAGE):
K3D_BUILD_GOOGLE_PERFTOOLS_MODULE requires K3D_ENABLE_PROFILING.
Call Stack (most recent call first):
CMakeLists.txt:277 (K3D_CHECK)
Preferably this error should not occur thus the module will only be activated if K3D_ENABLE_PROFILING is enabled. When profiling is enabled the following error message will occour:
CMake Error at modules/CMakeLists.txt:76 (TARGET_LINK_LIBRARIES):
Cannot specify link libraries for target "/usr/lib64/libprofiler.so" which
is not built by this project.
Call Stack (most recent call first):
modules/3ds_io/CMakeLists.txt:3 (K3D_BUILD_MODULE)
Open CASCADE Module / Open CASCADE 6.9.1
Compilation fails because the file gprim_factory.h seems no longer be part of K-3D.
/home/thomas/abs/k3d/src/k3d/modules/opencascade/opencascade_document_importer.cpp:34:34: fatal error k3dsdk/gprim_factory.h: File or directory missing
#include <k3dsdk/gprim_factory.h>
Collada IO Module / collada-dom 2.4
Module seems no longer to be compile against current library version. Missing namespace usage and a type incompatibility problem.
Aqsis Module / aqsis 1.8.2
When compiling Aqsis from source it doesn't seem to include cmake package information so find_package will fail during cmake configuration.