hugoam / kiui

Auto-layout Ui library, lightweight, skinnable and system agnostic, with an OpenGL backend
zlib License
749 stars 71 forks source link

unable to build with cmake #40

Open kulebril opened 6 years ago

kulebril commented 6 years ago

cmake shows error "CMake Error at sub/toyobj/src/CMakeLists.txt:38 (set_target_properties): set_target_properties Can not find target to add properties to: toyobj

[...] CMake Error at src/CMakeLists.txt:66 (message): MSVC has no support for Dirent API, please include the header manually. See: http://www.softagalleria.net/dirent.php"

The last one, I can manually add the path to visual studio, (but it would be better included in the desktop git relation so it fetches it with the others). Anyway the solution ends badly formed as the emscripten is missing and the nvgl is not properly setup. I'm unable to build this project on Visual Studio 2015.

Any idea? Do fetch->cmake->compile work for you guys?