You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to #include headers under the following path: /usr/include/guile/2.0, I received the following error:
libguile.2.0.h not found in:
./
/usr/lib/gcc/x86_64-linux-gnu/5/include/
/usr/local/include/
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/
/usr/include/x86_64-linux-gnu/
/usr/include/
/usr/lib/gcc/x86_64-linux-gnu/5/include/
/usr/local/include/
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/
/usr/include/x86_64-linux-gnu/
/usr/include/
at
stack traceback:
/usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:61: infunction'search_header_file'
/usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:67: infunction'compileFile'
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:828: infunction'processLine'
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:817: infunction'_doWork'
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:824: infunction</usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:824>
stack traceback:
[C]: infunction'(for generator)' /usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:1538: in function 'compile' /usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:290: in function 'parse' /usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:310: in function 'cdef' stdin:1: in main chunk [C]: at 0x00404790
This was fixed by explicitly including the path i.e. ffi.cdef("#include <guile/2.0/libguile.h>"), however, this gives the following error:
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:1538: /usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:1538: /usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:61: libguile/__scm.h not found in:
./
/usr/lib/gcc/x86_64-linux-gnu/5/include/
/usr/local/include/
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/
/usr/include/x86_64-linux-gnu/
/usr/include/
/usr/lib/gcc/x86_64-linux-gnu/5/include/
/usr/local/include/
/usr/lib/gcc/x86_64-linux-gnu/5/include-fixed/
/usr/include/x86_64-linux-gnu/
/usr/include/
at
stack traceback:
/usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:61: infunction'search_header_file'
/usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:67: infunction'compileFile'
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:828: infunction'processLine'
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:817: infunction'_doWork'
/usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:824: infunction</usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:824>
stack traceback:
[C]: infunction'(for generator)' /usr/local/share/luajit-2.1.0-beta1/ffiex/lcpp.lua:1538: in function 'compile' /usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:290: in function 'parse' /usr/local/share/luajit-2.1.0-beta1/ffiex/init.lua:310: in function 'cdef' stdin:1: in mhttps://www.gnu.org/software/guile/docs/guile-tut/tutorial.htmlain chunk [C]: at 0x00404790
When I tried to
#include
headers under the following path:/usr/include/guile/2.0
, I received the following error:This was fixed by explicitly including the path i.e.
ffi.cdef("#include <guile/2.0/libguile.h>")
, however, this gives the following error:__scm.h
is a header linked in thelibguile.h
header file. Reference: https://www.gnu.org/software/guile/docs/guile-tut/tutorial.htmlThe text was updated successfully, but these errors were encountered: