在編譯階段..即cmake部分,我得到這個錯誤,我無法解決 僅供參考:玩家和階段是最新版本。如何在編譯階段解決cmake錯誤
-- Stage version 3.2.2
-- Operating system is Linux
-- Build type RELEASE
-- Checking for libtool
-- Checking for required libraries...
-- * FLTK version 1.3.0 detected via /usr/bin/fltk-config
-- Checking for optional libraries...
-- * Player version 3.0.2 detected at /usr/local
-- checking for one of the modules 'websim'
* WebSim not detected.
-- Installation path CMAKE_INSTALL_PREFIX=/usr/local
-- Configuring libstage
-- Configuring libstageplugin
CMake Error: The following variables are used in this project, but they are set to NOTFOUND.
Please set them or make sure they are set and tested correctly in the CMake files:
LTDL_INCLUDE_DIR
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/libstage
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/examples
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/examples/ctrl
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/assets
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/worlds
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/worlds/benchmark
used as include directory in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/libstageplugin
LTDL_LIB
linked by target "stage" in directory /home/ravi/Desktop/AI/Stage-3.2.2-Source/libstage
-- Configuring incomplete, errors occurred!