nana

Cannot use nana library

梦想与她 提交于 2019-12-11 11:53:21
问题 I try to use Nana library with Code::Block IDE. I made all settings like here and add -std=C++11 flag and Boost include path but it's print next error on building: nana/include/nana/paint/graphics.hpp|143|error: ‘unsigned int nana::paint::graphics::bidi_string(const nana::point&, const char*, std::size_t)’ cannot be overloaded| nana/include/nana/paint/graphics.hpp|142|error: with ‘unsigned int nana::paint::graphics::bidi_string(const nana::point&, const char_t*, std::size_t)’| I only start

include_directories for imported library

萝らか妹 提交于 2019-12-06 10:20:01
问题 I am writing project in c++, and I have problem with importing libraries in cmake. The third party library, which is importing, does not propagate include directories. Root /CMakeLists.txt # Top level CMakeLists.txt cmake_minimum_required(VERSION 3.9.2 FATAL_ERROR) project(camera_calib) add_subdirectory(${PROJECT_SOURCE_DIR}/nana) file(GLOB SRC "${PROJECT_SOURCE_DIR}/src/*.cpp") add_executable(camera_calib_exe ${SRC}) target_include_directories(camera_calib_exe PRIVATE ${PROJECT_SOURCE_DIR}

include_directories for imported library

元气小坏坏 提交于 2019-12-04 14:01:15
I am writing project in c++, and I have problem with importing libraries in cmake. The third party library, which is importing, does not propagate include directories. Root /CMakeLists.txt # Top level CMakeLists.txt cmake_minimum_required(VERSION 3.9.2 FATAL_ERROR) project(camera_calib) add_subdirectory(${PROJECT_SOURCE_DIR}/nana) file(GLOB SRC "${PROJECT_SOURCE_DIR}/src/*.cpp") add_executable(camera_calib_exe ${SRC}) target_include_directories(camera_calib_exe PRIVATE ${PROJECT_SOURCE_DIR}/include) target_link_libraries(camera_calib_exe nana_lib) /nana/CMakeLists.txt # nana c++ gui CMakeLists