Hi, I want to build SimpleITK manually with the installed ITK5.0 on my device. I have installed lua5.1 by compiling the source by using the following commands:
$ cd lua-5.1 $ mkdir lua_build $ cd lua_build $ make linux test $ sudo make install
However, once I am running cmake …/SimpleITK, I am getting this error:
CMake Error at CMake/sitkGenerateFilterSource.cmake:51 (message):
Lua version 5.1 is required for SimpleITK_LUA_EXECUTABLE_VERSION.
Call Stack (most recent call first):
How can I get rid of this error even I have installed the required version of lua?
Some users have suggested to build SimpleITK by using the Superbuild, however, I have already installed required packages for SimpleITK (as mentioned in this link: https://simpleitk.readthedocs.io/en/master/Documentation/docs/source/building.html#building-simpleitk)