Source http://www.k-3d.org/
Main errors:
INCLUDE(K3DFindFreetype2) # freetype6-dev
INCLUDE(K3DFindGtkmm) #DEBUG
https://gtkmm.org/en/download.html #works with version 2.x
INCLUDE(K3DFindFTGL) #DEBUG
#To DEBUG Variables
message(STATUS "DEBUG: K3D_FREETYPE2_FOUND: ${K3D_FREETYPE2_FOUND}")
message(STATUS "DEBUG: Aqsis_FOUND: ${Aqsis_FOUND}")
#Support CUDA need to enable in CMakeLists.txt (main)
Day 2:
K3DFindBoost.cmake (update paths)
SET(K3D_BOOST_INCLUDE_DIR "/usr/local/include" CACHE PATH "Override the default location for Boost header files.")
SET(K3D_BOOST_LIBRARY_DIR "/usr/local/lib" CACHE PATH "Override the default location for Boost libraries.")
renderframe/CMakeLists.txt
LINK_DIRECTORIES() #add boost path
TARGET_LINK_LIBRARIES() #add boost_regex boost_program_options boost_system boost_python27 boost_thread boost_date_time
#disable CGAL
#K3D_CHECK(K3D_BUILD_CGAL_MODULE REQUIRES K3D_CGAL_FOUND RESOURCE "CGAL") #DEBUG
No comments:
Post a Comment