Xrysnow/LuaSTG-x

Portable linux version

Opened this issue · 6 comments

Have you succeed yourself compiling into a linux version ?
If yes, could you make a portable version and upload it in the mega archive ?

It seems that I cannot compile it on my GNU/Linux yet. Though I would really want one!

Repo author provides some dependecies pre-built. This is not the case however with OGGVorbis and openal.One can easily build it.

EDIT: you can add libzip to the list

TODO: why does repo author for some cases prefer prebuilts over source trees?

Repo author provides some dependecies pre-built. This is not the case however with OGGVorbis and openal.One can easily build it.

EDIT: you can add libzip to the list

TODO: why does repo author for some cases prefer prebuilts over source trees?

I tried following the official docs, and CMake is throwing up here:

CMake Error at CMakeLists.txt:58 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/cpp-empty-test" which
  is not an existing directory.


CMake Error at CMakeLists.txt:59 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/cpp-tests" which is
  not an existing directory.


CMake Error at CMakeLists.txt:62 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/lua-empty-test/project"
  which is not an existing directory.


CMake Error at CMakeLists.txt:63 (add_subdirectory):
  add_subdirectory given source
  "/home/lilywhite/LuaSTG-x/frameworks/cocos2d-x/tests/lua-tests/project"
  which is not an existing directory.

I'm on a Fedora 36 and I've installed all the equivalents of the dependencies.

@SlawekNowy

Xrysnow removed tests from his fork at commit Xrysnow/cocos2d-x@bf2dbe1 , but he didn't remove references to it. See https://github.com/Xrysnow/cocos2d-x/blob/348da560fd293fff759be4616e15bc05ead5391d/CMakeLists.txt#L57

Xrysnow removed tests from his fork at commit Xrysnow/cocos2d-x@bf2dbe1 , but he didn't remove references to it. See https://github.com/Xrysnow/cocos2d-x/blob/348da560fd293fff759be4616e15bc05ead5391d/CMakeLists.txt#L57

This CMakeLists.txt should never be used. Always use https://github.com/Xrysnow/LuaSTG-x/blob/master/CMakeLists.txt to build LuaSTG-x.

Yea LuaSTG-x's cmakelists uses select dirs from cocos. Do as he said.