Closed mcoder2014 closed 6 years ago
But you set the directories as an absolute path. Maybe you can change it or remind this thing to others at readme.md.
readme.md
/modules/CvGL/CMakeLists.txt
cmake_minimum_required(VERSION 2.8) include_directories(${OpenCV_INCLUDE_DIRS}) include_directories("/nfs/isicvlnas01/users/anhttran/lib/Mesa-7.5.1/release/include") SET(SOURCE FBRender.cpp ) SET(HEADERS cvgl.h FBRender.h Material.h SimpleMesh.h Texture.h ) add_library( CvGl SHARED ${SOURCE} ${HEADERS}) target_link_libraries(CvGl -lm -L/nfs/isicvlnas01/users/anhttran/lib/Mesa-7.5.1/release/lib) install (TARGETS CvGl DESTINATION .)
Yes, you can change it.
The module CvGL seems need Mesa-7.5.1.
But you set the directories as an absolute path. Maybe you can change it or remind this thing to others at
readme.md
./modules/CvGL/CMakeLists.txt