AndreiRudenko / linc_luajit

Haxe/hxcpp @:native bindings for LuaJIT.
Other
49 stars 65 forks source link

Building through lime on linux fails #7

Closed Kade-github closed 3 years ago

Kade-github commented 3 years ago

No idea if i'm doing this wrong but I've been stuck on this for a while now.

When using lime test linux -verbose everything compiles and works just fine except the linking, which fails with this: image

even though when testing the path it actually DOES exist

Not sure if this is me being stupid or an issue on this lib that's smth weird with lime.

Also, this only happens on mac/linux, windows builds fine and work perfectly.

Edit: The only way I've gotten this to work on lime, is to put these in the project.xml btw:

    <haxedef name="NO_PRECOMPILED_HEADERS" />
    <haxedef name="LINC_LUA_RELATIVE_DYNAMIC_LIB"/>
AndreiRudenko commented 3 years ago

Hey, sorry for late reply. I'm not familiar with linux platform, and *.so files also not from me. I will take a look when will setup my linux system. Sorry

Kade-github commented 3 years ago

Hey, sorry for late reply. I'm not familiar with linux platform, and *.so files also not from me. I will take a look when will setup my linux system. Sorry

No worries, thanks for the reply.

Kade-github commented 3 years ago

Hey, sorry for late reply. I'm not familiar with linux platform, and *.so files also not from me. I will take a look when will setup my linux system. Sorry

Any update?

Kade-github commented 3 years ago

sorry i'm 2 days late on our anniversary

AndreiRudenko commented 3 years ago

Hey, looks like you need to specify paths, and *.so files for luajit need to be compiled for linux. https://luajit.org/install.html

AndreiRudenko commented 3 years ago

Haven't installed Linux yet to test it :( Please test it if you can, thank you

AndreiRudenko commented 3 years ago

Also can you test sample project, without lime? It is in test folder

Kade-github commented 3 years ago

I'll get my test machine up hold on a bit.

Kade-github commented 3 years ago

Also can you test sample project, without lime? It is in test folder

Tried the test build, image

Same issue

Hey, looks like you need to specify paths, and *.so files for luajit need to be compiled for linux. https://luajit.org/install.html

How would I go about this?

Kade-github commented 3 years ago

hello, following back up on this?

AndreiRudenko commented 3 years ago

This can helps, still need compiled *.so file for x86 if you use this target

Kade-github commented 3 years ago

This can helps, still need compiled *.so file for x86 if you use this target

Yes this fixed the issue with it loading on lime, thanks :D