All of lore.kernel.org
 help / color / mirror / Atom feed
* Cross compilation - Could not find lua libs
@ 2016-06-08 14:30 Jean-Fabien Arnaud
  2016-06-09  7:36 ` Klauer, Daniel
  2016-06-16  3:05 ` Khem Raj
  0 siblings, 2 replies; 3+ messages in thread
From: Jean-Fabien Arnaud @ 2016-06-08 14:30 UTC (permalink / raw)
  To: poky@yoctoproject.org

[-- Attachment #1: Type: text/plain, Size: 1813 bytes --]

Hello
I would like to compile https://github.com/sbernard31/lualwm2m with a poky toolchain, but it can not find lua library and i do not know why.
Lua 5.1 is installed, and I have no problem to compile with the « default » gcc.

$:~/build_arm$ cmake -DCMAKE_C_COMPILER=/opt/poky/1.6.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc ../lualwm2m/
-- The C compiler identification is GNU 4.8.2
-- Check for working C compiler: /opt/poky/1.6.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc
-- Check for working C compiler: /opt/poky/1.6.1/sysroots/x86_64-pokysdk-linux/usr/bin/arm-poky-linux-gnueabi/arm-poky-linux-gnueabi-gcc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
  Could NOT find Lua51 (missing: LUA_LIBRARIES) (found version "5.1.5")
Call Stack (most recent call first):
  /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-2.8/Modules/FindLua51.cmake:76 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  CMakeLists.txt:3 (find_package)

$:~/build_arm$ cmake ../lualwm2m/
-- The C compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found Lua51: /usr/lib/x86_64-linux-gnu/liblua5.1.so;/usr/lib/x86_64-linux-gnu/libm.so (found version "5.1.5")
-- Configuring done
-- Generating done
-- Build files have been written to: /home/jf/build_arm

I hope i am publishing on the good ML, if anybody can tell me what am I doing wrong ?

Thank you
Jean Fabien

[-- Attachment #2: Type: text/html, Size: 6373 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-06-16  3:05 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-08 14:30 Cross compilation - Could not find lua libs Jean-Fabien Arnaud
2016-06-09  7:36 ` Klauer, Daniel
2016-06-16  3:05 ` Khem Raj

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.