Skip to content

[nanogui] update to 16/10/2020 - also it's broken #17052

@SamuelMarks

Description

@SamuelMarks

Library name: nanogui

New version number:

Other information that may be useful (release notes, etc...)

https://github.com/mitsuba-renderer/nanogui


The current version doesn't seem to install the headers anywhere, so it doesn't actually build.

CMakeLists.txt

cmake_minimum_required(VERSION 3.0)
cmake_policy(SET CMP0048 NEW)
project(pp VERSION 0.0.0 LANGUAGES CXX)

set(src src/main.cpp)

find_package(nanovg CONFIG REQUIRED)

add_executable(${PROJECT_NAME} ${src})
target_link_libraries(${PROJECT_NAME} PRIVATE nanovg::nanovg)

src/main.cpp

https://raw.githubusercontent.com/mitsuba-renderer/nanogui/5555031/src/example2.cpp

shell

$ [path]/vcpkg install nanogui
$ mkdir build && cd $_
$ cmake .. -DCMAKE_TOOLCHAIN_FILE=[path]/vcpkg/scripts/buildsystems/vcpkg.cmake
$ cmake --build .
fatal error: 'nanogui/nanogui.h' file not found
#include <nanogui/nanogui.h>
         ^~~~~~~~~~~~~~~~~~~

PS: Working my way through all the UI frameworks vcpkg supports [grep -F 'ui'], so far only sfgui works on its example source without error

Metadata

Metadata

Assignees

Labels

category:port-bugThe issue is with a library, which is something the port should already supportcategory:port-updateThe issue is with a library, which is requesting update new revision

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions