fjolnir / GLMath

Simple math toolkit for use in computer graphics
14 stars 3 forks source link

luajit binding not working #2

Open MorsMortium opened 5 years ago

MorsMortium commented 5 years ago

I tried requiring the package like so: local glm = require "glmath" Luajit gave me an error: luajit: ./glmath.lua:174: luajit: undefined symbol: _mat4_create_translation stack traceback: [C]: in function '__index' ./glmath.lua:174: in main chunk [C]: in function 'require' ...orsmortium/Desktop/program/resources/modules/aaaaaaa.lua:1: in main chunk [C]: at 0x55886e43b1d0 The glm package is installed: morsmortium@morsmortium:~$ sudo apt install libglm-dev Reading package lists... Done Building dependency tree
Reading state information... Done libglm-dev is already the newest version (0.9.9~a2-2). 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

fjolnir commented 5 years ago

The app running the code needs to be linked against glmath.

libglm is not related to glmath