First I use CMake with this folder
https://gyazo.com/243d42229e024bf7a24af447905383f5 (already built) and then I build it with VS and copy the dependencies to cegui folder, I don't know what is wrong with this method... I just downloaded all dependencies from CEGUI website and it gives me these errors. And I don't know what have I to do with CMAKE_PREFIX_PATH that maybe is which is causing error or something... I found something like this but it's correct (I think)
Code: Select all
if ((WIN32 OR APPLE) AND NOT CMAKE_PREFIX_PATH)
set (CMAKE_PREFIX_PATH "${CMAKE_SOURCE_DIR}/dependencies" CACHE PATH "Path to dependencies")
# prefer the dylib deps in the dependencies over some other framework
set (CMAKE_FIND_FRAMEWORK LAST)
endif()
and
Code: Select all
//Path to dependencies
CMAKE_PREFIX_PATH:PATH=C:/Users/Tony/Desktop/CEGUI/cegui-0.8.2/dependencies
and this in CMake
![Image](https://i.gyazo.com/faabcb9fa7866d062b52db9b3177b372.png)
One question, why CEGUI and other distributors don't share the .dll and .lib already? I don't get it, I heard something but I'm still confused about it...