LINUX.ORG.RU

сборка ubus, libubox средствами cmake

 , ,


0

1

Всем привет!

Debian 9

Пытаюсь собрать либы для ubus и libubox. Все исходники качнул с openWRT, в составе которых есть дэфолтные CMakeLists.txt.

Поставил Lua 5.3. Папка ubus лежит в ворркспэйсе, рядом libubox.

Скажу сразу, что cmake я раньше не использовал.

cmake выдаёт ошибку CMake Error: The following variables are used in this project, but they are set to NOTFOUND.

Буду благодарен за любую помощь.

root@debian:~/workspace_codeBlocks/ubus# cmake .

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:

blob_library

 linked by target "ubusd" in directory/root/workspace_codeBlocks/ubus

 linked by target "cli" in directory /root/workspace_codeBlocks/ubus

 linked by target "server" in directory /root/workspace_codeBlocks/ubus/examples

json

 linked by target "ubusd" in directory /root/workspace_codeBlocks/ubus

 linked by target "cli" in directory /root/workspace_codeBlocks/ubus

 linked by target "server" in directory /root/workspace_codeBlocks/ubus/examples

ubox_include_dir

 used as include directory in directory 
/root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory 
/root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus

 used as include directory in directory /root/workspace_codeBlocks/ubus/lua

 used as include directory in directory 
/root/workspace_codeBlocks/ubus/lua

 used as include directory in directory /root/workspace_codeBlocks/ubus/lua

 used as include directory in directory /root/workspace_codeBlocks/ubus/lua

 used as include directory in directory /root/workspace_codeBlocks/ubus/lua

 used as include directory in directory /root/workspace_codeBlocks/ubus/lua

 used as include directory in directory /root/workspace_codeBlocks/ubus/lua

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples

 used as include directory in directory /root/workspace_codeBlocks/ubus/examples
ubox_library

 linked by target "ubus" in directory /root/workspace_codeBlocks/ubus

 linked by target "ubusd" in directory /root/workspace_codeBlocks/ubus

 linked by target "cli" in directory /root/workspace_codeBlocks/ubus

 linked by target "server" in directory /root/workspace_codeBlocks/ubus/examples

 linked by target "client" in directory /root/workspace_codeBlocks/ubus/examples

-- Configuring incomplete, errors occurred!

See also "/root/workspace_codeBlocks/ubus/CMakeFiles/CMakeOutput.log".


Последнее исправление: Drakonoff (всего исправлений: 4)

CODE
O  D
D  O
EDOC
anonymous
()

У меня как-то тоже возникала проблема, когда cmake не говорил, что конкретно было NOTFOUND, и из-за чего ошибка обкурена. Но за всю практику, так было только 1 раз.

В файле CMakeFiles.txt поищи NOTFOUND. Может выдать как опциональные зависимости (для которых NOTFOUND это нормально), так и обязательные.

ZenitharChampion ★★★★★
()
Ответ на: комментарий от Vsevolod-linuxoid

Столько специалистов по тегу code и не одного по openwrt...

Drakonoff
() автор топика
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.